Skip to main content

Notebook editor and orchestrator for reproducible data science

Project description

BulletJournal

BulletJournal is a notebook orchestration platform for reproducible data science. It layers explicit artifact passing, persistent graph state, stale detection, checkpoints, and managed execution on top of Marimo notebooks.

For multi-project orchestration with separated environments through Docker containers, see BulletJournal-Controller.

DISCLAIMER: This project is part of an experiment to evaluate the potential of AI tooling for software engineering. Most of the code in this repo was produced by an LLM and may not offer the same security or robustness as human-written code. Please don't deploy it in a critical production environment without isolation, especially given that the project was made to run user-provided Python code.

Requirements

  • Python 3.11+
  • A dedicated environment is recommended (uv or venv)

Quickstart

pip install bulletjournal-editor
bulletjournal init testproject
bulletjournal init /project --project-id study-a --skip-environment
bulletjournal start testproject --open

If you are already inside a project root, running bulletjournal with no subcommand starts the app.

Common commands

bulletjournal init testproject
bulletjournal init testproject --project-id custom-id
bulletjournal init /project --project-id study-a --skip-environment
bulletjournal start .
bulletjournal dev . --open
bulletjournal doctor .
bulletjournal validate-templates
bulletjournal rebuild-state .
bulletjournal mark-environment-changed . --reason "dependencies updated"
bulletjournal export . testproject.zip
bulletjournal import testproject.zip restored-study

Project layout

project_root/
├─ graph/
│  ├─ meta.json
│  ├─ nodes.json
│  ├─ edges.json
│  └─ layout.json
├─ notebooks/
├─ objects/
├─ dashboards/
├─ metadata/
│  ├─ project.json
│  └─ state.db
├─ checkpoints/
├─ temp/
│  ├─ uploads/
│  ├─ execution_logs/
│  └─ worker/
├─ pyproject.toml
└─ uv.lock

BulletJournal owns the project layout and schema files under graph/, metadata/, objects/, dashboards/, checkpoints/, and temp/.

pyproject.toml and uv.lock define the project environment, but they can be managed externally. Use bulletjournal init ... --skip-environment when another controller is responsible for environment definition and install orchestration.

bulletjournal init is safe to rerun. It leaves valid existing layout files in place, recreates missing required directories and runtime directories, fails on unsupported schema versions, and never overwrites existing pyproject.toml or uv.lock when --skip-environment is used.

Docs

  • docs/EXECUTION_PLAN.md
  • docs/ARCHITECTURE.md
  • docs/PROJECT_FORMAT.md
  • docs/NOTEBOOK_AUTHORING.md
  • docs/API.md
  • docs/TEMPLATES.md
  • docs/OPERATIONS.md
  • docs/TROUBLESHOOTING.md

Testing

python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
PYTHONPATH=src python -m pytest

Pre-commit

ruff.toml is consumed by ruff automatically from the repo root. To enable the git hook:

pre-commit install

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

bulletjournal_editor-2.1.0.tar.gz (749.7 kB view details)

Uploaded Source

Built Distribution

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

bulletjournal_editor-2.1.0-py3-none-any.whl (797.4 kB view details)

Uploaded Python 3

File details

Details for the file bulletjournal_editor-2.1.0.tar.gz.

File metadata

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

File hashes

Hashes for bulletjournal_editor-2.1.0.tar.gz
Algorithm Hash digest
SHA256 08370a5d0567a221f9ace9dccd15f8493c5252ebed97ea3eaa93d2e580b8fec5
MD5 31cea6fd8d4f309714b0585fa70cea81
BLAKE2b-256 f8dd574730e1ed58183aa82aab3d33681258a13179de4a509bb9ad991d6cc630

See more details on using hashes here.

Provenance

The following attestation bundles were made for bulletjournal_editor-2.1.0.tar.gz:

Publisher: publish.yml on Agoratlas/BulletJournal

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

File details

Details for the file bulletjournal_editor-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bulletjournal_editor-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42ca655957aba7f5d5729672f5b36f65daeb6ba4d2288c9aa1bb1539574b8054
MD5 61a111e85eeb5bf9a3e3a0e7d5aef9fb
BLAKE2b-256 937fb3f55982dcc8760bab153be9e4d3eb929887798c055d39f66e124ae4e3b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for bulletjournal_editor-2.1.0-py3-none-any.whl:

Publisher: publish.yml on Agoratlas/BulletJournal

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