A Sphinx extension that builds an HTML version of any Python script and puts it into an examples gallery.
Project description
A Sphinx extension that builds an HTML version of any Python script and puts it into an examples gallery.
Who uses Sphinx-Gallery
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 >= 1.8.3
Sphinx-Gallery has also support for packages like:
Matplotlib
Seaborn
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.
Install as a Sphinx-Gallery developer
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 dev-requirements.txt
$ pip install -e .
Citation
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
File details
Details for the file sphinx-gallery-0.10.1.tar.gz
.
File metadata
- Download URL: sphinx-gallery-0.10.1.tar.gz
- Upload date:
- Size: 6.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 953f32b0833b0a689ff33516d0866865fb8601c0626811b95d2e844286d207e4 |
|
MD5 | 49727ee066dbeced6bfca7e89f6dc01f |
|
BLAKE2b-256 | caaeb40d475572cf93b6c27440ad15b9be05f1e8d0e65f3097ca757aa0155c63 |