Skip to main content

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)

Source distribution for pybop-diffsol 0.1.2
File Size Uploaded
pybop_diffsol-0.1.2.tar.gz 28.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pybop-diffsol 0.1.2
File Interpreter ABI Platform
pybop_diffsol-0.1.2-cp38-abi3-win_amd64.whl CPython 3.8 abi3 Windows x86-64 Details
pybop_diffsol-0.1.2-cp38-abi3-manylinux_2_28_x86_64.whl CPython 3.8 abi3 Linux glibc 2.28+ x86-64 Details

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

Release history Release notifications | RSS feed

This release

0.1.2 This release

3 release files

0.1.1

4 release files

0.1.0

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page