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.8.tar.gz (261.4 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.8-cp313-cp313-win_amd64.whl (15.0 MB view details)

Uploaded CPython 3.13Windows x86-64

easypqp_rs-0.1.8-cp313-cp313-manylinux_2_28_x86_64.whl (63.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

easypqp_rs-0.1.8-cp312-cp312-win_amd64.whl (15.0 MB view details)

Uploaded CPython 3.12Windows x86-64

easypqp_rs-0.1.8-cp312-cp312-manylinux_2_28_x86_64.whl (63.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

easypqp_rs-0.1.8-cp311-cp311-win_amd64.whl (15.0 MB view details)

Uploaded CPython 3.11Windows x86-64

easypqp_rs-0.1.8-cp311-cp311-manylinux_2_28_x86_64.whl (63.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

easypqp_rs-0.1.8-cp310-cp310-win_amd64.whl (15.0 MB view details)

Uploaded CPython 3.10Windows x86-64

easypqp_rs-0.1.8-cp310-cp310-manylinux_2_28_x86_64.whl (63.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

easypqp_rs-0.1.8-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.8.tar.gz.

File metadata

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

File hashes

Hashes for easypqp_rs-0.1.8.tar.gz
Algorithm Hash digest
SHA256 4d8746699c0e6443a1b269571831dd873e5f0914362bf986d9687f3f2044ee4b
MD5 707588c4b99ab47e0e4dacd65d17e3c0
BLAKE2b-256 47f773962e2175a5b91e8fb1fc1c83a00d8d12556ed44e6ec7410d6272e043be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c8131c2bef0b114ae52cd03ba4ef4d08feace5f88c736a129358d2f5c45f4958
MD5 412f67bc3a69664181cc84ed2bbe5a9f
BLAKE2b-256 ed265e65725000fa928a5909354b53f6346d8be3de8e207c384e270a9471fe1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.8-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b5445ab5109508797facc027093d82a1f29d2ea647f67b7fdadc97b4c10a7e68
MD5 738bc7561cd68fb534b5d8dfbffb9b74
BLAKE2b-256 9772a46ce44d63929e717060ca25d937f77ccc12ba133e5a12a4c5b002ca0684

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.8-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eec727ac0063f0321e1b766d57e4e96de81e12f74bd80fdd0290385ddfc69c7b
MD5 d6d0e25d591158f9f8bdc8e73ece2b78
BLAKE2b-256 d316aca5f63530f4090ab497b83138ebe387be5e380852cf6e2e6919beda6d15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3a6e54845e4fb270a464a15ceb5a49288acc8e2bdb31edfdbac39fb7919c8a8c
MD5 084eda873a182892a75d312e6c38fbc3
BLAKE2b-256 58726b0246b6dd4acf2fd7a40fbfd862281ce7c5495e549d6b647142e00e3143

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.8-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 74b3f5346b3d96e951bc2e7c583dbc27e5afedd9ea11ce613f6bde2a23806e6f
MD5 2914c76e12738ee722390b8e3cb0efb4
BLAKE2b-256 78740e85cd804d3643520e5d7428521d2000d080ba9fb85a22658764e1808b3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.8-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 339a90d7e08c5c4b6cd92ddcaf0c1246c698e932d34161b8d229c84febb9a5b2
MD5 49f5c69befd4b6677e7ad32ab22e7a30
BLAKE2b-256 b608db66a030fdeeacc615a485fad489183a23b40d9960dd84d731407ee09e3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a2f5cf73e1ce6297b13ebe3ab3a2b420cebd95fce70bbc8a65a9b586a66adff3
MD5 6f6aafb508043d801828e4a6455bb1a5
BLAKE2b-256 cf721214d1249a10e372e4af9fd3b5add1e3746af8133bbbd10b458aad441818

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.8-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c3a8ed8f29383afee40c4cd7918cf2226371880053ae730bec3500542b5070b3
MD5 9ac147e067f6435118a9e9d766184bfc
BLAKE2b-256 32874eeef8099c1e7ede400a1b9212f1d05a40d267bc4ff5abff601b3149db89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f675a6e26948d48ca5dd3190a2b373791e83e67fe4c8400214b765ce2b5a0aa4
MD5 bf8e5c55f6eb3ea988a666300cdadb47
BLAKE2b-256 6b28105409470f68be13e41181af90041810e1d3a21643283061affe0e477945

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.8-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0d466206dc6993f6e097fea4ad453f4ab874961574ed3b756116c5ed06fe2b08
MD5 9102309a4192570d99d3c9ea4ea2c2b2
BLAKE2b-256 cf6447ff9cf2cdb925496e5aec1318a3e0191d31823a1565d491e5a6419f3e17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.8-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ac6a8733075bf6d52a12714f4c86861e9933d511f34d521f1b7281b8b7783e2c
MD5 18f514f9a008afa7ae38d8ca1477f8e3
BLAKE2b-256 3ac110a93842b0d919ae7751015071d727fdd3134ff09459d63a76c0db6d2049

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0975854b24befad805d6d031ad09e0db2460dbfce85a33eca4673b9165dc6e04
MD5 f6358566ad448eabe8b988f8c2d884c6
BLAKE2b-256 c873c3e01b64799f5a634e0c51bebdf4346e25625d410178d876759f7a7d3d64

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