Skip to main content

This is a Sphinx extension for software-carpentry style lessons. It is designed as a replacement for the Jekyll-based software templates.

Features

  • Sphinx, including power from all of its extensions.

  • ReST

  • Markdown via the myst_parser parser, so has access to all Sphinx directives natively

  • Jupyter as a source format, including executing the notebook (via myst_nb).

  • Automatically building via Github Actions and automatic deployment to Github Pages. Included workflow file builds all branches, so you can also preview pull requests.

  • Directives for exercises/prereq/etc, works in both ReST and md.

  • The Sphinx part can be separated into a separately installable and versionable Python package, so we don’t need git sub-modules.

  • Execute code cells in markdown (via myst_nb).

  • Consists of sub-extensions for substitutions. Adding sphinx_lesson as an extension will bring in these:

    • sphinx_lesson.directives (the core directives)

    • sphinx_lesson.md_transforms (reprocess some other markdown format into myst_nb format)

    • myst_nb (not developed by us)

Host Site Locally for Development

  1. Create a virtual python environment:

    python -m venv venv
  2. Activate the virtual environment:

    source activate venv/bin/activate
  3. Install python packages:

    pip install -r requirements.txt
  4. Build local files (this can also be used for deployment):

    make html
    # Output in _build/html/
    make clean html             # clean + full rebuild
  5. Or, start a live-compiled service for your compiled site for local development:

    make livehtml

    Then view created site in your browser at http://localhost:8000 (follow the link in your console).

Status

In beta use by CodeRefinery and active development. External users would be fine (but let us know so we know to keep things stable).

Metadata

Release files for sphinx-lesson 0.8.20

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

Source distribution (sdist)

Source distribution for sphinx-lesson 0.8.20
File Size Uploaded
sphinx_lesson-0.8.20.tar.gz 39.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-lesson 0.8.20
File Interpreter ABI Platform
sphinx_lesson-0.8.20-py3-none-any.whl Python 3 none any Details

Total release size: 51.1 kB

Release files / sphinx_lesson-0.8.20.tar.gz

Download URL sphinx_lesson-0.8.20.tar.gz
Size 39.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d64cd91f4e924b07b7a77469d81bde7b3173a3763ec43f5941ab47be2d0b80c3
BLAKE2b-256 checksum
How to use checksums
808d1b972e0f5212c9293f0ecedf07ebfef2db5e8e66d8bdd0bad982b2d2f9ce
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 Jan 21, 2026.

Transparency log

Release files / sphinx_lesson-0.8.20-py3-none-any.whl

Download URL sphinx_lesson-0.8.20-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94f385319536de850fc668624d18434697a7eb739d640d1d9f24ed85310d55cd
BLAKE2b-256 checksum
How to use checksums
8bd2793a01ec5481bc4a0f328843356ce1517de5e6d0e7b51d379aa3d7358857
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 Jan 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.8.20 This release

2 release files

0.8.19

2 release files

0.8.15

2 release files

0.8.14

2 release files

0.8.13

2 release files

0.8.12

2 release files

0.8.11

2 release files

0.8.9

2 release files

0.8.8

2 release files

0.8.7

2 release files

0.8.6

2 release files

0.8.5

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

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