Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

drytorch_logo.png PyPI version Total Downloads Python License CI Status codecov Ruff basedpyright - checked Documentation Status

DRYTorch

Reproducible machine learning experiments with PyTorch.

Design

Don't Repeat Yourself (DRY) principles: replicable, documented, reusable.

  • Reproducibility: experimental isolation to prevent unintended dependencies, data leakage, and misconfiguration.
  • Modularity: flexible protocols preserving type inference in custom implementations.
  • Decoupled Tracking: execution independent of tracking events (logging, plotting, and storing metadata).
  • Optional Dependencies: support for external libraries (Hydra, W&B, TensorBoard, etc.) but minimal requirements.
  • Self-Documentation: automatic metadata extraction and standardization.
  • Ready-to-use: high-level implementations for advanced applications and workflows.

Installation

Requirements:

  • The library only requires recent versions of PyTorch and NumPy.
  • PyYAML and tqdm are recommended.

pip:

pip install drytorch

uv:

uv add drytorch

Package Structure

Modules are organized into the following subpackages:

  • core: internal routines and the interfaces for library and custom components.
  • lib: reusable implementations and abstract classes of the protocols.
  • tracker: optional tracker plugins that integrate via the event system.
  • contrib: community-driven extensions and support for external libraries.
  • utils: general utilities independent to the framework.

Documentation

Read the full documentation on Read the Docs →

The documentation includes:

See also

Metadata

Release files for drytorch 0.1.0rc9

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

Source distribution (sdist)

Source distribution for drytorch 0.1.0rc9
File Size Uploaded
drytorch-0.1.0rc9.tar.gz 946.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drytorch 0.1.0rc9
File Interpreter ABI Platform
drytorch-0.1.0rc9-py3-none-any.whl Python 3 none any Details

Total release size: 1.0 MB

Release files / drytorch-0.1.0rc9.tar.gz

Download URL drytorch-0.1.0rc9.tar.gz
Size 946.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b931294dfa55e7c71d3374357ede93d3e94b6d72f402043cf03ecb683b7c2212
BLAKE2b-256 checksum
How to use checksums
57a6136d2c37329ed2cf41f8458f66940cfda6fba9b07fb313a6b208e8404677
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log

Release files / drytorch-0.1.0rc9-py3-none-any.whl

Download URL drytorch-0.1.0rc9-py3-none-any.whl
Size 96.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b64f9fa781825d78461835bab2cc9b44fe7ed879d878cf7d380ed10ccf0c21c
BLAKE2b-256 checksum
How to use checksums
cae1305b26bb2aec8f62eb4c3daf0425c54da391035c46ed6635391462bac22f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 30, 2026.

Transparency log
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