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

Uploaded Python 3Windows x86-64

arycal-0.2.3-py3-none-manylinux_2_38_x86_64.whl (36.6 MB view details)

Uploaded Python 3manylinux: glibc 2.38+ x86-64

arycal-0.2.3-py3-none-macosx_11_0_arm64.whl (28.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: arycal-0.2.3-py3-none-win_amd64.whl
  • Upload date:
  • Size: 27.0 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.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 689d9cd22a9518007f84e9ecb18ee298b745261d55d5d749340695534fabbfd6
MD5 1075ac6775cfc4a16384dfb597e9923b
BLAKE2b-256 adc22bc2d213807e8bdfc757151415b11be3f85983de30c053a2169be912ff73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arycal-0.2.3-py3-none-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 5ea16960ab6df55e4f621b695d6db7ae80c04874a339927196739137b311f5e9
MD5 b68199200d4e69bde80990d105e4fc40
BLAKE2b-256 3008da795e32f4d210e9abfefe02ea292e30631a5ecbca773f0414e7f84fee77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arycal-0.2.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5b2e81f8979b19d0c7d280ddbe46d0540f87c03e4a19b94ebbe1504db818b64e
MD5 9c4adc93287f8c210d150bcea3a3d5bf
BLAKE2b-256 a7ab88f7b8f4e9b7e3a27a8b0747fc010d16dc406294524a744021c2952054ca

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