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.1.tar.gz (3.7 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.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nbgen_cli_amirbnsl-0.3.1.tar.gz
  • Upload date:
  • Size: 3.7 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.1.tar.gz
Algorithm Hash digest
SHA256 ad4048893c0f520a69dfa711799550286f3e687472f5b88f93c96e43de92b9bb
MD5 ada64e3a270059022dbef9409f7d8ff7
BLAKE2b-256 95afdc4d4c6e259cb420af7073a4a38793af74f2ebe3fc072bebf5d338706361

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nbgen_cli_amirbnsl-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8c6862c1ec345e5ac7004f1709d1e8119c1bc4c349e325726b07a12fb2a4cdc0
MD5 d40453182e3d3dafb0dc9d4633c7441e
BLAKE2b-256 8d92304a7aecec0d2354b86f6c53949dc5f3d34467feef3f8a3010e81e1be27e

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