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

Uploaded CPython 3.13Windows x86-64

easypqp_rs-0.1.7-cp313-cp313-manylinux_2_28_x86_64.whl (69.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

easypqp_rs-0.1.7-cp313-cp313-macosx_11_0_arm64.whl (15.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

easypqp_rs-0.1.7-cp312-cp312-win_amd64.whl (14.5 MB view details)

Uploaded CPython 3.12Windows x86-64

easypqp_rs-0.1.7-cp312-cp312-manylinux_2_28_x86_64.whl (69.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

easypqp_rs-0.1.7-cp312-cp312-macosx_11_0_arm64.whl (15.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

easypqp_rs-0.1.7-cp311-cp311-win_amd64.whl (14.5 MB view details)

Uploaded CPython 3.11Windows x86-64

easypqp_rs-0.1.7-cp311-cp311-manylinux_2_28_x86_64.whl (69.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

easypqp_rs-0.1.7-cp311-cp311-macosx_11_0_arm64.whl (15.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

easypqp_rs-0.1.7-cp310-cp310-win_amd64.whl (14.5 MB view details)

Uploaded CPython 3.10Windows x86-64

easypqp_rs-0.1.7-cp310-cp310-manylinux_2_28_x86_64.whl (69.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

easypqp_rs-0.1.7-cp310-cp310-macosx_11_0_arm64.whl (15.0 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 22fb6a925704994b60ebd52e61dffb20dc4a198d9e818b1803ef90d0b496000e
MD5 057add9d86d71758a48583632873c425
BLAKE2b-256 deac68e5ac90cbd1a641daec24f5c3f4d15c6d6b5d01007a2005207a6e63624b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.7-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5396d5cd5511e19a1e9e53ea320204da46f6e131e239c88257a14a8d7f03ebe4
MD5 e82eca600b6ffc1c2cd804438eccdc2e
BLAKE2b-256 27aa7fc8ffe47c620c574259dbf06a6926b6cc5858537d96b15bf7479b98db4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ffb363c7158979160c4b7a97559c70479dc06ecc013b4e6fbc5bb09e4e9e64bd
MD5 ca39aa74528944f3ed3cac1971fdc9d2
BLAKE2b-256 5351094df70748a01ad9e4b99d3b1e4416e232a09afff84cf2c20997bdfadc04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7b276ea8823fb4e5dcd34492fd34db88bda21947516a5df6dc13eb53a105d6bf
MD5 cabafee5552d269936869532e8c87558
BLAKE2b-256 9b195c27e3250e9b551fc79614c94b93e19e6018e630c0790827d4094470f374

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.7-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 47b9b78d1472c605bc03773313a7e295677dd6de003de5e6ab1e089c0998e5bb
MD5 f010ca7a443099c4b64d0ada3cb98282
BLAKE2b-256 a899ea6c896d7085e821a420b6c97c35317c0d5a7737c8a946a23e2cd98299de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9dc6602c89760716f9b88f6121de879a8b5e576b89b575eb9d42ed4a4c818dab
MD5 d206c18ce40ae290f9d3e90b07163c6a
BLAKE2b-256 57e9efe06900d8c48737282a5f6ead791a670dde207e3627f55c65fc299ebd07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 868957756abfd83f4cd57cce2caa8b10ed17c617afcc3ec8660a137886e8b1e2
MD5 61fe5a6890855b3e2c21f8f1b88f8d0c
BLAKE2b-256 6109d707efeb9d9f30eba6acf22d9a65ec7405a9538bc628c23e0f8cee8ef444

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.7-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0747619a2d06bc023da5758c6b8892161fed63a948b8531d3faaa4e7691c237b
MD5 150e631f0d8052152619b6edc3669b5f
BLAKE2b-256 3cfe2753cbdc60ae65aabc8033643185183e3d46c0bc35997ecfb23fab36a5e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9a33e643005d4fed63a775b805352a7c9713f139d5011c8bdaa38eebfffa4c43
MD5 b2acff002693daea595e2ad268dd8b94
BLAKE2b-256 cf10700f52451f36c21505826c9192399d5a3ef819bb8ab8e045dd007ef93366

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 70bdf8d3d0637816782cb3d251f680c3ea33f8398a81462d0cd4946f7d5e44ce
MD5 8397a554fca3c2375681367d98c39b77
BLAKE2b-256 bb34f5c5d791926631528c997fc593753153f3682279593e159838cfdea12d91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.7-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0a1ff5420a0fc2275a1210e6f61b7134c49fe941ffeb504952f46dda18c6c2b2
MD5 05887e9ddb1301e7a29c1f1de5009cd9
BLAKE2b-256 bda3b06eddb19d7293ad9eea60eff2d6f1541d47387330a0d57f122db8d06124

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e361e35d099b0b98f01d4a60f8fea04d52da1b8b6685963e8ae7b0f2680841ab
MD5 0195677689e1240c366564b877f2db82
BLAKE2b-256 ca00c831ca891483bbd7c85ee932315109124525f70f12d80be884e637b8ad74

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