Skip to main content

Python interface for Dynamic Programming Description Language (DyPDL) and DyPDL solvers.

Project description

Actions Status PyPi version Python version crates.io minimum rustc 1.65 License License: MIT

DIDPPy -- Python Interface for DyPDL

DIDPPy is a Python interface for DyPDL, implemented in Rust with PyO3.

Docs

Quick Start

If you just want to use DIDPPy, install it from PyPI.

pip install didppy

There are some examples in examples.

Development

If you want to develop DIDPPy, clone this repository.

git clone https://github.com/domain-independent-dp/didp-rs
cd didp-rs/didppy

Create Python Environment

python3 -m venv .venv 
source .venv/bin/activate
pip install maturin

Build Development Version

maturin develop

didppy will be installed in .venv.

Run Test

cargo test --no-default-features
pytest

Build Documents

pip install -r docs/requirements.txt
sphinx-build docs docs/_build

Build Release Version

maturin build --release

This will create the Python wheel. Install the wheel in a Python environment you want to use (this should be different from .venv).

pip install --force-reinstall ../target/wheels/didppy-{x}.whl

{x} depends on your environment.

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

didppy-0.8.0.tar.gz (514.8 kB view details)

Uploaded Source

Built Distributions

didppy-0.8.0-cp37-abi3-win_amd64.whl (2.6 MB view details)

Uploaded CPython 3.7+ Windows x86-64

didppy-0.8.0-cp37-abi3-win32.whl (2.3 MB view details)

Uploaded CPython 3.7+ Windows x86

didppy-0.8.0-cp37-abi3-musllinux_1_2_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ x86-64

didppy-0.8.0-cp37-abi3-musllinux_1_2_i686.whl (3.3 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ i686

didppy-0.8.0-cp37-abi3-musllinux_1_2_armv7l.whl (3.4 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARMv7l

didppy-0.8.0-cp37-abi3-musllinux_1_2_aarch64.whl (3.2 MB view details)

Uploaded CPython 3.7+ musllinux: musl 1.2+ ARM64

didppy-0.8.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ x86-64

didppy-0.8.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (4.6 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ s390x

didppy-0.8.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (3.2 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64le

didppy-0.8.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (3.1 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ppc64

didppy-0.8.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (3.1 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARMv7l

didppy-0.8.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.9 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

didppy-0.8.0-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (3.2 MB view details)

Uploaded CPython 3.7+ manylinux: glibc 2.12+ i686

didppy-0.8.0-cp37-abi3-macosx_10_12_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.7+ macOS 10.12+ x86-64

didppy-0.8.0-cp37-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (5.1 MB view details)

Uploaded CPython 3.7+ macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64

File details

Details for the file didppy-0.8.0.tar.gz.

File metadata

  • Download URL: didppy-0.8.0.tar.gz
  • Upload date:
  • Size: 514.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.3

File hashes

Hashes for didppy-0.8.0.tar.gz
Algorithm Hash digest
SHA256 854b57a416a77544a1f598f43e418e3b5a88097d2eef68c6c57c7c08e4bfe12c
MD5 4e8fad786fbbf1d52decb111ee9b7f2a
BLAKE2b-256 f312a954de91f5353333b3e1d378b1b896190c3128896584a9a86fd781c99c01

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-win_amd64.whl.

File metadata

  • Download URL: didppy-0.8.0-cp37-abi3-win_amd64.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: CPython 3.7+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.3

File hashes

Hashes for didppy-0.8.0-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 861a91521499c4993d9913c3275d71c3592ff59a31c64e87d5c06240c5106cb8
MD5 dd2df123022bda8529ee5ea74d347ab2
BLAKE2b-256 3709cd047151e1fd5263e0cf39e1ef2eb78b506968f96742584fd5e7708e0d45

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-win32.whl.

File metadata

  • Download URL: didppy-0.8.0-cp37-abi3-win32.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.7+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.3

File hashes

Hashes for didppy-0.8.0-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 1fa3358a47049880ccae666f2746798f65046a42ba545b387168c8f1f763ce63
MD5 cea46638075b22cb7c9505b02f4a362a
BLAKE2b-256 18afe9584a48d1df2f3dbfaaad65b03dc55ca7951c8a4b203ce5b2dfcfbfb3e9

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for didppy-0.8.0-cp37-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 acc2594d0b8ef2c27603d09432ee38d9cfbffb99fa2a1cac7773b27598ace3fb
MD5 cd1aa96ce920d7c79c4ed2664538034a
BLAKE2b-256 51b020885c92fe2481f8809b0473df3a21f2cc8ce4faa5ebac07e46681ced92a

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for didppy-0.8.0-cp37-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 3a5a3b4923fa8c4702903f9b0c0e7e44c8ec883bc24710bc9f73b33f660eab6b
MD5 a1c48dc386c24a644e6cde6dfc294e72
BLAKE2b-256 80feb488e50f109a9a44baad921c9cd026eb57f166a98056cc8bf28ada018627

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for didppy-0.8.0-cp37-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 b39459d9093aa328788716425153a2a943678da0fa872e0c5e705cd2e22b10d8
MD5 011829d761807937b1baa4e94985eb3a
BLAKE2b-256 fa19166b31c29b9436fb3a5fbe0500c2f53e29a7ae212ea0b65e209cc571e988

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for didppy-0.8.0-cp37-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a76221b0848827ba93b055b697a70a513b9fb44f9c4c2fdfd61a52ab139e1879
MD5 bc583e795fb0a2cafbfb7a54a817b8e0
BLAKE2b-256 fb6dc0a6892cb97d3d293266e565a470536da7ec4520dc7726e51ba93328ef5a

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for didppy-0.8.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cd1e20f311aa988a577ea68a65ace4054e12323c02d838743cf5ef26c78c9bc5
MD5 be439434fd1f51a1bdb0c3e058789452
BLAKE2b-256 90011fc231e43121a8df029a09d20c170902e2c71afc6247797dec5d15c3a944

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for didppy-0.8.0-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 3a9fb30d048d45e4af9d97b91f6e4b35deea4c9dc80de8e93c2735d5de2fb4af
MD5 cfe510e8904bbad4fa6d9e1cfac8fe8b
BLAKE2b-256 82c3125041ed6b03829465147d1624424369130dcdf87261c554fdd07b67e018

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for didppy-0.8.0-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 d3942da17a011cb0c4c30b5631777488b3969a3fcfc6200e5d22b5935f7a0b4c
MD5 c2e4c9de6c326a4f900af000bf610a6c
BLAKE2b-256 f613b95f2f367ddd7be0576b241f871b3165f53f93d16f463e54e03067328034

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl.

File metadata

File hashes

Hashes for didppy-0.8.0-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 c70bb87fd1926caa2ea35428e5fb931942a5cb8fd8ea8c2d2b9decf57f166bec
MD5 e2be96600bd7672aa3a01c64f0abc597
BLAKE2b-256 1f4f4d30327003f7678660ec0b015e8f90417299f6ad76923b48af344373018e

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for didppy-0.8.0-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 898e30a19e1380e0818f93fc87f777ca83d210951b8808c4b4312371fc9409f9
MD5 e13f6e692b46dc1fc718d3dd64abeaff
BLAKE2b-256 0ebea531556c2ab1503d97b5cc943de0bbe2bdf392f4e6d08c2d02db1836dcc2

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for didppy-0.8.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 62f2f0c5eaa2aab8320993a1a992567f9fd17768353aa5352c6dc4ff31a2ec64
MD5 e09a54ed981936e9228bbd0c822475b1
BLAKE2b-256 ec10dfccc5a16f6fb466cfca9b5537772906aad7630c85a50225644da7b072c7

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for didppy-0.8.0-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 a693deb8f6028de96c622a58fa812958808e0f7cfbf519d93b3afd8675a32cf6
MD5 c55fb1b9ed68d3ec5617550cf8876f9b
BLAKE2b-256 9c6c3f34111e582dd580d4d93608f381d1704b7d754197d104699acf99cc8bc1

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for didppy-0.8.0-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e496a1f42c28555400ac665a7df2cda05b2f50d2ec64ce3463359c00d984888b
MD5 ae55e0b18434d212b189c98ff6c16fc4
BLAKE2b-256 90a21564a25801970d39b867d3b83d0f930f48ca42655d5dc47ec0ecc44dd595

See more details on using hashes here.

File details

Details for the file didppy-0.8.0-cp37-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for didppy-0.8.0-cp37-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 07d1a9473cdf7f2dab1906a768a8455679359bdf557a2c3c99383d59ede82be1
MD5 b9e1a1b6ac0978a2441a6b8cf786fc5d
BLAKE2b-256 fdce8ffe1ae462ea14fbdcd96561af8142248878396be0f6e1519b0085baa50a

See more details on using hashes here.

Supported by

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