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
.ipynbfiles. - 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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf477c5815c62e91c2c6d8c3c6505dc5dfca30b2158e8e424109e572c14d01d6
|
|
| MD5 |
4ac0c6568a33ff68970eca732907348a
|
|
| BLAKE2b-256 |
3ccecfd195486e332f8f290ae83690df2af75ad248ca3d77855136885c4710b8
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58b84ade27a7ddd07840790a18bfdbf98737c6697ac7fa5d7e9d99217ea3cc72
|
|
| MD5 |
7407987817a9a39eb09b2c3dbff48c88
|
|
| BLAKE2b-256 |
00f2a01bcf8b7999faf8308041c94f0e2cc8f16fcb5302304ca02f71ad8b49f4
|