Unidata Python Gallery
THIS REPOSITORY IS NO LONGER MAINTAINED
It has been replaced by Unidata's Python Training repository.
This is a collection of examples published in the Unidata
blogs or just contributed. In
addition to viewing them on the blog you can view them rendered at the web gallery,
where you can also download the examples as Jupyter notebooks.
Installation Instructions
The current list of dependencies for this collection is:
The easiest way to install these libraries is with conda.
- Install Miniconda (Python 3.4) from Continuum Analytics.
(Determine if your OS 32 or 64 bit)
- Once Miniconda is installed, from the command line (e.g., OS X terminal,
cmd.exe), run these instructions to clone the repository and create the environment:
git clone https://github.com/Unidata/python-gallery
cd python-gallery
conda env create -f environment.yml
From a Unix command line (e.g., OS X terminal)
If your default shell is NOT bash, first type bash
.
To activate or switch to a conda environment, you can `conda activate
`. For example,
```sh
conda activate gallery
```
To switch and/or deactivate environments:
```sh
conda deactivate
conda activate
```
### From a Windows command line (e.g., cmd.exe)
To activate or switch to a conda environment, you can `activate
`. For example,
```sh
activate gallery
```
To switch and/or deactivate environments:
```sh
deactivate
activate
```