Skip to main content

Library to access Digikam metadata

Project description

PyPi Package Documentation Status Test Status

Digikam-DB

Python library to access Digikam metadata (database)

Digikam is an image management application using KDE. For more information on Digikam, see https://www.digikam.org/.

Digikam-DB can read and write Digikam metadata. It works with both SQLite and MySQL databases.

Installation

For installation via PIP, simply type:

pip install Digikam-DB

If you are using a MySQL database, you may want to install the additional dependencies:

pip install Digikam-DB[mysql]

To get the source code, go to https://github.com/rcw-2/python-digikamdb.

Running the Tests

The MySQL tests need a MySQL database to run. The database must be specified in a module mysql_data somewhere in the Python path (e.g. in the same directory as this file, it will be ignored by Git) that defines the variables db_host, db_user, db_pass and db_name. The given user must have all privileges on the given database.

To fill the database, the mysql binary is called, so make sure to have mysql-client installed.

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

Digikam-DB-0.3.3.tar.gz (162.8 kB view hashes)

Uploaded Source

Built Distribution

Digikam_DB-0.3.3-py3-none-any.whl (39.7 kB view hashes)

Uploaded Python 3

Supported by

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