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 dependencies are Sphinx >= 4 and Pillow, which we use for scaling images.
Sphinx-Gallery has also support for scraping images from packages like Matplotlib, Seaborn, and PyVista. We 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.15.0.tar.gz
.
File metadata
- Download URL: sphinx-gallery-0.15.0.tar.gz
- Upload date:
- Size: 422.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7217fe98f8c4cce248db798c48f34183e4cdb277d2381e188182f92a14ec26b7 |
|
MD5 | f3cd552e0556c818ade28ab36f5743bb |
|
BLAKE2b-256 | aa225bcce07215e1c4b0511b3881b9001c963dad7a639201cdc5746ea39862d5 |
File details
Details for the file sphinx_gallery-0.15.0-py3-none-any.whl
.
File metadata
- Download URL: sphinx_gallery-0.15.0-py3-none-any.whl
- Upload date:
- Size: 164.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d66d38d901f6b65b6e3ee6c2584e37476b035d9e52907b1593a3f312946ae724 |
|
MD5 | 836d9c22cac07fcd296f6d9969460505 |
|
BLAKE2b-256 | a60bbcb59fd0ee7f59d2f9745594f4b3f8f5011b3e16864322d2edb469cd9872 |