Skip to main content

Across Run dYnamic Chromatogram ALignment - A Rust-based tool for aligning extracted ion chromatograms (EICs) across multiple runs

Project description

ARYCAL Python Package

This crate contains the Python packaging for arycal, allowing you to install and use the arycal CLI from Python.

Installation

From PyPI (when published)

pip install arycal

From source

# Clone the repository
git clone https://github.com/singjc/arycal.git
cd arycal/crates/arycal_pyo3

# Install maturin (build tool)
pip install maturin

# Build and install the package
maturin develop --bindings bin

Usage

Command Line

Once installed, you can use arycal from the command line:

arycal config.json

Python API

You can also call arycal programmatically from Python:

import arycal

# Run arycal with arguments
exit_code = arycal.run_arycal(["config.json"])

# Or let it use sys.argv
arycal.main()

Building Wheels

To build distributable wheels for different platforms:

# From the arycal_pyo3 directory
cd crates/arycal_pyo3

# Build for the current platform
maturin build --release --bindings bin

# Build with specific features (e.g., MPI support)
maturin build --release --bindings bin --features mpi

The built wheels will be in the ../../dist/ directory and can be installed with:

pip install ../../dist/arycal-*.whl

Requirements

  • Python 3.8 or higher
  • Rust toolchain 1.84 or higher (for building from source)

Package Structure

  • python/arycal/ - Python wrapper module
  • pyproject.toml - Python package configuration
  • examples/ - Example Python usage scripts
  • ../arycal-cli/ - Rust CLI implementation

How It Works

This package uses maturin to build Python packages from Rust code. The bindings = "bin" configuration in pyproject.toml tells maturin to include the arycal binary in the Python wheel. The Python module provides a convenient wrapper to find and execute the binary.

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.

arycal-0.2.0-py3-none-win_amd64.whl (12.4 MB view details)

Uploaded Python 3Windows x86-64

arycal-0.2.0-py3-none-manylinux_2_38_x86_64.whl (16.9 MB view details)

Uploaded Python 3manylinux: glibc 2.38+ x86-64

arycal-0.2.0-py3-none-macosx_11_0_arm64.whl (13.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file arycal-0.2.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: arycal-0.2.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 12.4 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.9.6

File hashes

Hashes for arycal-0.2.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b234d118e02fb1e69230e0c6353f408a405698948f469cf9d6a43cc6187cbdc2
MD5 ca2bc762a4b6959c96ce6a5514c3dcd2
BLAKE2b-256 e0c03db9285dce626b76cb49f1899ef6b779ec238127d9bf079cd65f03df7e9f

See more details on using hashes here.

File details

Details for the file arycal-0.2.0-py3-none-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for arycal-0.2.0-py3-none-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 5b40679907d5551ebea06096de84e50ec164c8142c574d4be30a1082b038ca3b
MD5 ac2174aa3fd995eff2f8ff43880a49ed
BLAKE2b-256 a036ff6e65fef41f089d235b80f0f9dce2ff9b00f4069feced855b960219b995

See more details on using hashes here.

File details

Details for the file arycal-0.2.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for arycal-0.2.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b704a90c3b7ae8407d1d276b834df14a6afa2b6770371426d5fea4ecff2b41f
MD5 9b55045d4eaec25df2b8c9905ca402a9
BLAKE2b-256 db65e9de04e01adde8118da31d5965549ce532174641140a20e69ff06f6f77af

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