Skip to main content

No project description provided

Project description

Installing

Install using Pip.

pip install pyparaspace

See the file testPyParaspace.py for example usage.

Building locally

Requirements: Rust, Cargo, Clang/LLVM/LibClang, CMake.

  • Create a virtual environment
python3 -m venv env
source env/bin/activate
  • Install maturin
pip install maturin
  • Build package
maturin develop

Building and releasing

This section is intended for package maintainers. The pyparaspace package is released on PyPi with Python wheel packages that make it convenient to use paraspace without needing to set up Rust and C++ compilers and tools. Through the z3-sys package's static link option, we get the whole planner, including the Z3 solver, copmiled

Windows and Manylinux platforms are currently supported.

Windows

If building and installing the local package works, then using maturin build --release should also correctly build a wheel package, which can be uploaded to PyPi using maturin publish.

Manylinux

paraspace requires an Rust version 1.60 and Clang version 3.5 (to compile the Z3 solver), which makes it requires a bit of setup to correcly build the manylinux wheel. There is a Dockerfile available that can be used to build a Docker image with an up-to-date Rust version and version 7 of the LLVM/Clang toolchain.

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

pyparaspace-0.1.1.tar.gz (14.5 MB view details)

Uploaded Source

Built Distributions

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

pyparaspace-0.1.1-cp310-none-win_amd64.whl (6.1 MB view details)

Uploaded CPython 3.10Windows x86-64

pyparaspace-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

Details for the file pyparaspace-0.1.1.tar.gz.

File metadata

  • Download URL: pyparaspace-0.1.1.tar.gz
  • Upload date:
  • Size: 14.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.0.1

File hashes

Hashes for pyparaspace-0.1.1.tar.gz
Algorithm Hash digest
SHA256 103d3a3bdbdad54f6466d658a217e22e08a17ae72b12d140868ae6ea7d4a263f
MD5 f5f88021e6f2271637aab65ec2795d81
BLAKE2b-256 9b2070569bdb44fc1959a3c61b92167d8ca53bde67a2a76a0b08e9900a5ed51f

See more details on using hashes here.

File details

Details for the file pyparaspace-0.1.1-cp310-none-win_amd64.whl.

File metadata

File hashes

Hashes for pyparaspace-0.1.1-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 3a8bd4d333e92e01a4aa7437dff37e4f8b47295a6bcdf5c1efb6b7ce6a20ed8b
MD5 74cb631fd214528f2c70f7ec7cca12b4
BLAKE2b-256 b70dfc0831d3b43f8b007eeee22d5cf2e1e4dba55bc0c9de35cac121adc1f584

See more details on using hashes here.

File details

Details for the file pyparaspace-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyparaspace-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9aa45fdaa84bff381c6f7291df57bf1f4dc5047ac308e179bf68f61bbde78a0f
MD5 0ed1ec8926b6857eda16fcba655ab749
BLAKE2b-256 dc5691c5377e32bd5d949cb5af238af75fe9eb330a3832b0fb87bcb6f0cf85a9

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