Skip to main content

t3w.py - Typed Thin (Py)Torch Wrapper

T3W is a lightweight framework for training PyTorch models written by Yuyao Huang during his PhD at Tongji University.

  • T3W is "typed". It leverages stronger and static typing compared to normal python code for clearer architecture and less bugs. The programming model is object-oriented. Users (you) are required to implement interfaces as subclasses and inject them as dependencies.
  • T3W is "thin". With the philosophy "less is more" in mind, it leverages a minimal self-contained codebase that basically only depends on PyTorch to run. The plugin system under interface ISideEffect makes T3W not only thin, but also highly extensible.
  • T3W stands with "PyTorch".

See the concise example mnist_example.py.

If you feel like using t3w.py, you can install it with pip install t3w.

API documentation is currently available at https://tjyuyao.github.io/t3w/api/. We are going to add more detailed user guide in the future.

Metadata

Release files for t3w 0.3.3

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

Source distribution (sdist)

Source distribution for t3w 0.3.3
File Size Uploaded
t3w-0.3.3.tar.gz 33.1 kB Details

Built distribution (wheel)

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

Total release size: 69.3 kB

Release files / t3w-0.3.3.tar.gz

Download URL t3w-0.3.3.tar.gz
Size 33.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b75b4ed52c860b9a1f12eea4c76455530e9868493d0edfcc21bdc2b3462b924b
BLAKE2b-256 checksum
How to use checksums
65036f7493feecc683c2372db3d128b2a22cc89c3592db1659872981f9b6d07b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13

Release files / t3w-0.3.3-py3-none-any.whl

Download URL t3w-0.3.3-py3-none-any.whl
Size 36.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd4670d46ea7d2823e6fd9b5d61c67662aaefd504d64ccf4446d10287b2b32c8
BLAKE2b-256 checksum
How to use checksums
479a021dda9d6b4ab8bcbbba7801c58fb9b9c0491b7050afef31f8fd8e2d9712
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.13
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