Releases: thaikolja/python-shutter-counter
Releases · thaikolja/python-shutter-counter
v1.2.0
Code Structure Refactoring
- Split functionality into separate modules:
shutter_counter/counter.py: Core EXIF parsing logicshutter_counter/cli.py: Command-line interfaceshutter_counter/__init__.py: Package exports
- Removed redundant
main.pyfile - Enhanced
ShutterCounterclass with better error handling and typing
Documentation Improvements
- Added dynamic badges to
README.md(pipeline status, coverage, PyPI version, Python version) - Improved documentation with better examples and clearer explanations
- Updated installation and usage instructions
Code Quality
- Fixed all linting issues identified by ruff
- Combined nested with statements in tests for better readability
- Added proper exception chaining (from
e) where missing - Cleaned up unused imports
- Updated type annotations to use
Union |syntax
Git Configuration
- Cleaned up
.gitignorefile by removing duplicate entries and unnecessary patterns - Streamlined ignore patterns for better maintainability
Testing
- All 27 tests pass successfully
- Improved test structure with better context management
- Verified CLI functionality works correctly
CI/CD
- Updated
.gitlab-ci.ymlwith proper stages and Docker images - Added coverage reporting configuration
Full Changelog: v1.1.0...v1.2.0
v1.0.0
v1.0.0 (2024-07-28)
- Improved release of the Shutter Counter script.
- Supports Nikon D850, D810, and D800 camera models.
- Can output the shutter count as an integer or a string.
All changes: v0.0.1...v1.0.0