Metadata-Version: 2.4
Name: leech-core
Version: 0.7.0
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
License-File: LICENSE
Summary: Rust acceleration for leech: POD5 I/O, signal refinement, and chunk extraction
Keywords: bioinformatics,nanopore,pod5,signal,tRNA
Author-email: Jay Hesselberth <jay.hesselberth@gmail.com>
License-Expression: MIT
Requires-Python: >=3.12
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://rnabioco.github.io/leech/
Project-URL: Homepage, https://github.com/rnabioco/leech
Project-URL: Issues, https://github.com/rnabioco/leech/issues
Project-URL: Repository, https://github.com/rnabioco/leech

# leech-core

Rust acceleration for [`leech`](https://github.com/rnabioco/leech) — *Learning
Enhanced Electrical Classifiers from Hanopore signals*.

This package ships the compiled `leech_core` extension module: POD5 I/O with a
process-global reader cache, signal-map refinement, per-base statistics,
`signal_kmer` encoding, and the batched chunk-extraction pipelines used by
`leech data prepare` and `leech predict`.

It is not useful on its own. Install it through `leech`:

```bash
pip install "leech[rust]"
```

`leech` runs without it — every accelerated path has a pure-Python fallback —
but preparation and inference are substantially faster with it installed.
`leech-core` is released in lockstep with `leech` and reports a matching
`__version__`; `check-rust` warns if the two ever diverge.

Wheels are published for manylinux x86_64 and aarch64. On other platforms pip
falls back to the sdist, which needs a Rust toolchain and network access to
github.com (the `escapepod-signal` dependency is fetched from git, not
crates.io).

MIT licensed. Source, issues, and documentation live in the
[`leech` repository](https://github.com/rnabioco/leech).

