Shared utilities for DTS307TC reinforcement learning coursework.
Project description
ahu-dts307tc-toolkit
Shared building blocks that are reusable across DTS307TC Coursework 1 and Coursework 2.
Scope
This package only contains logic that can serve both coursework projects, such as:
- environment helpers and pixel preprocessing,
- shared neural-network building blocks,
- PPO and DQN data buffers,
- TensorBoard logging and scalar readers,
- plotting helpers,
- evaluation export utilities,
- video generation helpers,
- general utility functions such as checkpointing, config loading, device selection, and seeding.
It does not contain coursework-specific training orchestration or report logic.
Install
From PyPI:
pip install ahu-dts307tc-toolkit
For local development:
uv sync --extra dev
Package Layout
| Module | Contents |
|---|---|
env |
generic make_pixel_env, make_carracing_env, pixel wrappers, RecordEpisodeStats |
models |
NatureCNN, SmallCNN, EnhancedCNN, MLP blocks, policy/value and Q-network heads |
buffers |
RolloutBuffer for PPO and ReplayBuffer for DQN |
logging |
TensorBoard logger and metric helpers |
evaluation |
deterministic evaluation, TensorBoard scalar readers, CSV/JSON export |
viz |
plotting helpers for coursework experiments |
media |
video rendering and export helpers |
utils |
TOML loading, checkpoint I/O, seeding, device helpers |
Release Workflow
This package is prepared for PyPI Trusted Publishing through GitHub Actions.
Release flow:
- bump
versioninpyproject.tomlandsrc/ahu_dts307tc_toolkit/__init__.py - commit and push
- create a tag like
v0.1.0 - push the tag
- GitHub Actions publishes the build to PyPI
The publishing workflow is defined in .github/workflows/publish.yml.
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 ahu_dts307tc_toolkit-0.1.0.tar.gz.
File metadata
- Download URL: ahu_dts307tc_toolkit-0.1.0.tar.gz
- Upload date:
- Size: 160.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42ac7d566f5a5a386814011c272377d4e7a9af4a0e0fc61022a7add78c7a103e
|
|
| MD5 |
c84523557f1a9e020618b1f765a6b264
|
|
| BLAKE2b-256 |
786db7ac6b803eaf94fc0edd06aee76abd5edf99c07b191a540d717978a2e663
|
Provenance
The following attestation bundles were made for ahu_dts307tc_toolkit-0.1.0.tar.gz:
Publisher:
publish.yml on SiriusAhu/ahu_dts307tc_toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ahu_dts307tc_toolkit-0.1.0.tar.gz -
Subject digest:
42ac7d566f5a5a386814011c272377d4e7a9af4a0e0fc61022a7add78c7a103e - Sigstore transparency entry: 1191101791
- Sigstore integration time:
-
Permalink:
SiriusAhu/ahu_dts307tc_toolkit@92406e358f5559f8c0ca091e04f038e868227d57 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/SiriusAhu
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@92406e358f5559f8c0ca091e04f038e868227d57 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ahu_dts307tc_toolkit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ahu_dts307tc_toolkit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 32.6 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 |
3c99d6c009da50bfd804258952e4d79f19b79b256e1f534c38e45359d3586ede
|
|
| MD5 |
41967e5d390bf118c73ec4b39959cd82
|
|
| BLAKE2b-256 |
5d0660d5bb273390c238a478f7ede884e935c58a082b55847d6e6e1b9faebd3b
|
Provenance
The following attestation bundles were made for ahu_dts307tc_toolkit-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on SiriusAhu/ahu_dts307tc_toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ahu_dts307tc_toolkit-0.1.0-py3-none-any.whl -
Subject digest:
3c99d6c009da50bfd804258952e4d79f19b79b256e1f534c38e45359d3586ede - Sigstore transparency entry: 1191101792
- Sigstore integration time:
-
Permalink:
SiriusAhu/ahu_dts307tc_toolkit@92406e358f5559f8c0ca091e04f038e868227d57 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/SiriusAhu
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@92406e358f5559f8c0ca091e04f038e868227d57 -
Trigger Event:
push
-
Statement type: