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

Uploaded CPython 3.13Windows x86-64

easypqp_rs-0.1.12-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.12-cp313-cp313-macosx_11_0_arm64.whl (15.5 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

easypqp_rs-0.1.12-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.12-cp312-cp312-macosx_11_0_arm64.whl (15.5 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

easypqp_rs-0.1.12-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.12-cp311-cp311-macosx_11_0_arm64.whl (15.5 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

easypqp_rs-0.1.12-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.12-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.12.tar.gz.

File metadata

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

File hashes

Hashes for easypqp_rs-0.1.12.tar.gz
Algorithm Hash digest
SHA256 4003ad15e4b2709f986f02398df5e5af9bea777ab80432e5ece3188a5230b1e6
MD5 65467cc802ba6c36546033a9804cb090
BLAKE2b-256 14a07b576de4026d29f8d68395809dee48725c5a28f782cfe36063ec195eb987

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.12-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 27e3c492e0de4226a13b5a431f7507075b0552c7460fa137fce717eb9efc8f94
MD5 5ce94923b8cca3eec1b2ba3eefa5e3c7
BLAKE2b-256 4c003af02e1b6afb4b3cc781a534cfd09f1154540e82db4b8c014a521b177b99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.12-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4e79861fabeca05a7e7291077a6885a2294b975ad482fa73f890f5468901a169
MD5 54cd94b2b4c12dbd9b43940c9010641c
BLAKE2b-256 73d12acac15cc294482ad459b146b84633a3a59bc446314c2b149af92811e835

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.12-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 689af4c2e704725c0eb19cf3c34e94e41ecc6b5c4de20e76e5a758ca013d8d83
MD5 b97915aa0d2e9ce65a1de66bcb15de1f
BLAKE2b-256 5e35109a3d55573e66d36acbc3e88cdc1b44e03541f2274deccdaa2b8b468916

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.12-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e5e15e857b4a2579a4f9769e30e15795b0036629287dc22bff52c75d0619b3e2
MD5 9c57e592baf074728bd9c589510a4d08
BLAKE2b-256 3a1e88941dbf0c75c85869c6ad3dd99ab576ea309eb3d4a76b513bf0a7b75fd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.12-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e78006e5df14885f38bda9b3cf3fd4252386d37cdd7f43e5eb11d7d030128dbc
MD5 b4f7ce2a2fd15a450c2902887f76bb6e
BLAKE2b-256 41da86ea1e25e4ca09396e7f51053b2f4c981018c2beeb7a62201cdcb489fc5c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.12-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6ba744d4b45e1a81ecd5a483c4b3cf100758b0db94e305876793d08466d2ad00
MD5 12b6ef2eb060cc76636f505447df6020
BLAKE2b-256 b44d00c728b631eec0af8ce519b26b929075434f6f88e3e1ad6c0d401e0d1b35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.12-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4618cfd69431ebe05ee0de915a2f11a3161980051db435e393c034ad572227e9
MD5 7d0a403147a108f65162b9da368c61cb
BLAKE2b-256 e1cef84c4bd705f943733f48cf9f229606c010f097f6878d9ae8ad98c2583a60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.12-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 07acdc333ed9c7efc0109a6d02bd7c809014029a2e9a82a85d4252748c8cd37e
MD5 7d3e2518bf528a8c30f65f3334f1b9a5
BLAKE2b-256 f6bd2ecf57ec2aaefd1fefe2adc4fe3586b384f426d151b581f011e91dfce044

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.12-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b1259c5e960789936a2da41fcf412954e548fd95e5e4150f4475e84f376a68cf
MD5 3b2e2c400dcdbffbae0b8017b4f3f077
BLAKE2b-256 ea9b5898153b8d488ecf8bda7c97933267b86820eac90585ca106b0c71a9efd2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.12-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8e79075db525ef5ee78e8762be458caf888e16bffa5f583ee34a2a22321ba3e3
MD5 63716183c703a3a6b7546c5ff8b0de70
BLAKE2b-256 94fe8caecfdf8b3c4226dfb3adf8b02cce3b1391313e9234dd1bcadeffb5b024

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.12-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1c4184136f148e74dd68233f9e0a20f8c24eb9501f137cf375446c7fe46f76a6
MD5 f87ba4464833f22ef372d55a1249e047
BLAKE2b-256 a467172665dee2e85013c06c5bbaaed657d378502b558c2a62975e55742fced9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.12-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 50b0296b16e217b80356e927ca50971fc44f4df0c9102d3af460271c1f4a2da9
MD5 13a67edfcf8fa875f256623a3f4d9f53
BLAKE2b-256 896557b37278f884bab558a5f66bb64de6683b0d9bd32c913372318e54f8e9f3

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