From 88afaf109d500d4827a4ee1c91418c95161b01f3 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Wed, 9 Sep 2026 13:25:01 -0400 Subject: [PATCH] docs: point The Python API at the workspace script that carries its code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every snippet on the page exists as a runnable script and notebook in autofit_workspace; the page never said so, and its only pointer at the workspace was a generic repo link in the Resources section at the bottom. Links scripts/overview/overview_1_the_basics.py and the matching notebook from the page intro, plus the Colab route. The Colab URL is pinned to 2026.9.8.1 to match the convention already used in docs/index.md and README.md, rather than introducing a second, main-tracking form. The workspace files keep the "the_basics" name — renaming them is separate work in a separate repo (noted when this page was renamed in #1588). Sphinx: 30 warnings, unchanged against the baseline. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_015LXave3uvSeLEq7S68NjXk --- docs/overview/python_api.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/overview/python_api.md b/docs/overview/python_api.md index e62da562c..7f855e8da 100644 --- a/docs/overview/python_api.md +++ b/docs/overview/python_api.md @@ -6,6 +6,14 @@ This page is the under-the-hood companion to [Natural Language Inference](https: it walks through the **PyAutoFit** Python API that an assistant writes for you, so you can read, run and extend that code yourself. +**Every code snippet on this page is available as a runnable script and notebook** in the +[autofit_workspace](https://github.com/PyAutoLabs/autofit_workspace): +[`scripts/overview/overview_1_the_basics.py`](https://github.com/PyAutoLabs/autofit_workspace/blob/main/scripts/overview/overview_1_the_basics.py) +and [`notebooks/overview/overview_1_the_basics.ipynb`](https://github.com/PyAutoLabs/autofit_workspace/blob/main/notebooks/overview/overview_1_the_basics.ipynb), +which you can also +[run in your browser on Colab](https://colab.research.google.com/github/PyAutoLabs/autofit_workspace/blob/2026.9.8.1/notebooks/overview/overview_1_the_basics.ipynb) +without installing anything. + **PyAutoFit** is a Python based probabilistic programming language for model fitting and Bayesian inference of large datasets. The API lets a user quickly compose a probabilistic model and fit it to data via a log likelihood function, using a range of non-linear search algorithms (e.g. MCMC, nested sampling).