Skip to main content

Export Jupyter notebooks into narrated, cell-labeled text.

Project description

Neurobyte

Export Jupyter notebooks into narrated, cell-labeled text for LLM contexts.

Features

  • Clean Export: Extracts code cells from .ipynb files.
  • Narrative Summary: Generates a header paragraph summarizing the code's intent (heuristics for BigQuery, DataFrames, etc.).
  • Neurobyte Outline: Adds a structured outline for documentation.
  • Redaction: Automatically redacts sensitive patterns (API keys, BigQuery table IDs).
  • Format: Outputs cell N: "code" blocks, perfect for feeding into LLMs/Agents.

Installation

pip install neurobyte

Usage

CLI

# Export a notebook to text
python -m neurobyte export my_notebook.ipynb

# Specify output file
python -m neurobyte export my_notebook.ipynb -o summary.txt

Python API

import neurobyte as nb

# Export a specific notebook
nb.export_notebook("my_notebook.ipynb", "export.txt")

# Export from current session (requires IPython)
nb.export_here("current_session.txt")

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

neurobyte-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

neurobyte-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: neurobyte-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for neurobyte-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bf477c5815c62e91c2c6d8c3c6505dc5dfca30b2158e8e424109e572c14d01d6
MD5 4ac0c6568a33ff68970eca732907348a
BLAKE2b-256 3ccecfd195486e332f8f290ae83690df2af75ad248ca3d77855136885c4710b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: neurobyte-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for neurobyte-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 58b84ade27a7ddd07840790a18bfdbf98737c6697ac7fa5d7e9d99217ea3cc72
MD5 7407987817a9a39eb09b2c3dbff48c88
BLAKE2b-256 00f2a01bcf8b7999faf8308041c94f0e2cc8f16fcb5302304ca02f71ad8b49f4

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