Python magic to simplify unit testing in Colab and Jupyter
Project description
UTestCell
utestcell is an IPython magic function that simplifies unit testing with Colab/Jupyter notebooks.
To activate utestcell in a Colab notebook:
!pip install utestcell
%load_ext utestcell
Then add at the top of the cell
%%utestcell
To use a test file stored on Github:
#in cell #1
url = 'url of test.py file'
#in cell #2
%%utestcell -u:$url
See a detailed explanation on my blog and on the Github repo.
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file utestcell-0.0.15.tar.gz.
File metadata
- Download URL: utestcell-0.0.15.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d7648f03278d3aa728193d946c913a584b530b67b5b36e8a048a93012dc32fa
|
|
| MD5 |
a770e6856d7242507da7750effb70341
|
|
| BLAKE2b-256 |
b88e5db424a439669ced91d69b4275e2d1c00030f709ebc04e2dc6acb329777d
|
File details
Details for the file utestcell-0.0.15-py3-none-any.whl.
File metadata
- Download URL: utestcell-0.0.15-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a1817cbb9d5d8189b666d24c40a85f5ed7f7a2a5b5102b6c02a7e5cf9db6c63
|
|
| MD5 |
fddfdc137f0be0174bc761da0658eea5
|
|
| BLAKE2b-256 |
7c048d54ce353b6a953205eda0c5e2b7a1b6535c64d611ee4ab4572f28e6fc2a
|