Skip to main content

biotrainer-core

A lightweight Python package providing shared data classes, I/O utilities, and helper functions for protein-related projects.

Purpose

biotrainer-core is designed as a minimal, dependency-light foundation that can be reused across multiple protein ML projects (e.g. biotrainer) without pulling in heavy frameworks like PyTorch or Transformers.

Features

Data Classes

Pydantic-based data models shared across protein ML workflows:

  • Sequence data — representations for protein sequences and their metadata
  • Protocols — supported task types (residue-level, sequence-level, contact prediction, …)
  • Metrics — structured containers for evaluation metrics
  • Model results & predictions — standardised output formats for biotrainer models
  • Embedding statistics — summary statistics over embedding spaces
  • AutoEval — data classes for automated evaluation tasks, reports, and benchmark datasets (FLIP, PBC)

H5 File Handling

Utilities for reading and writing HDF5 files used to store protein embeddings:

  • H5Database — high-level interface for embedding databases
  • Low-level helpers for chunked I/O and dataset management

Functions

Pure utility functions with no side effects:

  • Hashing — deterministic sequence hashing
  • Seeding — reproducible random seed management
  • Ranking — ranking helpers for evaluation
  • Bootstrapping — confidence interval estimation via bootstrapping

Input Files

  • FASTA parsing — read and validate FASTA files into typed sequence objects

Installation

pip install biotrainer-core

License

MIT — see LICENSE for details.

Metadata

Release files for biotrainer-core 2.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for biotrainer-core 2.1.2
File Size Uploaded Provenance Actions
biotrainer_core-2.1.2.tar.gz 34.5 kB Without provenance Details for biotrainer_core-2.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for biotrainer-core 2.1.2
File Interpreter ABI Platform Actions
biotrainer_core-2.1.2-py3-none-any.whl Python 3 none any Details for biotrainer_core-2.1.2-py3-none-any.whl

Total release size: 83.5 kB

Release files / biotrainer_core-2.1.2.tar.gz

Download URL biotrainer_core-2.1.2.tar.gz
Size 34.5 kB
Tags Source
SHA-256 checksum
How to use checksums
34ffe01cc1e71a2516e7a5e55a8dec490a17dd5a0df8bfb13bf4575c72020506
BLAKE2b-256 checksum
How to use checksums
e350d71a309ad17bdad683787ef44eef22ee599586128544588824f843aaec8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / biotrainer_core-2.1.2-py3-none-any.whl

Download URL biotrainer_core-2.1.2-py3-none-any.whl
Size 49.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b238d8cfbcaafa765b41f37940649688755f9957a577bfa5cc79ce65cc4ded5
BLAKE2b-256 checksum
How to use checksums
87059486a30f9937ec47b1bc1f34cedc11cd7624f3d3f513d1925ad37cd99288
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Security for biotrainer-core 2.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page