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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

easypqp_rs-0.1.1-cp313-cp313-win_amd64.whl (14.3 MB view details)

Uploaded CPython 3.13Windows x86-64

easypqp_rs-0.1.1-cp313-cp313-manylinux_2_39_x86_64.whl (61.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.39+ x86-64

easypqp_rs-0.1.1-cp313-cp313-macosx_11_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

easypqp_rs-0.1.1-cp312-cp312-win_amd64.whl (14.3 MB view details)

Uploaded CPython 3.12Windows x86-64

easypqp_rs-0.1.1-cp312-cp312-manylinux_2_39_x86_64.whl (61.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

easypqp_rs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

easypqp_rs-0.1.1-cp311-cp311-win_amd64.whl (14.3 MB view details)

Uploaded CPython 3.11Windows x86-64

easypqp_rs-0.1.1-cp311-cp311-manylinux_2_39_x86_64.whl (61.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.39+ x86-64

easypqp_rs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

easypqp_rs-0.1.1-cp310-cp310-win_amd64.whl (14.3 MB view details)

Uploaded CPython 3.10Windows x86-64

easypqp_rs-0.1.1-cp310-cp310-manylinux_2_39_x86_64.whl (61.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.39+ x86-64

easypqp_rs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 91bf8464169ea40f77dc390d89c6fc02964578fb612ef2e2a88ffcb3a6e08652
MD5 e92e2fa72641af27dd81d0c7570a0e22
BLAKE2b-256 0f7d3ee4e1af6cc1f1e950e97fd65b9643529745abb05c287b799904804c4a6c

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.1-cp313-cp313-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.1-cp313-cp313-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 4676b743973dc15f1e86024947b276a8ff737afa94f8d5ab8f5434718d9001e5
MD5 d2414a5f5cc6fcac18206b19fe9976a4
BLAKE2b-256 6cc90024c107085147ce2769eaea5084b540f1f2fd554fbedeec4aac3d922ae7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 181eb85ff5df56a35910f229c3b81e904e72b0238c396d158c097dc01e309a5b
MD5 bf1554c841dcf767a550efa037c2e5a3
BLAKE2b-256 88de8eb49fa80359e2d9028d13c4a1b3228dc984f48986cbd057c1a978d6b7b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1dce8f04f5842b88c91d2d18ef049271f90e5abccbaaf2aed8c73439ec4b86f8
MD5 5072fa546e300a667d57ec28f01f9973
BLAKE2b-256 3f98fd8ba710fc33e90316113d81ce2389666748ebc8afbeb1c3d04a46be9aa8

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.1-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.1-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 f21c03e43f30c308a5cfd70763450d6295e34bf7df8449b862236dc8299ee36c
MD5 185245a8d8268b9358bbc55026ee243b
BLAKE2b-256 3a1bb84a4df3ad00cf7dc696545c21e974b17d1f15022eb791f3ef4c57ebd766

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f3178e9a1392b827f17eaf9318ff055d0285691bed466b0a47afcc88358c8f03
MD5 d1da3277a6a1b8873e4d3fddab7746ad
BLAKE2b-256 2fa4245ebb59939fc82ac0cf0054bb8dc6c4385cd5f24ac2ad0178a93d5c5acf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8eb7b22276b0064684fa7dd480cc54b51d755c22fd09e73591855f7ce8d1d68d
MD5 6569232194bc63b02e23fec084c57914
BLAKE2b-256 183a97b729922f25ab5a546c0153b21e1dcace46d95acc3e17341fddf94b2381

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.1-cp311-cp311-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.1-cp311-cp311-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 30bffe819b1ad766a616f1a7e8255fb84d6ae43ce14d7f3f62869273239dc2f3
MD5 92adeda14328aa1d3819a56878a19474
BLAKE2b-256 42a836d153e2a6516e3dcf8906006cd9cdcf9c5e35058b8e9e825777f2476ea8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f3355ef587d56767fc8ac3e2500548baf040384e8ae0d22b79dcc8343ef02d91
MD5 294cac691acb97a73cca6fc0ba9a73a8
BLAKE2b-256 c87cbbc51d54f63bd88c6a43bb001215172a2d0be1231dc4c3fb61027b9a7887

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 f3ce64c00e4e092aa1a0b2dd5149a2278fad85b953666904cc3b939da95aa19b
MD5 7c84402929f4eee7e7ed667e918e0b94
BLAKE2b-256 a2b33ed739d71f384baf74805300c266ae0068dff98938942fd479b2630b608d

See more details on using hashes here.

File details

Details for the file easypqp_rs-0.1.1-cp310-cp310-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.1-cp310-cp310-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 740b090dbfc65cd6ff19796d73b9a3f9f42fba27dee76a58b4e036ce49ac5b36
MD5 9624edcfd5e596628f5389a062a4f938
BLAKE2b-256 10e6912fc821dd04aec8c736aab189eeb2a3407e00aba5f0654b141ff11cc664

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7c5f836fe007d2cd7ea4ac32f8a1c7b32e0579d3a4aaeaee3046f1772d423180
MD5 fd20f3d1df5941a5bb34d82fdb658e64
BLAKE2b-256 0878b218c6bdcfc12a1afb394e10e63b7db88cbfcd5d78ce8f11883c1884a9de

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