Skip to main content

No project description provided

Project description

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 .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pybop_diffsol-0.1.2.tar.gz (28.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pybop_diffsol-0.1.2-cp38-abi3-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.8+Windows x86-64

pybop_diffsol-0.1.2-cp38-abi3-manylinux_2_28_x86_64.whl (40.6 MB view details)

Uploaded CPython 3.8+manylinux: glibc 2.28+ x86-64

File details

Details for the file pybop_diffsol-0.1.2.tar.gz.

File metadata

  • Download URL: pybop_diffsol-0.1.2.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.9.1

File hashes

Hashes for pybop_diffsol-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3387bde84184bbdd954daf04f57ffa1467328a21d45a5dc7f789c05e8c969c00
MD5 2bb4e3a88886dc0373c67aedb50ba888
BLAKE2b-256 7a78d5ad3a13d6f2c4eae7474a7c4c9b05bbc1f8ddade39c2cdeb9d752aee415

See more details on using hashes here.

File details

Details for the file pybop_diffsol-0.1.2-cp38-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for pybop_diffsol-0.1.2-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1f28686f19f9c6d5a050f892e7dece50116aec0243d824073432702f8ffb070b
MD5 f5a5adb0fce694f82c477d5bd9b595d4
BLAKE2b-256 fe17f0d503a9336b18fd4db37541d97e7796ec48b80e65812bb80ddd3337fba7

See more details on using hashes here.

File details

Details for the file pybop_diffsol-0.1.2-cp38-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pybop_diffsol-0.1.2-cp38-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2776d6c304d9389889f9bbaf9f1dc206dd77fe87a75174aff12ffee265150b61
MD5 4140fcd410730c72adb238f663fa8470
BLAKE2b-256 7522a95ecb472ea142408e23fea1828126bf62caf59cdaf646c50ede02365f2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page