A Python CLI to generate Jupyter notebook badges for different services.
Project description
nbadge
A Python CLI to generate Jupyter notebook badges for different services.
References
- Add a direct Binder link for built HTML notebooks blog post by Eric J. Ma.
- Launch repositories in Deepnote documentation.
- Making Jupyter notebooks Google Colab ready blog post by Tim Sainburg.
- Open in Colab website.
Development
pdm config python.use_venv False
+pdm config python.use_venv
pdm install
pdm run nbadge --help
pdm run nbadge https://github.com/feedzai/feedzai-altair-theme/blob/master/demo.ipynb
pdm run black .
+pdm run isort .
Notes
- PEP 582: Python local packages directory.
eval "$(pdm --pep582)"
(source).- Awesome PDM.
- PDM documentation. Publish the project to PyPI. License.
- Commands:
pdm --version
.pdm init
.pdm config python.use_venv False
andpdm install
.pdm config python.use_venv True
andpdm install
.pdm add click pyperclip
.pdm add -dG format black isort
.pdm build --no-isolation --verbose
.
- Setup PDM for GitHub Action.
- Copier template and Copier template by pawamoy.
- giturlparse package.
curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 - -v 2.0.2
.
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
nbadge-0.1.3.tar.gz
(3.4 kB
view hashes)
Built Distribution
nbadge-0.1.3-py3-none-any.whl
(4.5 kB
view hashes)