Stitch Bindings
This repo provides Python bindings to stitch compatible with python >= 3.7
See the Documentation for installation instructions and a tutorial.
Locally building the bindings
Adjust the rev value in Cargo.toml to the desired commit SHA:
stitch_core = { git = "https://github.com/mlb2251/stitch", rev = "058890ecc3c3137c5105d673979304edfb0ab333"}
To build, install, and test the bindings run:
make
which install the bindings for python3 by default. To use a specific interpreter pass it in like so:
make PYTHON=python3.10
Run make test or pytest tests.
Publishing the bindings to PyPI
Automated method
Increment the version number in Cargo.toml (if you don't do this, the new bindings will silently not upload), and then publish a new release. This will trigger a GitHub Action to build wheels on many common distributions of Windows / OS X / Linux and many versions of Python for each and upload them all to PyPI.
Manual method
To upload the bindings to PyPI, ensure that the version number in Cargo.toml is incremented (or you'll get an error when uploading), and run:
maturin publish
This will upload any wheels that were built during make, along with a more generic stitch_core-*.*.*.tar.gz archive from which can be used by any platform that doesn't have a pre-built wheel. This is worse than the automated GitHub Action method above in that the Action will upload wheels for many different Python versions and OS distributions, while the manual method will upload one wheel plus a source distribution that pip install stitch_core will have to manually build a wheel from (requiring build dependencies etc) on each target OS, which is generally slower and less convenient.
Metadata
Release files for stitch-core 0.1.29
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stitch_core-0.1.29.tar.gz | 488.9 kB | Details |
Built distributions (wheels)
Total release size: 12.9 MB
Release files / stitch_core-0.1.29.tar.gz
| Download URL | stitch_core-0.1.29.tar.gz |
|---|---|
| Size | 488.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
307a72bae661e39cd6fa400ac342d858a289ac67116d7eb5237fdae5642fab9e
|
|
BLAKE2b-256 checksum How to use checksums |
87d91973131e7149b8b8c7175a6987f241e73f47f2bee85d21d017f4e8b168c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|
Release files / stitch_core-0.1.29-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | stitch_core-0.1.29-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 950.2 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.11 PyPy 3.11 7.3 |
|
SHA-256 checksum How to use checksums |
8cdffe6112980a63be2555ad2b4a4c57fb133f5696afc38f6f53e38f745cf82c
|
|
BLAKE2b-256 checksum How to use checksums |
4de7f05279c7b469a9b1b22584e148c189af6e7fa40ad5267a6a529d0c13539e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|
Release files / stitch_core-0.1.29-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | stitch_core-0.1.29-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 949.7 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a37f1ff040637a52862bdadb86ebcf5a620962027465d7bfdaebced590faa1ec
|
|
BLAKE2b-256 checksum How to use checksums |
e7a5af1b1c59c310ad9b907aa3b3357016f2df74678536054b63c1723984c52b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|
Release files / stitch_core-0.1.29-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | stitch_core-0.1.29-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.13 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ae4ec12fd2483627b3377495fee4bc376b7ac26aefe1e07a8f863f844cc22975
|
|
BLAKE2b-256 checksum How to use checksums |
d64924924d132409fdd081bfb3958dba2b1172c6580dba0b64d840254d819921
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|
Release files / stitch_core-0.1.29-cp312-cp312-win_amd64.whl
| Download URL | stitch_core-0.1.29-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 700.7 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
dd623f2821cfef2b3acc95d99d4c0ecae8eac81069b8cb5e299d45a81982fc2b
|
|
BLAKE2b-256 checksum How to use checksums |
c8608ecce3339c20b8130a28f93dbc4c7f8881ba6d6ade8938d1ee4ded3a0032
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|
Release files / stitch_core-0.1.29-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | stitch_core-0.1.29-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 949.7 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
850d0f29acda59011e25acf3f05060eb51f3aff371a5307838ad53d12e8e8adf
|
|
BLAKE2b-256 checksum How to use checksums |
bb37c246585f7b7d42b83d2511147719db3753930e661f46fbd2c825152143a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|
Release files / stitch_core-0.1.29-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | stitch_core-0.1.29-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.12 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3a5949875cee452dd9b029f84b98753968048dd2783fbe1f5ba739da2e93684a
|
|
BLAKE2b-256 checksum How to use checksums |
64840fed4a0c0a80d30a8636f2352a0bed0f45fc0e68e6fc37a2c36e05ecb626
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|
Release files / stitch_core-0.1.29-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | stitch_core-0.1.29-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 950.3 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
18c4259827bed577b5b1a429fc394200aaa42d13014ee4c599839246a0dbc15f
|
|
BLAKE2b-256 checksum How to use checksums |
6fefe93c1bceee197e028802c9415a927750d1855f34d7ca03a89608548c0557
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|
Release files / stitch_core-0.1.29-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | stitch_core-0.1.29-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.11 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
78d69a82758464ff0102e209145a12c986c79a1eacd42d07205d986000a485d3
|
|
BLAKE2b-256 checksum How to use checksums |
ee8a0fad47181acec18dc9d4809d5889d030049a908cf9475b7b9fbe4dae9e69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|
Release files / stitch_core-0.1.29-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | stitch_core-0.1.29-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 950.3 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c80004ad3b484958234098c19486bec17b42bead3a3575bba8a275d3345437ec
|
|
BLAKE2b-256 checksum How to use checksums |
64a9fd80724460938dd3439274cf56acd31b59942ef7cf420680d2211eeecc0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|
Release files / stitch_core-0.1.29-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | stitch_core-0.1.29-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 950.2 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
4ebb6415fc7f94cfff6fb672ac02d21a3b7ba9a595bf0b0796475291ae964ef2
|
|
BLAKE2b-256 checksum How to use checksums |
01701aa364d0117eda552bee9225bedda62774a6cc40161c4f8edd7d2ddb73ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|
Release files / stitch_core-0.1.29-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | stitch_core-0.1.29-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 950.3 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
772dc43782b80ac9816ea5b8f3d87c73bafa98086eb203df7021d2aa3462a4a2
|
|
BLAKE2b-256 checksum How to use checksums |
7d800c5fb87b19d06882ff903321c466b51bafef51383df625b532fd1dab95b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.9.6
|