Skip to main content

logo

Tutorial SDK

PyPI version Python versions Tests Deploy Docs License

A declarative, reproducible tutorial packaging system and command-line tool that bridges the gap between technical content and stable containerized runtimes.

💡 Focus on teaching. We'll handle the runtime.

Tutorial environments tend to drift over time: Dockerfiles diverge from notebooks, dependencies go unpinned, and validation is left to CI pipelines assembled by hand. tutorial-sdk addresses this by driving the full lifecycle — resolving and locking dependencies, synthesizing deterministic Dockerfiles, validating notebooks locally and inside built containers, and publishing images through a standardized CI workflow — all from a single declarative config.

Online Documentation: https://bnl-peso-hub.github.io/tutorial-sdk/


Key Features

  • Declarative Configuration (tutorial.yml): Declare tutorial metadata, contents, package environments, and validation rules in a single, Pydantic-validated YAML file.
  • Deterministic Environment Synthesis: Generates cache-friendly, reproducible Dockerfiles from the dependencies and settings specified in your config.
  • Notebook-Aware Container Validation: Runs comprehensive local checks (assets, dependencies, notebook error detection) as well as full container validation (verifying built containers start successfully and that JupyterLab runs flawlessly inside).
  • Pluggable Container Backends: Runs container builds, validation, and local execution through either the Docker CLI or the Python Docker SDK (tutorial-sdk[docker]), with built-in environment diagnostics.
  • GitHub Actions Integration: Built-in support for standard, thin CI workflows (tutorial-sdk ci) that validate, build, test, and publish images from pull requests and releases.
  • Extensible Scaffolding Templates: Starter templates to quickly spin up beginner workshops, notebooks, course modules, or custom lab exercises.

Acknowledgments

This project was inspired by and carries the core ideas of the ExaWorks project and the subsequent implementation of the Tutorials management approach (radical-cybertools/tutorials) developed by the RADICAL Research Team.


License

This project is licensed under the BSD 3-Clause License.

Metadata

Release files for tutorial-sdk 0.2.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 tutorial-sdk 0.2.0
File Size Uploaded Provenance Actions
tutorial_sdk-0.2.0.tar.gz 1.5 MB Without provenance Details for tutorial_sdk-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tutorial-sdk 0.2.0
File Interpreter ABI Platform Actions
tutorial_sdk-0.2.0-py3-none-any.whl Python 3 none any Details for tutorial_sdk-0.2.0-py3-none-any.whl

Total release size: 1.6 MB

Release files / tutorial_sdk-0.2.0.tar.gz

Download URL tutorial_sdk-0.2.0.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
bbfc68b8674a20bd3ea6628e67114fcd01dd438df0e45175547762c0d03a1913
BLAKE2b-256 checksum
How to use checksums
9da881f6ef6e2f18d01474a227495ebe968763d044b3575920ae54b5e0cc0922
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tutorial_sdk-0.2.0-py3-none-any.whl

Download URL tutorial_sdk-0.2.0-py3-none-any.whl
Size 75.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
093cce6b4961b9f4c33f3857f8c5db0b2e66b56730fcdecbc73d07ba8e12c6b9
BLAKE2b-256 checksum
How to use checksums
8e237d9efd1dd77d906876f56793d1111c6b3f35666ce97013bf376e6da174cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for tutorial-sdk 0.2.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.

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.

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