This package helps train, document and evaluate a Pytorch model.
Project description
DRYTorch
💡 Design Philosophy
By adhering to the Don't Repeat Yourself (DRY) principle, this library makes your machine-learning projects easier to replicate, document, and reuse.
✨ Features at a Glance
- Experimental Scope: All logic runs within a controlled scope, preventing unintended dependencies, data leakage, and misconfiguration.
- Modularity: Components communicate via defined protocols, providing type safety and flexibility for custom implementations.
- Decoupled Tracking: Logging, plotting, and metadata are handled by an event system that separates execution from tracking.
- Lean Dependencies: Minimal core requirements while supporting optional external libraries (Hydra, W&B, TensorBoard, etc.).
- Self-Documentation: Metadata is automatically extracted in a standardized and robust manner.
- Ready-to-Use Implementations: Advanced functionalities with minimal boilerplate, suitable for a wide range of ML applications.
📦 Installation
Requirements The library only requires recent versions of PyTorch and NumPy. Tracker dependencies are optional.
Installation Using pip:
pip install drytorch
Using uv
uv add drytorch
🗂️ Library Organization
The library uses a microkernel (plugin) architecture to separate concerns.
- Core (
core): The library kernel. Contains the Event System, Protocols for component communication, and internal safety Checks. - Standard Library (
lib): Reusable implementations and abstract classes of the protocols. - Trackers (
tracker): Optional tracker plugins that integrate via the event system. - Contributions (
contrib): Dedicated space for community-driven extensions. - Utilities (
utils): Functions and classes independent to the framework.
📙 Notebook Tutorials
Dive into the full, runnable examples:
📝 Changelog
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file drytorch-0.1.0b5.tar.gz.
File metadata
- Download URL: drytorch-0.1.0b5.tar.gz
- Upload date:
- Size: 911.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb8e3a768989033090c554ee668823c846c24499d90a9e0b2b1ee6e3c573ed68
|
|
| MD5 |
b830b661c46efea8bfad5cf586ad6765
|
|
| BLAKE2b-256 |
ba77cfe8b3e66dcf3cc3612b679d00f768008974d42fbf6e2e00571662d93c2d
|
Provenance
The following attestation bundles were made for drytorch-0.1.0b5.tar.gz:
Publisher:
publish.yaml on nverchev/drytorch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
drytorch-0.1.0b5.tar.gz -
Subject digest:
bb8e3a768989033090c554ee668823c846c24499d90a9e0b2b1ee6e3c573ed68 - Sigstore transparency entry: 717930287
- Sigstore integration time:
-
Permalink:
nverchev/drytorch@a9aecbfe741df80b8223ddd11920857d532451e8 -
Branch / Tag:
refs/tags/v0.1.0b5 - Owner: https://github.com/nverchev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@a9aecbfe741df80b8223ddd11920857d532451e8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file drytorch-0.1.0b5-py3-none-any.whl.
File metadata
- Download URL: drytorch-0.1.0b5-py3-none-any.whl
- Upload date:
- Size: 88.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ce6840bd7d0187be6d6779653cc5b1fb6ddb1be31a143f97a43b6c2470de14c
|
|
| MD5 |
548c95c0a6df8611f1fc0360a2ee1d39
|
|
| BLAKE2b-256 |
9d8aafd70e577e69fe81b1e72055ceca7fd958774f6c598f7fefdacecc4ad819
|
Provenance
The following attestation bundles were made for drytorch-0.1.0b5-py3-none-any.whl:
Publisher:
publish.yaml on nverchev/drytorch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
drytorch-0.1.0b5-py3-none-any.whl -
Subject digest:
9ce6840bd7d0187be6d6779653cc5b1fb6ddb1be31a143f97a43b6c2470de14c - Sigstore transparency entry: 717930293
- Sigstore integration time:
-
Permalink:
nverchev/drytorch@a9aecbfe741df80b8223ddd11920857d532451e8 -
Branch / Tag:
refs/tags/v0.1.0b5 - Owner: https://github.com/nverchev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@a9aecbfe741df80b8223ddd11920857d532451e8 -
Trigger Event:
push
-
Statement type: