Skip to main content

No project description provided

Project description

hyperdrivepy

Hyperdrivepy is the Python bindings for the Rust hyperdrive implementation.

Hyperdrivepy install

Hyperdrivepy can be installed via pip: python -m pip install hyperdrivepy

Build Types

PoolInfo and PoolConfig are passed into many of the functions. These are built from the Hyperdrive abi json with pypechain. After compiling in the hyperdrive repo, run the following from the hyperdrive-rs project root:

pip install --upgrade -r requirements-dev.txt
pypechain --line-length 120 --output-dir bindings/hyperdrivepy/python/hyperdrivepy/pypechain_types path/to/hyperdrive/out/IHyperdrive.sol/

Disclaimer

The language used in this codebase is for coding convenience only, and is not intended to, and does not, have any particular legal or regulatory significance.

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

hyperdrivepy-0.15.7.tar.gz (1.0 MB view hashes)

Uploaded Source

Built Distributions

hyperdrivepy-0.15.7-cp310-cp310-manylinux_2_34_x86_64.whl (1.5 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

hyperdrivepy-0.15.7-cp310-cp310-macosx_11_0_arm64.whl (443.4 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

hyperdrivepy-0.15.7-cp310-cp310-macosx_10_9_x86_64.whl (459.3 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

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