No project description provided
Project description
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
Note on testing bindings: simply executing python3 tests/test.py
may fail for strange PYTHONPATH
-related reasons so use make test
or cd tests && python3 test.py
instead.
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.
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 Distributions
Hashes for stitch_core-0.1.15-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d6b4d4c1f98663d67a70c039196cc824fcd4c3a4c5e0d5fcd14be41e71a5672 |
|
MD5 | e7381e37aca29dab66283daacdbd5281 |
|
BLAKE2b-256 | 64bb34237f3ee7ff09d9782a2e62ee40f6b1aeef077600e450aa2592e1ab71ad |
Hashes for stitch_core-0.1.15-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 410e1d296f1d46e4d7139340027a8a99403b1f3993a3fec1e0b35bab5de54a87 |
|
MD5 | 802bff90f84e1eb4e65a174ef26a92b2 |
|
BLAKE2b-256 | 3905d881e334e682c30a715e3fd5fe9be56c2a7236512e1090c3b221efadf83e |
Hashes for stitch_core-0.1.15-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b512c0d8e5670edd13e088fa3d054c3f48286b3b6d5c2b304ed4769f61811296 |
|
MD5 | cbc107c6fb64811e4d9664760c83575f |
|
BLAKE2b-256 | 428cee0a300a80f96d491d35e5a133240e15000335fb03fee17ea6a22fcd1bd0 |
Hashes for stitch_core-0.1.15-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d955913ea17e7fa3d775c410182fa0c6204a38d9d79d70091bb560bb70242f |
|
MD5 | fd52c99221d001089278f437e5763238 |
|
BLAKE2b-256 | 4f57b9d24cf398ea72fad673773bb8602d40c4bef085025458c099c98da6f54e |
Hashes for stitch_core-0.1.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b135d0aee9b59e8339c7e0ff231bdfdb976b5d3e04fe9d9e6bec7d534414727 |
|
MD5 | d4cfd05dd8796122ac2d6626c6f0be6d |
|
BLAKE2b-256 | 45f5cdf44628e5d91d52bfe5bf9314f3fadb337790a4463a987cede4f396008c |
Hashes for stitch_core-0.1.15-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 700c71661fcaf32c0cadceb4d6b3e175a5ee94328fd6814e51e248c452949dbe |
|
MD5 | 23038231e2df5bf3dccde59402899a21 |
|
BLAKE2b-256 | 9cf3ac44207d181ddb62cb2327c3438c7073c496c54d705c26e3f8b8f2e74489 |
Hashes for stitch_core-0.1.15-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffefc0d7d8dcd03c28fc07ba9ca793c0f14d600456d2159743b617c575628246 |
|
MD5 | 3ea09f34889d0243fe3c7fbf615d1bb3 |
|
BLAKE2b-256 | 8bb922b094c7196eb24575b5d63335116c76e8eec475c8483cb69a3a262fee8f |
Hashes for stitch_core-0.1.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98afd0c0b0cff1115b4ab0d0f9c1579f75346b694179e0cca30331d14721dba5 |
|
MD5 | 436c8b2148bcf567ace0d663f312072a |
|
BLAKE2b-256 | f790033ed2080af7f24e3d4d318bf7925bc69065a363a4c3119e9930dce86f1f |
Hashes for stitch_core-0.1.15-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1c08e14fe599f3d3bb086827056e675ff0f7d8a11fc00a0e647ce2240b1d3a7 |
|
MD5 | 94f52b67e2dd4427c7e51e61b56e4190 |
|
BLAKE2b-256 | 04eb9509c3109f54c888807e372df88c1d6bc14d98d5075d9d74953dc10869aa |
Hashes for stitch_core-0.1.15-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d93419afd224c65aa8477d8795c0a4b58e8c1b81e844205acccbe15ceb872124 |
|
MD5 | feb849dcf115db7fb7e9f2c40584e881 |
|
BLAKE2b-256 | fd94a3c7e8de976016955bec1c557843dcb2f45eedfdc4a086e71edf72ea01a8 |
Hashes for stitch_core-0.1.15-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a19943b8f0051b6e1c667e768e6d8dcabdc350c01c2383e1f623acdf1e2e0bf3 |
|
MD5 | f02e691a65fcdbbf4ebe11614c1c574b |
|
BLAKE2b-256 | dab8c1bd7ed6ebbc90e5cc555397201a060f4c29415ba5d8bb94dea51ffc3af8 |
Hashes for stitch_core-0.1.15-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a134791b0951abbc5902ed41337ca0ed79816e9719a498a29089df2a660be9d0 |
|
MD5 | 56fb058060bfa80616f313ef8477c208 |
|
BLAKE2b-256 | f275ca1bafd2d2d0ebe1d278409b7391fdea59600789c97cb146d7dd31ebcf2a |
Hashes for stitch_core-0.1.15-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 028394d3612828da4c67f443c656442a1c4804d9e25789d005558b48537b93e8 |
|
MD5 | 98cc86933df03c07d9717e8b40e987d9 |
|
BLAKE2b-256 | 2cd458932045bd88c9296280a6b54ace7a019594a517e497c73deecdde22828c |
Hashes for stitch_core-0.1.15-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf1b130be933376c16a570c1cc778e41abf0952253c6fc0e6843253202b9f49e |
|
MD5 | b6b58a4e7181f6dffbfa53b8feffd2d8 |
|
BLAKE2b-256 | 4a5cd349a906539d92b8dc041569e3243322e42b1fe74d4fb7a793517d1475e8 |
Hashes for stitch_core-0.1.15-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 922298e38341d2ad889677bcc4a9aec9db40b509e22b4bae418a41047266bd9e |
|
MD5 | 554ecbbedb65a477f23e332982614dca |
|
BLAKE2b-256 | 2023f04142007ab8bb5b1cf382d27920fa05c9a42dcc0e589bc2342b25462bcc |
Hashes for stitch_core-0.1.15-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c028b3a58c3173953213f1c5fa0dcf78713f68e28a34f24020c130a920a1fb2 |
|
MD5 | 1fc1ce8de9ad9132f91128d857162982 |
|
BLAKE2b-256 | a220199c03ac35ff6795bcc2d8145cf5fa25f75b6c41f0c200820d197ddd9cd7 |
Hashes for stitch_core-0.1.15-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6f74fe12859e0e31c0d62f2d3454de25973151f985833cbaedf722b8b69f6b6 |
|
MD5 | 6280ebbea7e811164f63b4daf4bedc1b |
|
BLAKE2b-256 | 547f85afed8e65470be8f5e8683387688e6a39c93591c752e4725f5979c46deb |
Hashes for stitch_core-0.1.15-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79d00a25c09be380c9605dbf5b63e87317ba70c4cd78e10b4ff8b51939338cfe |
|
MD5 | f6b5e6a542c1f0e2bb0f984fb271ade3 |
|
BLAKE2b-256 | da09f4fb33a0a395455b0fefc0e8cd26d7b20e58afa6874b77b1f2a5e12f16c2 |