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

Uploaded CPython 3.13Windows x86-64

easypqp_rs-0.1.2-cp313-cp313-manylinux_2_28_x86_64.whl (68.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

easypqp_rs-0.1.2-cp312-cp312-manylinux_2_28_x86_64.whl (68.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

easypqp_rs-0.1.2-cp311-cp311-manylinux_2_28_x86_64.whl (68.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

easypqp_rs-0.1.2-cp310-cp310-manylinux_2_28_x86_64.whl (68.4 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

easypqp_rs-0.1.2-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.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c63746ba8e3a4bb719e96104e0b9b84683efd953f90ce5c6928ccef2e89b3de1
MD5 f4190448c7a81398cdab4ad68022558b
BLAKE2b-256 611be442bad0d7fd3c1b903d8bf6e6fc7c18a66a58914a330f7651dd88896628

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.2-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d417948a0725d764b681238c77957ec160ebfe62c7df6256a70b0001509d3607
MD5 cca5be291ec7e30c0759491490af02f7
BLAKE2b-256 e5a5b542caa9880d51d1e53cfb61133d4a9298557b2385317e1299d98d032700

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e676b30f80faa11f4300ad88b935f77cdc5f2c94345067e2a446298ff45b1511
MD5 3d34f6ae80f216cc912ec37c6992cab8
BLAKE2b-256 f7dbdd371e9243ddbe13c2f7afec5504926156e985aeba62cd8d9c8faa8c1bd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 42c42b726dfae38529aba78fb72315ae4ce1594eeb759261f88b674b00be4bfd
MD5 5d083de1d73bfe6ad6629448c6eb95da
BLAKE2b-256 6dbce24e3cb6ebe9045978b2a3aa113770529dfd2480a200b958e5faccd43fe5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.2-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e79d3075603cddbc8fbd345939788fcf9f6fa147d652ed96ba8bddf70702e387
MD5 1ee6963ec6b4d378b2b90cb03ed3e4d1
BLAKE2b-256 98bac03edc98371f7cd3730077f6dc4a0e3e883c38646aa8d90fb7ce308298b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 99b82222bed301490598db6b8c8dccb36a4135d67159c22ff6c1e9fa82ecaeeb
MD5 a0485404205cbe731b5e7635d034f480
BLAKE2b-256 14272395c7a38e50f6f346344b0628ed76071e5577d1749458817e1155af8611

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7e6e4400a918f8b17e3f4ebe38bbeb16364ea4ebe02efd712f5c3e7458102571
MD5 8d21e7031d08a8abb8fdb25aa87c9062
BLAKE2b-256 771bb668d8ca40d01ca8ca806d63fd5ee66b5dd14c5c780c6d6c4ec2d4e76e16

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 176b805218d29a57f55330a9105e46a376592328d8a339b2487300fc11121ad6
MD5 6637a254db2864bec4b8206570383c2e
BLAKE2b-256 1d7312ab7db8d027ad8ea3d5ebed6491e1e3d97ab1601c6a37921073b02fc8f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a6125aaef53cdff8613e04bae8d2774e8013307d49d12fcddd938d7d35d4c154
MD5 c955797cd82806e24d6e1dce9f302689
BLAKE2b-256 9d3a5749e844618eb0674af1f1dcdb9022ed5fc3529dabab70ab258744840d1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 bd47212643da5c0fecc8feeafef09a75b9382ea791e50cf99159540eecd74863
MD5 d5e143f9961acc7f1e751897ba2a3574
BLAKE2b-256 f7412796f7dc36978d5689871831c283539c86e6a02d5e38a236365c2595a233

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.2-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8b0d6a2273f293dd280c929fe572f102fc2e4fe460ac801867a26a44b226d0c2
MD5 7f5c5a8ff7ac0dc75ba1b4df2008deff
BLAKE2b-256 7b64430c3a8971015f2838949888c9ec271d0f79e49a39d93732a770b9086f09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b2ad8ec5d683155171bafecb6d028de0e29382ba419baf5b86cb6d4162a0d8c5
MD5 494c92bfcb8007816d9af61a81a6f183
BLAKE2b-256 efd4c3c6a73692e9222b6bb1ebdb1ee3d16816a9d28d45a34abe32f4684e97bf

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