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 details)
Built Distribution
File details
Details for the file nbadge-0.1.3.tar.gz
.
File metadata
- Download URL: nbadge-0.1.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.1.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 408fbb8b5ae13bfe58e65a887bfa6ec872101d053c76a699ca074cd555db149f |
|
MD5 | ce3643379704691135ffd4e0971a5655 |
|
BLAKE2b-256 | 26c7a8d27be7f6660761f0ea31b9fa20355f59744482f8e0da54e33e0c86f8c0 |
File details
Details for the file nbadge-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: nbadge-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.1.0 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24666413cca8926c85fe51b7852d1bec99d8e2bed89f717f464265c5f0ffb702 |
|
MD5 | fff1f596cee571d1644cb2b6cf4dae6f |
|
BLAKE2b-256 | 325f57f26811a167cb41c1b52055d8d574fda4c2438e44613dc93736c8326b2d |