Ajout README.md et licence MIT-0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-10 16:36:41 +01:00
parent 87842d296f
commit e4cd933791
3 changed files with 62 additions and 1 deletions

18
LICENSE Normal file
View File

@@ -0,0 +1,18 @@
MIT No Attribution
Copyright (c) 2025 Antoine
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

43
README.md Normal file
View File

@@ -0,0 +1,43 @@
# json-to-metadata
Script Python pour écrire les métadonnées EXIF dans des photos argentiques numérisées, à partir d'un fichier JSON généré par [Exif Notes](https://github.com/tommi1hirvonen/ExifNotes).
## Prérequis
- Python 3.11+
- [exiftool](https://exiftool.org/)
## Installation
```bash
git clone <repo>
cd json-to-metadata
python -m venv venv
source venv/bin/activate
pip install -e .
```
## Utilisation
```bash
python -m json_to_metadata roll.json -d ./images
```
### Options
| Option | Description |
|--------|-------------|
| `-d, --directory` | Répertoire des images (défaut : même que le JSON) |
| `-v, --verbose` | Mode verbeux |
| `--dry-run` | Affiche les actions sans les exécuter |
| `--force-xmp` | Force la création de fichiers XMP sidecar |
| `--set-file-date` | Modifie la date des fichiers selon la prise de vue |
## Formats supportés
- **EXIF intégré** : TIFF, JPEG
- **XMP sidecar** : AVIF, HEIC, WebP, autres formats
## Licence
[MIT-0](LICENSE)

View File

@@ -8,7 +8,7 @@ version = "0.1.0"
description = "Script de gestion des métadonnées EXIF pour photos argentiques"
readme = "README.md"
requires-python = ">=3.11"
license = {text = "MIT"}
license = {text = "MIT-0"}
authors = [
{name = "Antoine"}
]