Python bindings for the DiffSol library for PyBOP
Development
Getting started
You will need to have maturin installed to build the bindings. You can install it in a virtual environment like this:
python3 -m venv env
source env/bin/activate
pip install maturin
You will also need to have LLVM installed. On Ubuntu, you can install it with:
sudo apt install llvm-dev
Make a note of the directory where LLVM is installed as well as the version number, as you will need to pass it to maturin when building the bindings.
Building the bindings
To build the bindings, run the following command in the root directory of the project, replacing the llvm directory and version number with the ones you noted earlier:
LLVM_DIR=/usr/lib/llvm-17 LLVM_SYS_170_PREFIX=/usr/lib/llvm-17 maturin develop --features diffsol-llvm17
Building a wheel
To build a wheel, you can use the following command:
LLVM_DIR=/usr/lib/llvm-17 LLVM_SYS_170_PREFIX=/usr/lib/llvm-17 maturin build --release --out dist --features diffsol-llvm17
Or via pip:
MATURIN_PEP517_ARGS="--features diffsol-llvm17" pip wheel .
Metadata
Release files for pybop-diffsol 0.1.2
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 |
|---|---|---|---|---|
| pybop_diffsol-0.1.2.tar.gz | 28.6 kB | Without provenance | Details for pybop_diffsol-0.1.2.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pybop_diffsol-0.1.2-cp38-abi3-win_amd64.whl | CPython 3.8 | abi3 | Windows x86-64 | Details for pybop_diffsol-0.1.2-cp38-abi3-win_amd64.whl |
| pybop_diffsol-0.1.2-cp38-abi3-manylinux_2_28_x86_64.whl | CPython 3.8 | abi3 | Linux glibc 2.28+ x86-64 | Details for pybop_diffsol-0.1.2-cp38-abi3-manylinux_2_28_x86_64.whl |
Total release size: 42.8 MB
Release files / pybop_diffsol-0.1.2.tar.gz
| Download URL | pybop_diffsol-0.1.2.tar.gz |
|---|---|
| Size | 28.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3387bde84184bbdd954daf04f57ffa1467328a21d45a5dc7f789c05e8c969c00
|
|
BLAKE2b-256 checksum How to use checksums |
7a78d5ad3a13d6f2c4eae7474a7c4c9b05bbc1f8ddade39c2cdeb9d752aee415
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.9.1
|
Release files / pybop_diffsol-0.1.2-cp38-abi3-win_amd64.whl
| Download URL | pybop_diffsol-0.1.2-cp38-abi3-win_amd64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | CPython 3.8 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
1f28686f19f9c6d5a050f892e7dece50116aec0243d824073432702f8ffb070b
|
|
BLAKE2b-256 checksum How to use checksums |
fe17f0d503a9336b18fd4db37541d97e7796ec48b80e65812bb80ddd3337fba7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.9.1
|
Release files / pybop_diffsol-0.1.2-cp38-abi3-manylinux_2_28_x86_64.whl
| Download URL | pybop_diffsol-0.1.2-cp38-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 40.6 MB |
| Tags | CPython 3.8 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
2776d6c304d9389889f9bbaf9f1dc206dd77fe87a75174aff12ffee265150b61
|
|
BLAKE2b-256 checksum How to use checksums |
7522a95ecb472ea142408e23fea1828126bf62caf59cdaf646c50ede02365f2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.9.1
|
Security for pybop-diffsol 0.1.2
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.