Skip to main content

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:

  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.

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

ahu_dts307tc_toolkit-0.1.0.tar.gz (160.8 kB view details)

Uploaded Source

Built Distribution

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

ahu_dts307tc_toolkit-0.1.0-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

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

Hashes for ahu_dts307tc_toolkit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 42ac7d566f5a5a386814011c272377d4e7a9af4a0e0fc61022a7add78c7a103e
MD5 c84523557f1a9e020618b1f765a6b264
BLAKE2b-256 786db7ac6b803eaf94fc0edd06aee76abd5edf99c07b191a540d717978a2e663

See more details on using hashes here.

Provenance

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

Publisher: publish.yml on SiriusAhu/ahu_dts307tc_toolkit

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

File details

Details for the file ahu_dts307tc_toolkit-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ahu_dts307tc_toolkit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c99d6c009da50bfd804258952e4d79f19b79b256e1f534c38e45359d3586ede
MD5 41967e5d390bf118c73ec4b39959cd82
BLAKE2b-256 5d0660d5bb273390c238a478f7ede884e935c58a082b55847d6e6e1b9faebd3b

See more details on using hashes here.

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

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