Skip to main content

sphinx-exercise

Documentation Status Github-CI Coverage Status

An exercise extension for Sphinx.

This package contains a Sphinx extension for producing exercise and solution directives.

Features

  • Automatic numbering for exercises and solutions
  • Cross-referencing support with ref and numref roles
  • Internationalization support for 27 languages including Chinese, Japanese, Korean, Arabic, Hindi, and more
  • HTML and PDF output support
  • Gated directive syntax for including executable code and complex content
  • Customizable styling with class options and hidden directive support

Get started

To get started with sphinx-exercise, first install it through pip:

pip install sphinx-exercise

then, add sphinx_exercise to your sphinx extensions in the conf.py

...
extensions = ["sphinx_exercise"]
...

Documentation

See the Sphinx Exercise documentation for more information.

Contributing

We welcome all contributions! See the EBP Contributing Guide for general details, and below for guidance specific to sphinx-exercise.

Metadata

Release files for sphinx-exercise 1.2.2

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-exercise 1.2.2
File Size Uploaded Provenance Actions
sphinx_exercise-1.2.2.tar.gz 575.9 kB Without provenance Details for sphinx_exercise-1.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-exercise 1.2.2
File Interpreter ABI Platform Actions
sphinx_exercise-1.2.2-py3-none-any.whl Python 3 none any Details for sphinx_exercise-1.2.2-py3-none-any.whl

Total release size: 622.2 kB

Release files / sphinx_exercise-1.2.2.tar.gz

Download URL sphinx_exercise-1.2.2.tar.gz
Size 575.9 kB
Tags Source
SHA-256 checksum
How to use checksums
738459d800a116151fe76c78e6c739ad37e30e7e7a45648ac2b597a540578eff
BLAKE2b-256 checksum
How to use checksums
63d5db480f9580a8b6c8c238de35b5c2c74f89406f89ac0f7a6eeed2dff60434
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / sphinx_exercise-1.2.2-py3-none-any.whl

Download URL sphinx_exercise-1.2.2-py3-none-any.whl
Size 46.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9151ea6edf3dc8acc6fd3394705b5bc7f36c4d73f1215fec8a6d8bf653420a98
BLAKE2b-256 checksum
How to use checksums
201ea6669509825ee3f270bf2afbf8546a7de7ffb2d8fe2a8f5ce8dfeadded5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for sphinx-exercise 1.2.2

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