JTL Syllabus
The syl CLI compiles structured YAML syllabus files from a directory tree
of lesson files (Python, Jupyter notebooks, Markdown), in support of
The LEAGUE of Amazing Programmers coding
curriculum.
Installation
pip install jtl-syllabus
This installs the syl command.
Usage
All commands operate on a lesson directory (defaults to ./lessons).
Use -l to specify a different path.
Compile a syllabus
syl compile
syl compile -l path/to/lessons
syl compile -f output.yaml # custom output path
syl compile -ngm -i100 # regroup, renumber (increment 100), metafy, then compile
Check directory structure
syl check
Validates that the lesson directory follows the expected structure: ranked module directories at the top level, no loose files.
Renumber lessons
syl renumber # renumber with increment 1
syl renumber -i 100 # renumber with increment 100
syl renumber -d # dry run (show changes without renaming)
Regroup lessons
syl regroup # group files with same basename into directories
syl regroup -d # dry run
Groups files that share the same rank and base name (e.g., 20_Loops.py
and 20_Loops.md) into a single lesson directory.
Add metadata
syl meta # add UIDs and names to all lesson files
syl meta -d # dry run
Ensures every module, lesson set, and lesson has a uid and name in
its metadata (README frontmatter, Python comments, or notebook metadata).
Global options
-v, -vv Increase verbosity (info / debug)
-e Raise exceptions on errors
-d PATH Set working directory
-l PATH Set lesson directory (default: ./lessons)
Lesson directory structure
lessons/
README.md # Course-level metadata
10_Module_Name/ # Module (ranked directory)
README.md # Module metadata
10_Lesson.py # Lesson file
20_Lesson.ipynb # Lesson file
30_Grouped_Lesson/ # Lesson directory (multiple files)
Grouped_Lesson.py
README.md
01_Lesson_Set/ # Lesson set (nested group)
10_Sub_Lesson.py
20_Sub_Lesson.ipynb
20_Another_Module/
...
See docs/course_structure.md for the full hierarchy and docs/metadata.md for metadata formats.
Metadata
Release files for jtl-syllabus 1.20260312.4
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 |
|---|---|---|---|---|
| jtl_syllabus-1.20260312.4.tar.gz | 446.2 kB | Without provenance | Details for jtl_syllabus-1.20260312.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jtl_syllabus-1.20260312.4-py3-none-any.whl | Python 3 | none | any | Details for jtl_syllabus-1.20260312.4-py3-none-any.whl |
Total release size: 460.3 kB
Release files / jtl_syllabus-1.20260312.4.tar.gz
| Download URL | jtl_syllabus-1.20260312.4.tar.gz |
|---|---|
| Size | 446.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68e0ee03330d5e18769653bf17bab4055e99a48de9c60ca81f7fb2312b1fa744
|
|
BLAKE2b-256 checksum How to use checksums |
b8a27c83ad7511c9848297c766ae118ed3464a816709ffd8c4231a5792ad3d02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.14
|
Release files / jtl_syllabus-1.20260312.4-py3-none-any.whl
| Download URL | jtl_syllabus-1.20260312.4-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
850a319b3bc70133d515460432aa4809da8ca67e29cd1864500ff11ca3ae06f3
|
|
BLAKE2b-256 checksum How to use checksums |
04e28ac7c0470d9c1ba74c054c2880b76c1c1a8f220fd843723d96d5cc49663b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.14
|
Security for jtl-syllabus 1.20260312.4
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.