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.11.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.11-cp313-cp313-win_amd64.whl (15.0 MB view details)

Uploaded CPython 3.13Windows x86-64

easypqp_rs-0.1.11-cp313-cp313-manylinux_2_28_x86_64.whl (63.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

easypqp_rs-0.1.11-cp312-cp312-manylinux_2_28_x86_64.whl (63.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

easypqp_rs-0.1.11-cp311-cp311-manylinux_2_28_x86_64.whl (63.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

easypqp_rs-0.1.11-cp310-cp310-manylinux_2_28_x86_64.whl (63.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

easypqp_rs-0.1.11-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.11.tar.gz.

File metadata

  • Download URL: easypqp_rs-0.1.11.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.11.tar.gz
Algorithm Hash digest
SHA256 089ef5be49baa00bdf4296a864fcf88acebef7951ba7afa03844eac9bbd2058b
MD5 1b8d6134f33e791b619c46e450bebe14
BLAKE2b-256 91600a4b315724d82959ae29f06102c2faca916ebba4d17d404d57a44fcb5a36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2c8264d09324f8fab1844a501ab89c526949ba7c0eafdd9d6d4022661bb41015
MD5 1bf94bd4f57194ef1ca0e4e0602802fd
BLAKE2b-256 4196bcf0f87db2c48166a9ad10cca636bd1edb57fbf365b0260aae1feda01a8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.11-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 144308753eaab5c039f73bc850d5477488da894d13e0e482cf5da06346f59ae0
MD5 512f79496f75bcba57591d336cc7cf3a
BLAKE2b-256 c37e26a2de2862f4e1f267d6870d4b9b68975bcc8d11f644f0889ebcde414453

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.11-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d6c737260bfcfaad025d0cc9854a3787ce490753a4c246cde7e06143d87eea8d
MD5 bb87b9faadc28de88c147310aa364850
BLAKE2b-256 c76cb3c6cf94029dd6a8a1c39c1c6c9863253e9438c21c278eb4755fa54c9524

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.11-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4482c4cf0258a052842dc3edfa050c6c4848da25c6406d9cc2ddf747d98be0f0
MD5 acbf28c26fbfc754c31c4eaf9cb93065
BLAKE2b-256 82d0b240fe2b16ff62a02a579fd90f162dce16dd700a9f21fc80d285c9ec93e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.11-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 40a5b16887a1a239767b626480ddcdf2b67e4676a5ebbe6728dd7850dfa6cea0
MD5 87d5c6da75b48be6c633e736e9b6c03e
BLAKE2b-256 7ef7784d055641fc15989300410c9ed9911fde302d7e9cc5ef375a5fd5b88fa6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.11-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f893ffa2ecb612499b3bfe453081282599565ee821c3f70fa67bfff89e48196e
MD5 be18f1d0174c5662452a9b3390076c82
BLAKE2b-256 7c8c1e3de7e05bfcd0397355fa46d20d6f297808b05b66249af5fa7cdd06f08f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.11-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 47617f8432065c0528766b189e63ddf945679e7828bd3b5b96d4323299019c9f
MD5 3693fb183b45b8e4441e0f59f3d803cc
BLAKE2b-256 3fdb6704e1318e99d738fe93eea5876aa488d5a7d03cfdc971e33a6b4172b4ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.11-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bbe068ee24b38fa15c5de7378aba2278ccfd86fb9c15916ffc9b53a8c49aa483
MD5 4d389e6aff4e4a78773d306ec07091b4
BLAKE2b-256 d541ebab59adc5542956153fe99a8e6641b3babca1227de402f5b9ec37eb617e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.11-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 35bd3b5a579f86092c97ae9e5e7c5787d22e2bd511e9c62973cd59003f4f0248
MD5 049584fe19d69fa3340019deb61fdb4d
BLAKE2b-256 b730cf387775fb703af41f943799780cd6cae79f801404d2f60694cfa66297c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.11-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 656adc95159a15a1953f130ff5177f5dc94ec31c89a5cdff85f66b89552e9ccb
MD5 415ec3781a11f73b2cb1edeb0470f635
BLAKE2b-256 87e1f024e0e28e925199c00c41b0066ef949e53e9a65fb74dcda2392684d7411

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.11-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cc2e93186969b2c639efa259e49cc42b09d6270c599c23879598cdbb0e84b641
MD5 51d65e6a92937a31782ef46f20f378f5
BLAKE2b-256 bfaceba16907636bf0febc46db18a8b4e23eaa55f52d78afeb6d9e2b55bb1d32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.11-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4accbfa4120b7a255fe1419e4e899dc512685282b5d8978c3d71ce8343f42b10
MD5 11012eca43d622b3bb61f0388e2b2007
BLAKE2b-256 1afd0b85ac8d4055646cd5601030937de34230a32aa0086ec8d48e9136f7000e

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