A `Sphinx <https://www.sphinx-doc.org/en/master/>`_ extension that builds an HTML gallery of examples from any set of Python scripts.
Project description
A Sphinx extension that builds an HTML gallery of examples from any set of Python scripts.
Who uses Sphinx-Gallery
An incomplete list:
Installation
Install via pip
You can do a direct install via pip` by using:
$ pip install sphinx-gallery
Sphinx-Gallery will not manage its dependencies when installing, thus you are required to install them manually. Our minimal dependency is Sphinx >= 4.
Sphinx-Gallery has also support for scraping images from packages like Matplotlib, Seaborn, and Mayavi. For much of this functionality, you will need pillow. We also recommend installing system optipng binaries to reduce the file sizes of the generated PNG files.
Contributing
You can get the latest development source from our Github repository. You need setuptools installed in your system to install Sphinx-Gallery. For example, you can do:
$ git clone https://github.com/sphinx-gallery/sphinx-gallery
$ cd sphinx-gallery
$ pip install -r requirements.txt -r dev-requirements.txt
$ conda install graphviz # if using conda, you can get graphviz this way
$ pip install -e .
Check that you are all set by running:
$ pytest sphinx_gallery
How to cite
If you would like to cite Sphinx-Gallery you can do so using our Zenodo deposit.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sphinx-gallery-0.12.0.tar.gz
.
File metadata
- Download URL: sphinx-gallery-0.12.0.tar.gz
- Upload date:
- Size: 402.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24a677bd3d15f7745e6b267282ad3668afeeabcc59dd316e8b5d270674c11901 |
|
MD5 | 02084227e133fdbcd2ad51bb460c9519 |
|
BLAKE2b-256 | 42c3688e8d043f0fd9ca3c081338628b9252bb8773e811e78b99cff23142806b |
Provenance
File details
Details for the file sphinx_gallery-0.12.0-py3-none-any.whl
.
File metadata
- Download URL: sphinx_gallery-0.12.0-py3-none-any.whl
- Upload date:
- Size: 147.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07cef1ab5e1fbdd51471788cf8e2fa682e73ef3d2db2bf2e472a92508c516bd9 |
|
MD5 | 11feacbcc2eb51b60ebc04094f264d23 |
|
BLAKE2b-256 | 199e598b04051dd3e371304bb68abdab299b904190c27aa6ed4b9fa57df3920c |