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 a CUDA device with the most free memory
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
.
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
ipytoolbox-0.1.0.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for ipytoolbox-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47b5418f5a7810ca84441d29abe90f524c18ff5a87d437b7807d61471fb450a2 |
|
MD5 | 737bd240069a4d4f1de2b3cb671e5d4d |
|
BLAKE2b-256 | f2410d828f56dcc03c7ece217925041adbd19eb17019a11ae03fbd588269cb0d |