FlowSemantics 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package FlowSemantics --version 0.1.0
                    
NuGet\Install-Package FlowSemantics -Version 0.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FlowSemantics" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FlowSemantics" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="FlowSemantics" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FlowSemantics --version 0.1.0
                    
#r "nuget: FlowSemantics, 0.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package FlowSemantics@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FlowSemantics&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=FlowSemantics&version=0.1.0
                    
Install as a Cake Tool

FlowSemantics

A zero-third-party-runtime-dependency, language-neutral execution-semantics library for defining, validating, executing, explaining, and safely simulating complex application decision flows.

Status: pre-1.0, Phases 0–7 in progress. Five conformant implementations (Python, TypeScript, Go, Java, C#/.NET) each pass 100% of the 39 conformance vectors and ship the full advanced feature surface (merge, decision tables, effective dates, cancel check, finally timeout, simulate batch, portability report, deep validate). See PLANNING.md and IMPLEMENTATION_STATE.md for verified state.

What this library is

FlowSemantics expresses the decision, error-recovery, guaranteed-cleanup, and interruption-accounting portions of complex application logic as a traceable, testable, portable pipeline. It is an optional higher-level execution model for the cases where a decision becomes an object of concern — where it must be traced, tested, simulated, versioned, audited, ported across languages, externalized into data, or validated for structural soundness.

It is not a rules engine, a workflow engine, a fluent pipeline library, a resilience library, or a replacement for native if / try / with. See docs/non-goals.md.

Dependency classes (read carefully)

This project distinguishes three dependency classes. Do not conflate them.

Class Policy What is in it
Runtime Zero third-party Nothing. The core uses only the Python standard library. Enforced by audit.py in CI.
Build Minimal, justified hatchling, required to build the wheel and sdist. Declared in [build-system].requires.
Development Local only, not shipped ruff, mypy, pytest, uv (for local workflow). Declared in [dependency-groups].dev. Never installed by consumers.

The claim is zero third-party runtime dependencies, not zero dependencies of every kind. Build and development dependencies exist and are justified.

Installation (consumer path is pip)

Consumers install with plain pip. uv is a local development convenience only and is never required by consumers or deployment platforms.

pip install flow-semantics

When a deployment platform requires a requirements.txt, generate it from the lockfile (it is an export, not a hand-maintained list):

uv export --format requirements-txt --no-dev -o requirements.txt

Python compatibility

requires-python = ">=3.11".

Python 3.11 is the minimum for a deliberate reason: the approved semantics include Python exception-group handling, which requires the built-in ExceptionGroup introduced in Python 3.11. This is a compatibility decision driven by a semantic requirement, not a preference for modern Python. See SPEC.md §11 (error semantics) for the requirement.

Typing

The package ships py.typed (PEP 561). Downstream mypy and pyright users get full type information. The py.typed marker is included in the built wheel — this is a Phase 0.0 exit gate.

Packaging names

Purpose Name
PyPI distribution flow-semantics
Python import flowsemantics
GitHub repository github.com/sancy1/flowsemantics

These names must be verified against PyPI and the Python import namespace before the first publish. The project does not assert availability. Verification is a Phase 0.6 deliverable and is recorded in PLANNING.md.

Documentation

Start at docs/README.md.

  • docs/philosophy.md — the official positioning
  • docs/non-goals.md — explicit scope boundaries
  • docs/when-not-to-use.md — where native code wins
  • docs/adr/ — architecture decision records (D1–D3, B1–B8, O1–O7)
  • SPEC.md — the single authoritative normative specification

Governance

  • CONTRIBUTING.md — how to contribute, dependency classes, PR checklist
  • SECURITY.md — disclosure process
  • CODE_OF_CONDUCT.md — Contributor Covenant 2.1
  • CHANGELOG.md — release history (Keep a Changelog format)
  • PLANNING.md — phase tracker
  • HANDOVER.md — next-session handoff
  • IMPLEMENTATION_STATE.md — what has actually shipped, verified

License

Apache-2.0. See LICENSE.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.5 0 11/23/2026
0.1.4 0 11/23/2026
0.1.3 0 11/23/2026
0.1.2 0 11/23/2026
0.1.1 0 11/23/2026
0.1.0 0 11/23/2026