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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nbgen_cli_amirbnsl-0.3.4.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.4.tar.gz
Algorithm Hash digest
SHA256 bf8ea06b07c8c08ed9b35c46a800001df201f32ae61992e6d76c3819ad612845
MD5 3f03fdb0ea98616640ec25914eb58bef
BLAKE2b-256 95fb4ea56ad149c3e2dbfe3938da0222cd453379421bdf7d8a6452867dcce748

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nbgen_cli_amirbnsl-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ef3038be6260a1ee6efd9858ea856ba6120f22fd9435a0a1f106afc7048104da
MD5 c623113fddda42202e4128f4b116e06a
BLAKE2b-256 4a9db35976beeff3547f8a4ba496add8e9c2ce1d42eea8171e489227c588c574

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