Skip to main content

Irmin bindings for Python

Project description

irmin-py

PyPI

irmin bindings for Python

This crate enables you to call directly into irmin from your Python application and can be used to open an existing irmin store from Python that may have been created by an application written in OCaml.

Dependencies

  • cffi
  • pytest (for testing)

Installation

After installing libirmin using opam, you can run:

$ pip3 install irmin --user

To install the development version:

$ pip3 install git+https://github.com/mirage/irmin-py.git --user

Or from the root of the project:

Using pip:

$ pip3 install . --user

Using poetry:

$ POETRY_VIRTUALENVS_CREATE=false poetry install

And the build script should be able to find the location of the libirmin library and header files.

If libirmin.so and irmin.h were not installed using opam and they're not in ~/.local or /usr/local, then you can specify where to look for them using the LIBIRMIN_PREFIX env variable.

Testing

Run the tests:

$ poetry run pytest

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

irmin-0.3.3.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

irmin-0.3.3-py3-none-any.whl (10.0 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