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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

easypqp_rs-0.1.4-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.4-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.4-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for easypqp_rs-0.1.4-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 4050b549d5f3e0076ed4ed7140bd69f4b05c2a33bcf36e3ff90ae5bb41aca16b
MD5 9e2fde95ab530bd96cc2c7472abe098d
BLAKE2b-256 e36a2074bad03be30035f378889de0aef27e4e08bd6e81a2432385d8dd5e7b86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.4-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 751049c40b8f78a7c0782ee3257811f3a353e58b52806e9fdff3124ec24b91b9
MD5 fba64974262ff3ba89b861749d09a198
BLAKE2b-256 7688b25335038760a3be2408872a576d2c66dd3a0e36d69f5d95f31e73d747df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b275523222f51eff54c47c112f6035cb680b38ab2ab8f410f3f5777197b53fa4
MD5 1d1523f04fc20b0f0658c906a3e5fcce
BLAKE2b-256 358fb1386d4e99065c89b3de17514194a90c90b92e1b654742a966f893de2f80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 90d8990511a8da326114cba792a61ed1d763bc210f51c8300335e00912e98a4d
MD5 d4c91fd8e58070d62ce876dd77afb5a0
BLAKE2b-256 43e5817625f0bfb5386b61463d6635fdb689312a6ee9eede72f61e66458598c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.4-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c12a6ce62f76bb1483a27a3c246b7020293396ba7dedac531ab2ea1f959b66b5
MD5 45f766ca922010378d43b48fbba338e3
BLAKE2b-256 d9284e14ff4e0a5ab2eda48768eb6c7c0289758165b71e405f768a66b45a777e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 57e2f5055365b0d0ec8abdb150839dde7ca7d6ecb13ff18289379e702307f78e
MD5 88bdfd50d1da7e91dee5ee7ca87a6b5b
BLAKE2b-256 4e5589349d8d1505dba0cc113e2de20a265d0a2c4e513f6bbab76cbea9114fe4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c43763b71e94906460efec08a656511c9e448a697e4ff07d9c109e040ae87806
MD5 32748a6a6c112e456f8ac5decfcbef4a
BLAKE2b-256 1dda994ba4e3c17a8b0a8e5b2393f68b10315d29133a803e2f85c9d661a3fbcf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.4-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e9375d3d3b39f42c3253c651f994b32b480946bb1bff1baf6f9bd6ada5154afe
MD5 a19590e6c158b8c39e258496f4702917
BLAKE2b-256 c23c2393bc69a8465b8af69a962798efd64c6870b9b3e2492157516022f58eb7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6e1850232f5cbcee7592d6ec9f057cecfa93ffee2896137747ce6aa3d1af65b1
MD5 db702461328d17cbc61b2f872f5b22d6
BLAKE2b-256 73f2efa43152a73384931aee092cccb9ec08846d1fff93016ff5e107f0eed589

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 739b7891c29f1dca3fef080a5a82d143c124ad42e0613ee4ee0d9127ac8894e4
MD5 29681855e20a07d3d0b55b953563e9b4
BLAKE2b-256 65d19242fcce13c90e7579c01f8fb216f461853c85bf5c2bc959da6a142ebfe9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.4-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5353d1f824fb568ff825693206c6a65cc7a274a1f5bb81884a422da22b914459
MD5 10d8423e1a062a2716ebadeb49eb394a
BLAKE2b-256 3735cdd7ef83dcb8e19f87848076b7a6624ea67feebc43aca22c3d0201bfe2d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for easypqp_rs-0.1.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3143cd5c7eb05d7b3b73ae64745d70054a302b135308c3b45d58a5ec7f924b6e
MD5 a33e139d599810a7db565ddc081a7f88
BLAKE2b-256 7c21476cac76d13a66dca07be5d5828bdcc9cee4a22b26a9f0d372d7191720c6

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