Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
6ff3de842a | |||
10f0668d6a |
3 changed files with 9 additions and 3 deletions
|
@ -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.
|
|
@ -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))
|
||||||
|
|
|
@ -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" },
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue