No project description provided
Project description
Python wrappers for Ordinals
This project provides Python wrappers for ord internals.
The project is very much WIP. Currently, only wrappers for structs and functions related to Runes are provided.
The philosophy is to wrap ord
internal structs as thinly as possible inside pyo3-compatible Rust, and to
provide sane methods on top of them to enable use in Python.
At the time of writing, patching ord
is necessary to expose certain structs and functions that are not exposed
in the public api of ord
. Make targets patch-ord
and update-and-patch-ord
are provided for this.
Development
# python3.10 needs to be in PATH
make init-submodules
make patch-ord
make develop # creates a venv and installs `pyord` inside it
make test # test using pytest
Building wheels
make build
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
Built Distributions
File details
Details for the file pyord-0.1.0.tar.gz
.
File metadata
- Download URL: pyord-0.1.0.tar.gz
- Upload date:
- Size: 4.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 209129a5cc74d408c330cfbdb1bd298ec012149ac05d1334a97710e2c48450a2 |
|
MD5 | c1068df346d4c6271215bda41bc1249a |
|
BLAKE2b-256 | 0cdded8072995be372b142bef20195bd983618e9169b9fb0000fbde65567b0a3 |
File details
Details for the file pyord-0.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: pyord-0.1.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7753f88d828dd52eea029d07096a48b2bcf8f7ea2d341440fda0c5afbc76d63 |
|
MD5 | f797f370490e876266a65a9c636984c5 |
|
BLAKE2b-256 | 5680b7417e0391c55a3b7729a8635cc9e564f509f7a10d55141c1cf197f03ea4 |
File details
Details for the file pyord-0.1.0-cp38-abi3-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: pyord-0.1.0-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ee02f417ed45d0abedbca9770a70934c5de7e6c9ef7febe11aae116e3bdb245 |
|
MD5 | 319b8069a15cd4796a474a673de11e28 |
|
BLAKE2b-256 | 3f1df239320c7e85b5ee41b51aa58e02b95a27ed255c36c733059254faa365b4 |