Skip to main content

Irmin bindings for Python

Project description

irmin-py

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 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.1b0.tar.gz (10.1 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.1b0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file irmin-0.3.1b0.tar.gz.

File metadata

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

File hashes

Hashes for irmin-0.3.1b0.tar.gz
Algorithm Hash digest
SHA256 4bd283603363ebd01cb75e0f994d6087acaf2349fa18b26b7a477f8f997bc9b5
MD5 29272042dc50aa2682b2d7c9f0daf631
BLAKE2b-256 4870fdacf1c55a41f872510485a7b3bbf3e27ba7f61f38bed2118f2eff0ba08c

See more details on using hashes here.

File details

Details for the file irmin-0.3.1b0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for irmin-0.3.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 28ab675c40474b6f609f8f632478ecde1290939b82854f3856ad9a40c4e9242d
MD5 6be157bdb2fb4e314d5de6d550fb1bd3
BLAKE2b-256 8ddedc5fad6de921183b0877759d3388f9b025ad2bbb28a1d6efa1cad3fe749e

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