Compare commits

...

2 commits
0.1.0 ... main

Author SHA1 Message Date
6ff3de842a Release 0.1.1
All checks were successful
CD / ci (push) Successful in 35s
CI / ci (push) Successful in 28s
2025-02-24 12:14:31 +01:00
10f0668d6a exiftool: correct json serialization
All checks were successful
CI / ci (push) Successful in 29s
Closes: #1
2025-02-24 12:13:19 +01:00
3 changed files with 9 additions and 3 deletions

View file

@ -2,6 +2,12 @@
## [Unreleased] ## [Unreleased]
## [0.1.1] - 24/02/2025
### New
- [#1] Add exiftool json output.
## [0.1.0] - 24/02/2025 ## [0.1.0] - 24/02/2025
- Initial release. - Initial release.

View file

@ -1,7 +1,7 @@
""" """
exif-database.exiftool: Python wrapper around exiftool(1) exif-database.exiftool: Python wrapper around exiftool(1)
""" """
import json
import subprocess import subprocess
import sys import sys
from datetime import datetime from datetime import datetime
@ -122,4 +122,4 @@ def execute_exiftool(img_file: str) -> dict:
if __name__ == '__main__': if __name__ == '__main__':
print(execute_exiftool(sys.argv[1])) print(json.dumps(execute_exiftool(sys.argv[1]), default=str))

View file

@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "exif-database" name = "exif-database"
version = "0.1.0" version = "0.1.1"
authors = [ authors = [
{ name = "Aloïs Micard", email = "alois@micard.lu" }, { name = "Aloïs Micard", email = "alois@micard.lu" },
] ]