Skip to main content

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.

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>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exif_database-0.1.1.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exif_database-0.1.1-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

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

Hashes for exif_database-0.1.1.tar.gz
Algorithm Hash digest
SHA256 23d0b410874f8b413492fda8b151015d0d5db714d5869b5e187f24069723f20d
MD5 2b01ff7264b6e5ce60bb54c8ce4c8136
BLAKE2b-256 55435fe3466cd5f3a550c7af46579d486d41c5200b6557cf451946f0ddf20c53

See more details on using hashes here.

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

Hashes for exif_database-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99b861962fbeb038f9535467d529706c7248b24c20e0f8eba389de47be00010c
MD5 d2301b773136daa8d08988425fd8b9e8
BLAKE2b-256 08d5223604c4ea66b0094f2fd777e17a3a20e1c8397d710222067c49d6a60c78

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page