Template NN
Template NN is a lightweight, easy-to-use library designed to streamline the learning process of machine learning. It aims to provide a more opinionated interface while maintaining full compatibility with any existing PyTorch code.
Huge thanks to the PyTorch team for enabling projects like this.
Purpose
Initially developed for my thesis to simplify the codebase, but evolved to a library with a declarative interface for testing and benchmarking neural networks.
The classes uses shortened acronyms such as CNN for Convolution Neural Network with single line instantiation to better focus on the learning aspect of ML.
Installation
Install this library from PyPI:
pip install template-nn
Clone the repository and install it locally for development:
git clone https://github.com/gabrielchoong/template-nn.git
cd template-nn
Using uv (recommended):
uv venv
uv sync
Using pip (not recommended for contributing):
pip install -r requirements.txt
pip install .
Releases and Contributing
See changelog for previous changes. Expect breaking changes at this stage.
See contributing if you wish to contribute to this project.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for template-nn 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| template_nn-0.2.3.tar.gz | 7.3 kB | Without provenance | Details for template_nn-0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| template_nn-0.2.3-py3-none-any.whl | Python 3 | none | any | Details for template_nn-0.2.3-py3-none-any.whl |
Total release size: 16.0 kB
Release files / template_nn-0.2.3.tar.gz
| Download URL | template_nn-0.2.3.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f7e44ab2f4988614e68a0439a6d2d6b2c3bbeaa53bc113b22b9f625e40d5504
|
|
BLAKE2b-256 checksum How to use checksums |
03dfd1f2d37588f945f98f0ee1b998738018caa66c701f0fe783a4b57449a213
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.17
|
Release files / template_nn-0.2.3-py3-none-any.whl
| Download URL | template_nn-0.2.3-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8aee7c23ea1278602b9cbb3ed0aa49c09291d1726b18857f50eb1c6371624c7a
|
|
BLAKE2b-256 checksum How to use checksums |
32efea388c5f9b3b90c30fd1c5e3b48c01f0c06b75061ae07fc0d96383d17876
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.17
|
Security for template-nn 0.2.3
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.