Notebook setup package
Idea is to
import blackhc.notebook
and get someuseful stuff in your jupyter notebooks.
Right now 'useful stuff' is:
- finds the project root and changes directory to that;
- adds
$project_root/srcto the Python paths; - load the autoreload extension and set its mode to 2.
Installation
To install using pip, use:
pip install blackhc.notebook
To run the tests, use:
python setup.py test
Build and publish a new version
pip install build twine
python -m build
twine upload dist/*
Release files for blackhc.project 7.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| blackhc_project-7.0.0.tar.gz | 35.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| blackhc.project-7.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 76.8 kB
Release files / blackhc_project-7.0.0.tar.gz
| Download URL | blackhc_project-7.0.0.tar.gz |
|---|---|
| Size | 35.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
817978c990134000a42dcdb3109e9f0823bd15ac1bd714d52b420ee12ccc60fe
|
|
BLAKE2b-256 checksum How to use checksums |
1431167c9e7a85435e9055ed3b8015bf69f25e35cca441918b19390d49cbf28c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.13
|
Release files / blackhc.project-7.0.0-py3-none-any.whl
| Download URL | blackhc.project-7.0.0-py3-none-any.whl |
|---|---|
| Size | 41.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a6c6df5880b6cabef226b85f8cc8cd78d9966515b6dda465e7d24bbc3af6fd5
|
|
BLAKE2b-256 checksum How to use checksums |
f93640f3a9bee7ab06cd8e309819c95bf42f3bb9dc1312369f851ad248089ad6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.13
|