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

Uploaded Python 3Windows x86-64

arycal-0.2.1-py3-none-manylinux_2_38_x86_64.whl (17.3 MB view details)

Uploaded Python 3manylinux: glibc 2.38+ x86-64

arycal-0.2.1-py3-none-macosx_11_0_arm64.whl (13.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: arycal-0.2.1-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.10.1

File hashes

Hashes for arycal-0.2.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 12dd9837522b492d0e5d9e1f416be4e63eedb2c9f32cf36ca0c89e6d44981dc2
MD5 da1b30dbc1e250bf542cd9365f450285
BLAKE2b-256 918a9e938f3aae02fa9fdf818add6a5d16e3d15de4de5b7fee0671a3156d0d38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arycal-0.2.1-py3-none-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 571cf28f10cecaab1b87f7d2254bf0cbaaf655c5d1cbb8722cdde9d298e5b291
MD5 abe5fa55c16b9ad6e9bb2e08c9fa3349
BLAKE2b-256 6d14dc8002fbd1aa6acb1849be2479b9eeca8af4df22aa537f6d3b0f49452498

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for arycal-0.2.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 44c90274d030826b9c893f2befbc200ecb4ba34e7a838a811f14087311a9023a
MD5 116c98d09ce935fdbf2cebf57de99865
BLAKE2b-256 6fc7a7750521044d93280b262e0823b725306688871837d2d091115f2d128baf

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