| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Official documentation for the DataJoint Library 2.0+ — open-source software for building scientific data pipelines.
📖 Live site: https://docs.datajoint.com
Upgrading from pre-2.0? See the Migration Guide
DataJoint is a Python framework for scientific data pipelines built on the Relational Workflow Model. For installation, tutorials, and complete documentation, visit docs.datajoint.com.
This repository contains the source for the DataJoint documentation, organized using the Diátaxis framework:
# Clone repositories
git clone https://github.com/datajoint/datajoint-docs.git
git clone https://github.com/datajoint/datajoint-python.git
cd datajoint-docs
# Start live preview at http://localhost:8000
MODE="LIVE" docker compose up --build
# Build static site (optional)
# MODE="BUILD" docker compose up --buildThe Docker environment includes MySQL, PostgreSQL, MinIO, and all dependencies.
Prerequisites: Python 3.10+, and a supported backend — MySQL 8.0+ or PostgreSQL (peer backends)
# Setup
git clone https://github.com/datajoint/datajoint-docs.git
cd datajoint-docs
python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r pip_requirements.txt
# Configure credentials
mkdir -p .secrets
echo "your_username" > .secrets/database.user
echo "your_password" > .secrets/database.password
chmod 600 .secrets/*
# Start live preview at http://localhost:8000
mkdocs serveContributions welcome! See contribution guidelines.
Quick fixes: Fork, edit markdown in src/, submit PR.
Single notebook: Re-execute one notebook in place:
docker compose exec docs jupyter nbconvert --to notebook --execute --inplace \
/main/src/tutorials/YOUR_NOTEBOOK.ipynbTutorial and how-to notebooks under src/tutorials/ and src/how-to/ are committed with their executed cell outputs. The static site renders these outputs verbatim via mkdocs-jupyter — the build container does not execute notebooks, so the rendered page always matches what was committed.
Refresh outputs whenever the DataJoint version pinned in mkdocs.yaml (extra.datajoint_version) changes, or whenever a tutorial's code changes:
# Re-execute against the bind-mounted local datajoint-python checkout
DJ_PYTHON_PATH=../datajoint-python MODE=EXECUTE docker compose up --build
DJ_PYTHON_PATH=../datajoint-python MODE=EXECUTE_PG docker compose up --buildA guard script flags notebooks whose committed DataJoint X.Y.Z connected banner doesn't match extra.datajoint_version:
python scripts/check_notebook_versions.pyNotes on the execution environment:
Yatsenko D, Nguyen TT. DataJoint 2.0: A Computational Substrate for Agentic Scientific Workflows. arXiv:2602.16585. 2026. doi: 10.48550/arXiv.2602.16585 — RRID:SCR_014543
Full citation information: docs.datajoint.com/about/citation/
| Back | FazBrowse Home | New Git URL |