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
cffipytest(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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a44f7597a79e4b01558a10dd8dc64c7db189c6f31c2a9c75c61598949effb67
|
|
| MD5 |
157476905176a767641ca29c2216c6e4
|
|
| BLAKE2b-256 |
0eebbb9a880e191fadd9bf701e1ad03ea24d65ea106e58712b2a7d2dab78898e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51e1522ee14df02dfc15c655dedf7d1f9d977e56a72d50ec35b070ff7b782ac1
|
|
| MD5 |
03ae937ef0e8b206f6b5558322dcf242
|
|
| BLAKE2b-256 |
9fe424c0bdf9f7398d7ce880f3d32ed313390b4480bd8d5bd8d4e93a0dfd81a3
|