Dump pictures metadata into a MongoDB database for statistics purposes
Project description
exif-database
Dump pictures metadata into a MongoDB database for statistics purpose
How does it work?
This script works by scanning all files in given directory and then serialize the EXIF metadata to push them into a MongoDB instances.
Installation
This package is available on PyPi. You can install it using pip.
$ pip install exif-database
Configuration
No configuration is needed. You only need to set up a MongoDB server with a dedicated collection and user in order for the script to save the data.
Note: A docker compose file is provided with this repository but is only used to set up a dev environment easily.
Executing the script(s)
This package provides two binaries:
exif-database
This is the main binary, the one used to parse the EXIF and send them to MongoDB.
$ MONGO_URI=mongodb://user:pass@server/db python3 -m exif_database <path to images dir>
exif-database.exiftool
This tool parse EXIF metadata of given file and output them to stdout.
$ python3 -m exif_database.exiftool <path to image file>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file exif_database-0.1.1.tar.gz.
File metadata
- Download URL: exif_database-0.1.1.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23d0b410874f8b413492fda8b151015d0d5db714d5869b5e187f24069723f20d
|
|
| MD5 |
2b01ff7264b6e5ce60bb54c8ce4c8136
|
|
| BLAKE2b-256 |
55435fe3466cd5f3a550c7af46579d486d41c5200b6557cf451946f0ddf20c53
|
File details
Details for the file exif_database-0.1.1-py3-none-any.whl.
File metadata
- Download URL: exif_database-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99b861962fbeb038f9535467d529706c7248b24c20e0f8eba389de47be00010c
|
|
| MD5 |
d2301b773136daa8d08988425fd8b9e8
|
|
| BLAKE2b-256 |
08d5223604c4ea66b0094f2fd777e17a3a20e1c8397d710222067c49d6a60c78
|