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

PyPI - Version

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.2-py3-none-win_amd64.whl (12.8 MB view details)

Uploaded Python 3Windows x86-64

arycal-0.2.2-py3-none-manylinux_2_38_x86_64.whl (17.4 MB view details)

Uploaded Python 3manylinux: glibc 2.38+ x86-64

arycal-0.2.2-py3-none-macosx_11_0_arm64.whl (13.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for arycal-0.2.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 51ccd6d56447e57368d7ee755dc3e31dcddeebeb5960532ac65fe8846b4fd079
MD5 060442cd7429eac04f5e797942c8f662
BLAKE2b-256 a0b53dfd2c30225b600c304f9833147ff16149fe60cd0aeebba71694d44e10ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arycal-0.2.2-py3-none-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 de0ecd862e4d211f5c01416943f983f29fce5f05f359fb14c7b7f9518211da41
MD5 3437244b656899502ab881e172692718
BLAKE2b-256 ed4d1786498f2f398f51a8281a99c3b3ca85dabad519b45158d30c1f17274d3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arycal-0.2.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 93dfd12923965e84ed2ec7059fbb601326fc1b303f4ac29e3850d0859eab436b
MD5 e5f90112cb2d0ee6fe7ded071839f28c
BLAKE2b-256 6642fdabda1d043ee3ed0f09daf151c561e70db7630bb31fcb32652099c63254

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