Skip to main content

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:

  1. bump version in pyproject.toml and src/ahu_dts307tc_toolkit/__init__.py
  2. commit and push
  3. create a tag like v0.1.0
  4. push the tag
  5. GitHub Actions publishes the build to PyPI

The publishing workflow is defined in .github/workflows/publish.yml.

Metadata

Release files for ahu-dts307tc-toolkit 0.1.0

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

Source distribution (sdist)

Source distribution for ahu-dts307tc-toolkit 0.1.0
File Size Uploaded Provenance
ahu_dts307tc_toolkit-0.1.0.tar.gz 160.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ahu-dts307tc-toolkit 0.1.0
File Interpreter ABI Platform
ahu_dts307tc_toolkit-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 193.3 kB

Release files / ahu_dts307tc_toolkit-0.1.0.tar.gz

Download URL ahu_dts307tc_toolkit-0.1.0.tar.gz
Size 160.8 kB
Tags Source
SHA-256 checksum
How to use checksums
42ac7d566f5a5a386814011c272377d4e7a9af4a0e0fc61022a7add78c7a103e
BLAKE2b-256 checksum
How to use checksums
786db7ac6b803eaf94fc0edd06aee76abd5edf99c07b191a540d717978a2e663
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 28, 2026.

Transparency log

Release files / ahu_dts307tc_toolkit-0.1.0-py3-none-any.whl

Download URL ahu_dts307tc_toolkit-0.1.0-py3-none-any.whl
Size 32.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c99d6c009da50bfd804258952e4d79f19b79b256e1f534c38e45359d3586ede
BLAKE2b-256 checksum
How to use checksums
5d0660d5bb273390c238a478f7ede884e935c58a082b55847d6e6e1b9faebd3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 28, 2026.

Transparency log

Security for ahu-dts307tc-toolkit 0.1.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ahu_dts307tc_toolkit-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 28, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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