Skip to main content

Read Jupyter notebook cells from the command line

Project description

jupycat

cat for Jupyter notebooks. Read cells, outputs, and images from the command line.

$ jupycat notebook.ipynb
  0 [mark] (a1b2c3d4)  # My Analysis
  1 [code] (e5f6g7h8)  import pandas as pd
  2 [code] (i9j0k1l2)  df = pd.read_csv("data.csv")

Install

pip install jupycat

Zero dependencies · Python 3.8+

Quick start

jupycat notebook.ipynb              # list all cells
jupycat notebook.ipynb 5            # show cell 5
jupycat notebook.ipynb 5 -o         # show cell 5 with outputs
jupycat notebook.ipynb -s "def foo" # search cell source for pattern
jupycat notebook.ipynb 7 --img      # extract images to temp dir
jupycat notebook.ipynb 7 --img .    # extract images to current directory
jupycat notebook.ipynb --fix-ids    # add missing cell IDs

Docs

Usage · AI Agents · Contributing

License

MIT

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

jupycat-0.1.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

jupycat-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file jupycat-0.1.0.tar.gz.

File metadata

  • Download URL: jupycat-0.1.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jupycat-0.1.0.tar.gz
Algorithm Hash digest
SHA256 734fc33f46b107bab2fedff9e3e5c8d834e56d0f905b042c556bd100bf804693
MD5 a16d04b33e53718aaf34cd2b95bb1414
BLAKE2b-256 642e6d5dc8e8f479fc4594a841f47b2b610fee9e20aed89e0e528aa920caf552

See more details on using hashes here.

Provenance

The following attestation bundles were made for jupycat-0.1.0.tar.gz:

Publisher: release.yml on ebin7joseph/jupycat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jupycat-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: jupycat-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jupycat-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87b31b8c051ee0133eda2a0a7520f4fe6a6011f69c6f5f271650de3f85102a13
MD5 49783358ac760b869ce3311ec73a91f3
BLAKE2b-256 ec8e499312a5e851e42ed49a07577eee46f9d59f363bf3d68db5907bb1ada715

See more details on using hashes here.

Provenance

The following attestation bundles were made for jupycat-0.1.0-py3-none-any.whl:

Publisher: release.yml on ebin7joseph/jupycat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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