Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

didppy

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

didppy

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

  • 0.8.0
  • PyPI
  • Socket score

Maintainers
2

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc