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.13.tar.gz (264.2 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.13-cp313-cp313-win_amd64.whl (15.0 MB view details)

Uploaded CPython 3.13Windows x86-64

easypqp_rs-0.1.13-cp313-cp313-manylinux_2_28_x86_64.whl (63.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

easypqp_rs-0.1.13-cp312-cp312-manylinux_2_28_x86_64.whl (63.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

easypqp_rs-0.1.13-cp311-cp311-manylinux_2_28_x86_64.whl (63.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

easypqp_rs-0.1.13-cp310-cp310-manylinux_2_28_x86_64.whl (63.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

easypqp_rs-0.1.13-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.13.tar.gz.

File metadata

  • Download URL: easypqp_rs-0.1.13.tar.gz
  • Upload date:
  • Size: 264.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.13.1

File hashes

Hashes for easypqp_rs-0.1.13.tar.gz
Algorithm Hash digest
SHA256 861704511e405bcb0f45cf4a0653657cc01fb7e7a188c4e11666864b21e03f59
MD5 a3516640dd653b988621a8004273981c
BLAKE2b-256 e784638e5e6399ba722fedf5e99e5c5a387d7ef92fb2f04e02ce329eb7abea87

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.13-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 afbad6dd675fbb8c9e8f660e81d346e7c98beb6fa24ba0953bc5fb0d30ddf3c0
MD5 d677ce6f543c149a5c0086209e96928f
BLAKE2b-256 38f85afb2a9d10cf79b94589c79f288b25cc1505b7494fe5621ee399a7f2bf86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.13-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 262f72188bf9ece310fc2ed9d7533eefcbd5a46d14d9e4c14dcaa0ce2486bedb
MD5 f345c3df5ae640493393382b4a25ec9d
BLAKE2b-256 6465e016b874e8e3400010d5b0482658a17a60c012083dd2017c4de195523845

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.13-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b749fd80c0645c6ce11956900e9d4cdf522dc3d6c351b6041bfddfc6d6f79740
MD5 6b4577ebf414c8b3da1da02aa1bafc57
BLAKE2b-256 4caebcf06202b5c4072cd4744024dffac3e289013a2aee6aaf50097bd42a40a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.13-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0283f5be4b112babec5a500a70b8d13b13537b19856857532f6bdf46a1352e1c
MD5 fdda49e1735df25863ff50bd90392ddc
BLAKE2b-256 3509e01521473beae9ff6410dbe063811c2d8226cec5664c811a669c4595b93f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.13-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 68a77c61975d9374b3d02e711691a090341f4127c4f3e2c1be1e87b108312ff8
MD5 665d5c4701364878bdf042593af3376d
BLAKE2b-256 4a59d91a18f1d85297f95d7253c7ea2e61760790d55b96855fd735f542c95ceb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.13-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e869fe5308e8090cb1239e556de7af3d293e6e9162f23d834dbdf2871776ff21
MD5 22369e869c3155e53b15e726ea3904e7
BLAKE2b-256 5b4fe8028ceedd06033836852ea455f85ae6355fb19c673e2805cbabab330c1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.13-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 210e5073a56ec9b6bc1c83bcba0424302c664cc53a0344385c3dd76a7a1530ff
MD5 14bf33e2330c672344a067a2ead7c61a
BLAKE2b-256 3d19e5a5e9c98c815cf96f6dbe7d8be047511b6faa038628151dd68861217087

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.13-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 470007a04b6921705739ff09a1a564050be03c88d565aa74502410a89c9e98eb
MD5 88f7e76dd6d2c06f8dbfb74052ff7d37
BLAKE2b-256 c41cbc32dc4d7a00c164e4a18b5efb686590ec6b5a218c75ddbe5b8c48342f4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.13-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fd386c06004122d22feb093a7f6d2644795cd9f44db2bc8a4a47f3de41b1059c
MD5 69f463b8541345072496e6d46d422a72
BLAKE2b-256 1756a285f45e45ff08ebd9a34bc2a8c7bfc54c9575e90ffae7d86bbdce84f135

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.13-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c395342fa826dae05057430797fb04e563367bbc2296f25d85ea64a18e20c225
MD5 258bc03fbe01497b0c4ba2a511ba18f5
BLAKE2b-256 a37da562a5664bc472f3b9c23ce0e8a1448951a1e642dad97c668546d072b198

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.13-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a9a921b1123aba8d03303f1ebc70edc8b981b88ea470bfc8742c23259a7afafa
MD5 6117792885c9c0b5cf72045a177c4270
BLAKE2b-256 293e247b546d3024863a4792ad42f0d9704b22c1639b8d80c09966627b8a4f35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.13-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2fdd79c642ca83393def654258c04d81e5e2e6d97ebd54b08e06743af3907288
MD5 4f4750899a0d49f8b28b06eb82f2416a
BLAKE2b-256 975d3b3af9ef9a4856013e202c5c0ea82a24dff9d4f892ad30dd6cf03cb57b08

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