A collection of IPython magic commands and other utilities
Project description
ipytoolbox
A collection of IPython magic commands and other utilities.
Features
%autocuda
Automatically select the local CUDA device(s) with most free memory.
%animate
Automatically capture plt.plot(); plt.show()
calls and display them as an animation once the cell has finished executing.
Install
First make sure Python is installed, then run:
pip install ipytoolbox
Then you can use it in IPython or Jupyter Notebooks by
%load_ext ipytoolbox
Develop
First clone the repo and set it as working directory. Then install the package in development mode (preferably within its own virtual environment):
pip install -e ".[tests]"
If you have direnv
installed, you can run direnv allow
to automatically create and activate a Python virtual environment when you enter the directory.
Test
pytest
Lint
pre-commit run --all-files
Or pre-commit install
to run automatically on git commit
.
Publish
gh release create
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
Hashes for ipytoolbox-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e25bc6e2478cae9e2128050588beb99abe5db2f3d6288c0d8403752912b3370f |
|
MD5 | b5d4bae27151f0b4c08e250868f1e32f |
|
BLAKE2b-256 | fbe50be1d622c4e889e8cbcc0db9b0a7fca977fb92f242ba6f4edd7383d101e8 |