Skip to main content

This package helps train, document and evaluate a Pytorch model.

Project description

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

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.

Commands

pip install drytorch

or:

uv add drytorch

🗂️ Library Organization

Folders are organized as follows:

  • 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.

📚 Documentation

Read the full documentation on Read the Docs →

The documentation includes:

📝 Changelog

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drytorch-0.1.0rc2.tar.gz (940.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drytorch-0.1.0rc2-py3-none-any.whl (96.2 kB view details)

Uploaded Python 3

File details

Details for the file drytorch-0.1.0rc2.tar.gz.

File metadata

  • Download URL: drytorch-0.1.0rc2.tar.gz
  • Upload date:
  • Size: 940.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for drytorch-0.1.0rc2.tar.gz
Algorithm Hash digest
SHA256 e9bd49bd702bed7eeb2927cfa11950b301e93b05c3b3b2aad9313049e306e018
MD5 770a173f3f6b0cbbd4660c7d3299fa29
BLAKE2b-256 165ba215cc0cc3e8f5f0bb1a04757a67b81198b5a62dc6f0e11315813f4e4659

See more details on using hashes here.

Provenance

The following attestation bundles were made for drytorch-0.1.0rc2.tar.gz:

Publisher: publish.yaml on nverchev/drytorch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file drytorch-0.1.0rc2-py3-none-any.whl.

File metadata

  • Download URL: drytorch-0.1.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 96.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for drytorch-0.1.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 d54ad44f300e0d810e444e002b44431eb9ea9cf1dd85e81ac39f40fe213595c7
MD5 4d790b7ebd5e954066bdcb4f77835b97
BLAKE2b-256 b8ba1e8048ec01fa0c7b188824c5a1382d9bec16a13fdf107c5ae210dd232b57

See more details on using hashes here.

Provenance

The following attestation bundles were made for drytorch-0.1.0rc2-py3-none-any.whl:

Publisher: publish.yaml on nverchev/drytorch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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