Skip to main content

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.

More information.

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>

Metadata

Release files for exif-database 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for exif-database 0.1.1
File Size Uploaded
exif_database-0.1.1.tar.gz 16.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for exif-database 0.1.1
File Interpreter ABI Platform
exif_database-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 33.0 kB

Release files / exif_database-0.1.1.tar.gz

Download URL exif_database-0.1.1.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
23d0b410874f8b413492fda8b151015d0d5db714d5869b5e187f24069723f20d
BLAKE2b-256 checksum
How to use checksums
55435fe3466cd5f3a550c7af46579d486d41c5200b6557cf451946f0ddf20c53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / exif_database-0.1.1-py3-none-any.whl

Download URL exif_database-0.1.1-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
99b861962fbeb038f9535467d529706c7248b24c20e0f8eba389de47be00010c
BLAKE2b-256 checksum
How to use checksums
08d5223604c4ea66b0094f2fd777e17a3a20e1c8397d710222067c49d6a60c78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page