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

Uploaded CPython 3.13Windows x86-64

easypqp_rs-0.1.5-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.5-cp313-cp313-macosx_11_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

easypqp_rs-0.1.5-cp312-cp312-manylinux_2_28_x86_64.whl (68.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

easypqp_rs-0.1.5-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.5-cp311-cp311-macosx_11_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

easypqp_rs-0.1.5-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.5-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.5-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4250fbd63f39f541ce52f714b59ebd80c89b144ef29bf5a6012c8f649e7c7cda
MD5 063b41a16ab254f412f9b1ce2343df58
BLAKE2b-256 fa9ee2ff94d2b5b794454256a63415584ce85f5a7b0e6400325d903f04088b82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.5-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 03e0bfa5cf779f983563b55c27960ca711d3e2d2ff7deaa9bb9ea66e717b273d
MD5 e267aa3be834e232059d4062c82e652b
BLAKE2b-256 abd19c4c0077787ca61bab98cefb19915671549cbf666d1c5d5f59ebb5829b78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.5-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0cf8a9f492a454a9fe3dbd6be077f9d3d7a1fb4cb8fbe44a9d3988dd54958f8d
MD5 b531c38a3f387a09f92733a1d6beeafa
BLAKE2b-256 a196a93c107cd9d02fcade71d8b33d11079c05532b8f0c0cde9d594b672178c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c9400bbadf6f69b4a2cf8a002ce2a3e5596dd8216a58538dfce1e19065aa779e
MD5 d2fc88e88624266f4a19b92a3f427c20
BLAKE2b-256 264408a7cd89841abf1cfef947d6fa4378b33aea12678447d51f733221257633

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.5-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ff15c61b09169e1673566dad8cc2e0b1e574013773d55d9da700490fe0ce70da
MD5 2fa338a3d1df683b11ab45d9458bf87b
BLAKE2b-256 3adcdf30d33062437ed8ec7c1467d4085aaf0ffe6caa1c890f983bb0c898ac33

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 386bbffb6d367afeb81685c870d68056ec437447bc3adcfc9f330e946d7664eb
MD5 4b2df3318be88e356530f2a56a2ccc60
BLAKE2b-256 87fb11a6972c0c0e21723973df09144e29e340162c99dcc3c3de2af42a81b1ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e12ed6c26ef0bf0162ff4784c9c061987866bf4bc4b34ee6d7b5cc23dcaee28b
MD5 2e6d8a2ee0a02dfd1c82f134ef0dd13a
BLAKE2b-256 a0fa987e84ac5dcd11d0151888024e0fe43fc1fd6ca573195e4ecf2043b5731a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.5-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cee4977b5d4db9da256e60e1b40791e7d0f6b58599b6a28fc8a4e92071afb992
MD5 c99dfbd2c6f055f8713a09016e9428a8
BLAKE2b-256 3029737cf04f05b5d805b113fbbbff9c509c11f2c410740202ef36f98fef3694

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9eccec7dd7cf908aa1eb15489b3acb45e833f1eafd8d62a834e631b1f3ebc92c
MD5 ea6ee2e5c466276b6487f2b6ab4fbd72
BLAKE2b-256 f316d5892ce72680bb4bae8f1e71c2145826499a497e35fc0261f7e57ea3726c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 69d229825ad43d82a71964ffd5be75fb5fed01487dbc39f27c84e9ba4dc7befa
MD5 b7f18f6273044bca39875b82703cc307
BLAKE2b-256 f6e2b318452506a5396dcfeb4930d99c15506d39f856ab464ee430ab469f3546

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.5-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 802e0ed9f60e216f84e5693cacb1280671d985ceffd21aaa70affa38fd7d828b
MD5 e5f5984b2a04edcdebad74e2e40d354a
BLAKE2b-256 357789fecd9ffaba4ea7b12ad83580c18f2606eef9e8bb29321c5e109fb8e0b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e5ed3fd7c9af1986cb9548d4a8966961ef7689b2d606d4687244526821dc6e8a
MD5 3eb08bc318d5dc25fe1eee2f2e77f7bf
BLAKE2b-256 9f8a27869cd6af790fd25da097277057f7ad6a5b5b71e0b5c0d48b9630d6f9d0

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