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.3.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.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nbgen_cli_amirbnsl-0.3.3.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.3.tar.gz
Algorithm Hash digest
SHA256 cc8e705cb5c7bab3578ca6d20c0a12768aa4211da4f84d00b0bc21810a7ee841
MD5 ae0898d046f8f80756652c01af5d3ad8
BLAKE2b-256 5391e6ff36f2a36903ee829e31525a495f2e7f6ab6d4302619e4be59a28eeff7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nbgen_cli_amirbnsl-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 756ab51e575de1b7e07e0aa5215cc16470789b35ac72ab24e8c685cb4c8b8a67
MD5 93484ac29e6732f4a3ea216851de4bad
BLAKE2b-256 1044df9a8080783d64cfaa286daf41d8735e28b591d1403b3e2f1bea325683db

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