Skip to content

bouthilx/blocks-extras

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blocks extras

The blocks-extras repository contains a variety of useful extensions to Blocks. The goal of this repository is for people to share useful extensions, bricks, and other code snippets that are perhaps not general enough to go into the core Blocks repository.

Installation

Clone to a directory of your choice.

$ git clone git@github.com:mila-udem/blocks-extras.git

Because of limitations in pip it is important that you install blocks-extras the same way that you installed Blocks. So, if you installed Blocks in editible mode, use the command:

$ pip install -e .

And if you installed Blocks in the normal mode (so using pip install without -e) then run this from the directory you just cloned instead:

$ pip install .

Note that you might have problems with namespace packages if you try to install using python setup.py develop.

Usage

blocks-extras is a namespace package, which means that everything can be imported from blocks.extras. For example, you can use:

from blocks.extras.extensions.plotting import Plot

About

A collection of extensions to the Blocks framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%