Build a rust extension using PyO3 using tox
An extremely basic plugin that builds Rust extensions within tox virtualenvs.
Features
Runs maturin develop
Requirements
maturin must be installed somewhere in your system
A rust compiler
Installation
You can install “tox-pyo3” via pip from PyPI:
$ pip install tox-pyo3
Usage
When you set pyo3=true in your testenv this plugin automatically detects if Cargo.toml is present and if so, it will compile the extension
Example:
`ini [testenv] pyo3 = True `
Contributing
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the BSD-3 license, “tox-pyo3” is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Metadata
Release files for tox-pyo3 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tox-pyo3-1.0.0.tar.gz | 4.1 kB | Without provenance | Details for tox-pyo3-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tox_pyo3-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for tox_pyo3-1.0.0-py2.py3-none-any.whl |
Total release size: 8.3 kB
Release files / tox-pyo3-1.0.0.tar.gz
| Download URL | tox-pyo3-1.0.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4dff480f281944f45f765aebbfb7790ed0f0e677c3e1c022c026e352f7ceb9bd
|
|
BLAKE2b-256 checksum How to use checksums |
d93bc7e556466a18d6edd91f870eea12a9ccafbcfb395c2bdec37cd952a4a22d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.1
|
Release files / tox_pyo3-1.0.0-py2.py3-none-any.whl
| Download URL | tox_pyo3-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
7e4d4f898aec940d797134ed2693234e5dc4691c862454a5505d6a87089c4de9
|
|
BLAKE2b-256 checksum How to use checksums |
4cbfab0ea752d13c575715ef94cf141e361e9927b8745b4bbba625fa075b0716
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.1
|
Security for tox-pyo3 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.