Skip to main content

A CLI tool to generate Jupyter Notebooks with data loading scripts.

Project description

nbgen

A CLI tool to generate Jupyter Notebooks with data loading scripts.

Installation

pip install nbgen-cli-amirbnsl

Usage

nbgen my_notebook.ipynb

With Kaggle support:

nbgen my_kaggle_notebook.ipynb -k

Credentials

The tool looks for Kaggle credentials in the following order:

  1. Command line arguments: --kaggle-user and --kaggle-key
  2. Environment variables: KAGGLE_USERNAME and KAGGLE_KEY
  3. Kaggle configuration file: ~/.kaggle/kaggle.json

If the notebook already exists, the new cells will be prepended to the top of the notebook.

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

nbgen_cli_amirbnsl-0.3.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nbgen_cli_amirbnsl-0.3.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file nbgen_cli_amirbnsl-0.3.2.tar.gz.

File metadata

  • Download URL: nbgen_cli_amirbnsl-0.3.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for nbgen_cli_amirbnsl-0.3.2.tar.gz
Algorithm Hash digest
SHA256 81be19c76a126e5f344b81cac60427a48ceff2cd2c83b5ac9f827ba843380596
MD5 c3b6725e39fdc85ffc54fb220e5d391f
BLAKE2b-256 7bd1849cdbcbd868fec14a4fee97f007cb604537874e1114c7925805e8769b76

See more details on using hashes here.

File details

Details for the file nbgen_cli_amirbnsl-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nbgen_cli_amirbnsl-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c14394b1c5979a6537e758cadaa1c988cb6c8767cc4eae8adeb7c5636560b688
MD5 e8d047ddcc9d50ed9e2fc599c3e0a68a
BLAKE2b-256 4fe253428cc35e72c85f01107e6abd8880db407178701d19bdca11d1bd49143a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page