Skip to main content

Python bindings for EasyPQP-rs

Project description

easypqp-py: Python Bindings for EasyPQP

PyPI - Version

Python bindings for EasyPQP rust library. Currently, the rust library is mainly used for in-silico peptide query parameter generation.

Prerequisites

System Requirements

  • Rust: 1.70 or newer
  • Python: 3.10 or newer
  • Cargo: Latest stable version
  • pip: Python package manager

Optional (Linux only)

For optimal binary compatibility on Linux, install patchelf:

# Debian/Ubuntu
sudo apt-get install patchelf

# Arch Linux
sudo pacman -S patchelf

# Via pip (alternative)
pip install maturin[patchelf]

Installation

Option 1: Development Installation (Editable Mode)

# Navigate to the easypqp-py directory
cd easypqp-py

# Install in development mode
maturin develop

# Or with optimizations enabled
maturin develop --release

Option 2: Build and Install from Source

cd easypqp-py

# Build the wheel
maturin build

# Install the built wheel
pip install target/wheels/easypqp_rs-*.whl

Option 3: Install via pip (when published)

pip install easypqp_rs

Development

Setting Up Development Environment

# Clone the repository
git clone https://github.com/justinsing/easypqp-rs.git
cd easypqp-rs/easypqp-py

# Install Rust (if not already installed)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Install maturin
pip install maturin

# Set up Python virtual environment (optional but recommended)
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install in development mode
maturin develop

Common Build Commands

# Build in debug mode (faster builds)
maturin develop

# Build in release mode (optimized)
maturin develop --release

# Clean and rebuild
maturin develop --clean

# Build with specific features
maturin develop --features parquet

# Skip building dependencies
maturin develop --skip-install

Testing the Installation

import easypqp_rs

# Test basic functionality
print(easypqp_rs.__version__)  # Check if module loads

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

easypqp_rs-0.1.10.tar.gz (262.1 kB view details)

Uploaded Source

Built Distributions

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

easypqp_rs-0.1.10-cp313-cp313-win_amd64.whl (15.1 MB view details)

Uploaded CPython 3.13Windows x86-64

easypqp_rs-0.1.10-cp313-cp313-manylinux_2_28_x86_64.whl (64.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

easypqp_rs-0.1.10-cp313-cp313-macosx_11_0_arm64.whl (15.5 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

easypqp_rs-0.1.10-cp312-cp312-win_amd64.whl (15.1 MB view details)

Uploaded CPython 3.12Windows x86-64

easypqp_rs-0.1.10-cp312-cp312-manylinux_2_28_x86_64.whl (64.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

easypqp_rs-0.1.10-cp312-cp312-macosx_11_0_arm64.whl (15.5 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

easypqp_rs-0.1.10-cp311-cp311-win_amd64.whl (15.1 MB view details)

Uploaded CPython 3.11Windows x86-64

easypqp_rs-0.1.10-cp311-cp311-manylinux_2_28_x86_64.whl (64.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

easypqp_rs-0.1.10-cp311-cp311-macosx_11_0_arm64.whl (15.5 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

easypqp_rs-0.1.10-cp310-cp310-win_amd64.whl (15.1 MB view details)

Uploaded CPython 3.10Windows x86-64

easypqp_rs-0.1.10-cp310-cp310-manylinux_2_28_x86_64.whl (64.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

easypqp_rs-0.1.10-cp310-cp310-macosx_11_0_arm64.whl (15.5 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file easypqp_rs-0.1.10.tar.gz.

File metadata

  • Download URL: easypqp_rs-0.1.10.tar.gz
  • Upload date:
  • Size: 262.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.13.1

File hashes

Hashes for easypqp_rs-0.1.10.tar.gz
Algorithm Hash digest
SHA256 07d109d7a6f3d35d25372f6c1766959dd8c63b2d4d7cc4fea782c3cfc33b799f
MD5 3e03d271f5cfe9457f0c8b12171967ed
BLAKE2b-256 98785b87c2c2ca492ef79ad7b90066ea5562d89178235eabaafcb1dea768265a

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.10-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.10-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 66e9f771080475249b9581702367ee465478ec7a95125ae4b1f26a00eebd4511
MD5 9659c33f83d430a84ef333dfb99360ae
BLAKE2b-256 f3329bd099ce5bebf2e85ab21c2c54924ff411d51c94c91f85d1ebe219c56b06

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.10-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.10-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 867d39f771c1c91e7cc5277f76d36612ef7d8831c0031bbcdc03f938ff9457c1
MD5 ae399e2f3d09ba120cf54cd3d7288efe
BLAKE2b-256 0fcacd189164d40a8592c94ba4d7e58e7ad9337836001959bdf0742ea27dd16c

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.10-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.10-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 78af109258cfd417636d97078e8093ea6b419280900ed83ecb1572fe4d5da884
MD5 85e8cf6e2fd9766070d4d3261b592b4b
BLAKE2b-256 8c7b277cd9f19b528db3b6231f5a71905376cdf58ef8b4e1cc57ccd89860a7a5

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.10-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.10-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0f330050f19d89b98aa32ce3e74e320f0dafdb532b26d856a33e2029e976ecf3
MD5 af096879632e7a3d95ab2d6d214d9317
BLAKE2b-256 ca0a61a03dd15763bf03ae4cba4e20f287ddb8546c2ca0578f17a8cc3f74d379

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.10-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.10-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a620e3da5e88e1c5417e6e85e2a4ca1090a35cd4dd6e4ad570336ac80875a21c
MD5 5a30cf67a372dcfdb504e5d8c7a46c40
BLAKE2b-256 754d6ad8a9be0a2a8b956548a180a5c0f501094d11930b604f3ed6fef0a1f5cb

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.10-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.10-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e5c47c9c809a9368880e7cc8054e79cb0bef1dfa4f88c4b618e68fc131f1df32
MD5 e1dc462aa3178f4a1777293ec281e88b
BLAKE2b-256 49b91393cbb1c962913952fabf06c58ed70997e7503d4a03c06a2b5c5940d8a6

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.10-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.10-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 48fa8d95bbaa08901e3bfa458d23e8e5ed5f9fb54940113bf27cad9412f0d5d3
MD5 5d3890e83ae346b3039b617de79f5c04
BLAKE2b-256 823081140a088287331dca4c467eea7d57f4b3664641d1671564000087637b04

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.10-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.10-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 040756a8593cb87bf4f07d3d935ec02f12302b9c69a1c40850a3badbee5315ed
MD5 2ea0056de368eda6582558918dd39c57
BLAKE2b-256 4defc62493d7aef13519f5f707b6a5ca39c2d19d3b2a14769021e9e313d874de

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.10-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.10-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c5597356fce00ab840118b0b87e32aaa93b8187aa36c9eaca5617842a3378db5
MD5 804d07dbe70253dba5eb92c3b88c931e
BLAKE2b-256 5b96ef3abf571870ecf09f1fbde7092ef2f970783c8c741f6562adb3672e125f

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.10-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.10-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 bf0b86ae71e9e45699f36b6f527a2ca656110156a06e332697b6db19f017ff53
MD5 1eea048b6dbaa67b46800cd55ec632f3
BLAKE2b-256 f56a306ad4b62a8e947544e64f1ab3a6e18152a6d8e313fbdf2cefc2bc90e1ef

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.10-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.10-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1db8879c06f4704483b92714d52f5aa603ffb0ab4a7e6dde1abed8b35c70bbfa
MD5 9b751ef09609d6ffdce03b68b6b27f99
BLAKE2b-256 dba7947582ef8542fb543d97e24346860be52fd6697acf319c630088d76a3fdb

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.10-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.10-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f43b24f4e0fe0a49e5fa5546ea75ccc2356653881f3cf53821e5557a106ac1d8
MD5 136df02c237765422516b388649f9061
BLAKE2b-256 398e58007ff2b8b321dd11f778ce92ed6d26737b5d9aa533149ec3c19b2083a9

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