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 details)

Uploaded Source

Built Distribution

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

irmin-0.3.3-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file irmin-0.3.3.tar.gz.

File metadata

  • Download URL: irmin-0.3.3.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/5.13.0-35-generic

File hashes

Hashes for irmin-0.3.3.tar.gz
Algorithm Hash digest
SHA256 7a44f7597a79e4b01558a10dd8dc64c7db189c6f31c2a9c75c61598949effb67
MD5 157476905176a767641ca29c2216c6e4
BLAKE2b-256 0eebbb9a880e191fadd9bf701e1ad03ea24d65ea106e58712b2a7d2dab78898e

See more details on using hashes here.

File details

Details for the file irmin-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: irmin-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/5.13.0-35-generic

File hashes

Hashes for irmin-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 51e1522ee14df02dfc15c655dedf7d1f9d977e56a72d50ec35b070ff7b782ac1
MD5 03ae937ef0e8b206f6b5558322dcf242
BLAKE2b-256 9fe424c0bdf9f7398d7ce880f3d32ed313390b4480bd8d5bd8d4e93a0dfd81a3

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