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

Uploaded CPython 3.13Windows x86-64

easypqp_rs-0.1.3-cp313-cp313-manylinux_2_28_x86_64.whl (68.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

easypqp_rs-0.1.3-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.3-cp312-cp312-macosx_11_0_arm64.whl (14.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

easypqp_rs-0.1.3-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.3-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.3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ac3e601444a97075aa236346acb8175ae564d2a249b374c8c9a6602927b84335
MD5 a7514b818b8be29026acbab033c422db
BLAKE2b-256 bf28f01d66300b5969a50121073387d055a3a073f55ef335226252c0bc0b2f21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.3-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3b75b904564e2bb8992fab60e00a73da09424f705678ac43dab7d6354caf9cde
MD5 3aa170143ecd8e2f10059cfcccb8614b
BLAKE2b-256 7fb692b3d0fdd54e30225290f36adae0a58422cf10bafb2562d17a8ed00d225e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 aae83be2fd21493c9e502c8706cb18a8434133e19fb0a05b312dd2f6fc9cff4b
MD5 9c468d80b845d3c39efd1cf47c8fb677
BLAKE2b-256 65a490d17e8d8f4fc18db5dbf12d592875f8239b219c522e217aee73220b73df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 76e5b8584d3e0e8833473a1bbf8b519cd39da2d2794a563b53076182dce45e5b
MD5 f8e4c231af208ee512d49e716ddc042b
BLAKE2b-256 f205152cb82c31738c01d57548a1bf12b0bf02616bb6c545449a4d8ec705e933

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.3-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 793629181a1644b182397ca14ba9b4b1d6f06db5abeb691cab27ca9436fabedf
MD5 3c4cbed6ebd67b5cf54cf93b4d79c9e3
BLAKE2b-256 131fb63bfe0f628f4d3ee008ed6a8118acfebcc970410c16b4a7543c3c64571f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3452f03955d93228fc5905cef15e7943c30b8a002598e40999a56d91282b179b
MD5 9135ec314990e2de9c0014724319a3ec
BLAKE2b-256 4d263049502467304d06727bdd4ce18d5507bc38a934cc5808a113453067ce46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 241b6af4e76c5adfab4b9b3a3c09b5a152b4e727116512e81d77c0aa97c8c252
MD5 928a845d5c4832cc1c839bd7ac076f12
BLAKE2b-256 4f3d65c5190b9e0098eef9c943d0d7d8b2e4d41206dcc98c8d2a597d6901c11d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3dc61c4f8e2a516d0e57e0778cdbe01146a20f71fb81740d673bf44ac2e2087d
MD5 928c5c4b9e656ad3dd15d0fbb8a698ea
BLAKE2b-256 a99c4f73bcdbb809c1819e4027687df663eaef5df49ab4257e70c01720538c08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8dac49f4a8da137c4a030a12d1eefd4a45d19f5c837b227dc0b76682f0452708
MD5 65ccf0777a3f06913828b1cb12dd4927
BLAKE2b-256 4cde89cca3efc3efb0f01ada78dbb9994df245a450ff5d9eb316d188eee76d8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c78af77f18bf44bcf3253a1ce9bea213acc984175806018f68a542430c671bc9
MD5 1cec87a99fcda35112acf5c9b1556de4
BLAKE2b-256 21dcd2fb941822fc9c18bd4113cc9144f614361389d4b4ca05ab70c7f25559fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.3-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e086f3070f890bf549b7343fe20cbd9f24273520596b1003e747e71608ef8d0a
MD5 665f09adfd96476e703bd91706ac69c9
BLAKE2b-256 7096eb4c9cab8b50e67a97f2025e14f53f8caa75ab1f7069bea80bc5521d57c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 53b154ad0d112119fd0d819ec3f94bfe61269b7f8f0f55402166519076f28517
MD5 bddb3b14ac8d98104ed11dee5976f901
BLAKE2b-256 a06f8967c24e60d7678dc47c2114f4a7235a185aa2c8bf0d9b11015b483ef1e2

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