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 dependencies are:
Sphinx >= 1.5 (1.8 recommended)
Matplotlib
Pillow
Sphinx-Gallery has also support for packages like:
Seaborn
Mayavi
Install as a developer
You can get the latest development source from our Github repository. You need setuptools installed in your system to install Sphinx-Gallery.
Additional to the dependencies listed above you will need to install pytest and pytest-coverage for testing.
To install everything do:
$ git clone https://github.com/sphinx-gallery/sphinx-gallery
$ cd sphinx-gallery
$ pip install -r requirements.txt
$ pip install pytest pytest-coverage
$ pip install -e .
In addition, you will need the following dependencies to build the sphinx-gallery documentation:
Scipy
Seaborn
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.4.0.tar.gz
.
File metadata
- Download URL: sphinx-gallery-0.4.0.tar.gz
- Upload date:
- Size: 96.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a286cf2eea47ce838a0754ecef617616afb1f40e41e52fe765723464f52e0c2f |
|
MD5 | 1f3e578107ca253a184889733a4fbcea |
|
BLAKE2b-256 | 4f815fd32065c828c928d7387bec062d15a303b5a46e1ef342e56814d63c2800 |