Tag: python

11 entries tagged "python" — 10 posts, 1 link.

Posts

Jun 20, 20268 min — Systems Notes

XState for Python Is a Shared Workflow Contract

A project note on JovaniPink/xstate-python: loading XState and Stately JSON in Python, executing with SCXML-style semantics, binding live Python handlers, and using actors without hiding workflow state in async glue.

Outcome: Reader understands what xstate-python is trying to make possible, where it fits against other Python state-machine libraries, and why SCXML run-to-completion semantics, actors, clocks, and context snapshots matter for production workflows.

Jun 16, 20266 min — Platform & AI

Free-Threaded Python Changes the Concurrency Question

A decision map for when Python teams should keep asyncio, use multiprocessing, try subinterpreters, or pilot free-threaded CPython without importing new race conditions.

Outcome: Separated Python concurrency choices by workload, state sharing, dependency readiness, and failure mode so free-threaded builds become a measured pilot instead of a default switch.

Jun 16, 20267 min — Platform & AI

Python Architecture for AI and Data Systems in 2026

A Python architecture map for AI, data, and backend teams that need notebooks, prompts, evaluations, services, repositories, and infrastructure to stop collapsing into one folder.

Outcome: Defined a production Python layout for AI and data systems that separates experimentation, evaluation, domain logic, infrastructure adapters, and deployable service code.

Jun 15, 20266 min — Platform & AI

The Python Project Skeleton I Want Before the First Feature

A production Python project skeleton that prevents import confusion, dependency drift, and toolchain sprawl before the first API route or model workflow ships.

Outcome: Specified a repo baseline with src layout, uv locking, Ruff, typed checks, pytest, dependency groups, and CI gates so Python projects begin with executable architecture.

Jun 14, 20267 min — Platform & AI

The 2026 Python Operating Standard Is Boring on Purpose

A practical Python 3.13+ operating standard for teams that need typed, readable, measurable systems without mistaking every new interpreter feature for a production default.

Outcome: Turned a pile of Python 3.13, 3.14, and 3.15-era advice into an adoption contract: stable defaults now, measured pilots for runtime changes, and automated gates before production.

How a compact Python ML cheatsheet becomes useful when synthetic demos, metrics, pipelines, and version drift are tied to the model-review decisions they can actually defend.

Outcome: Reader can use minimal scikit-learn examples as smoke tests for task framing, metric choice, pipeline boundaries, and environment drift instead of treating them as production recipes.

Apr 23, 202611 min — Systems Notes

State Machines in Python: from xstate-python to LangGraph

Why an agent harness re-fired a half-finished tool after a worker restart, the four Python libraries that solve different parts of the problem, and a concrete contribution roadmap for xstate-python.

Outcome: Reader can map a Python workflow to the right state-machine library, distinguish statechart formalism from durable execution, and know where to start contributing to xstate-python with file paths and named missing features.

Links

All tags