Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

compose_application

Initial PyPI preview: 0.1.0a1. Optional profiles use published independent packages; generated projects select exact package-index versions. Wispsy Releases distinguishes published artifacts from main development. Historical qualification manifests remain unchanged; index qualification uses docs/release-sources-v1.json.

The optional compiled validation reference selects the expose-api Enforce Type adapter explicitly and qualifies it through persistent checked HTTP and independent process restart.

Optional composition of typed storage, APIs and spatial interfaces.

compose_application is the application integration home for Cohesion Block A. It coordinates optional use of backpack-store, expose-api and spatial-ui, with enforce-type validation and a pocket-python Track B application target.

  • Repository: wispsy/compose_application
  • Distribution: compose-application
  • Import: compose_application
  • Python: 3.14 or newer
  • Runtime dependencies: none in the initial package foundation

The component libraries remain independently useful and independently released. Application profiles explicitly select integrations and dependencies. The source provides owned persistent REST and typed UI references. Track B browser-local runtime support retains its separate application gates.

Plan and development queue

Issues hold scope, acceptance criteria and dependencies. The organization Project coordinates the repositories without replacing their existing development queues. The initial batch establishes contracts, canonical storage naming, the validation adapter and an extraction inventory of Pretty Notebook's storage behavior.

Development

uv sync --locked
uv run --locked python scripts/check_contracts.py
uv run --locked python -m unittest discover -s tests
uv run --locked python scripts/check_distribution.py

The distribution check builds and installs both wheel and source distributions into independent temporary environments outside the checkout. CI runs it on Linux, macOS and Windows using Python 3.14.

No release has been published for this project. Package publication and hosted deployment require their own selected scope and authorization. License terms will be selected before publication.

Service composition

The optional CPython service profile provides explicit configuration and an asynchronous application context owning validated storage, the typed resource and the ASGI app. Install with uv sync --extra service; base imports remain independent of the integration packages.

The persistent REST reference adds synthetic work-item CRUD with checked revisions and real HTTP/process-restart acceptance. Run python -m compose_application.reference check in the selected service environment.

The compatibility matrix qualifies immutable minimum and current development profiles, installed artifacts and code-upgrade recovery. CI retains exact per-platform receipts; browser application acceptance remains separate from CPython service support.

Typed UI reference

The optional persistent typed UI combines public spatial_ui forms with the checked REST reference. Use uv sync --locked --extra ui, then uv run --locked --extra ui python -m compose_application.ui serve --database ./work-items.sqlite3. The preview remains on loopback, with independent browser drafts, checked edits, explicit conflict/merge choices and durable SQLite records. The check command provides 15 form/REST checks across process restart; CI also exercises the actual UI in Chromium and the optional profile in installed wheel/source environments.

The optional protected native live reference adds same-origin cookie verification, per-principal native UI sessions and persistent single-record WebSocket snapshots. Install with uv sync --locked --extra live. The caller supplies existing credentials and a WebSocket-capable ASGI host; publication and public hosting remain separate.

Reference projects

Create a small application-owned reference with an explicit profile:

python -m compose_application.projects ./garden-board --name garden-board --profile ui
cd garden-board
uv sync
uv run garden-board check
uv run garden-board serve --database ./work-items.sqlite3

Select service for checked REST, ui for the loopback typed workspace, or live for a protected native ASGI factory with caller-supplied credentials, origin and host. Each project pins the accepted immutable composition source. Generation installs nothing. Matching repeat requests leave owner edits and data untouched. See the layout, setup and acceptance.

The optional persistent read-only and editable table reference provides dataset sorting, literal search, column controls and pagination over protected registered records without changing stored values or revisions. Explicit editable mode adds checked scalar saves, preserved conflict drafts and process-restart acceptance; a separate headless example uses the same rows.

Terminal applications

Generate an application-owned Expose Interface + Carets project with:

uv run python -m compose_application.projects ./progress-desk --name progress-desk --profile terminal
cd progress-desk
uv sync
uv run progress-desk check
uv run progress-desk terminal

TerminalProjectSpec selects independent immutable library sources and reuses the existing exclusive creation/repeat-preservation behavior. Generated source owns the finite application service, Carets model and typed commands; it does not require a Compose Application runtime. check is headless; interactive terminal input currently requires POSIX. Existing service/ui/live source selections remain compatible. See terminal projects.

Metadata

Release files for compose-application 0.1.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for compose-application 0.1.0a1
File Size Uploaded Provenance Actions
compose_application-0.1.0a1.tar.gz 31.8 kB With provenance Details for compose_application-0.1.0a1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for compose-application 0.1.0a1
File Interpreter ABI Platform Actions
compose_application-0.1.0a1-py3-none-any.whl Python 3 none any Details for compose_application-0.1.0a1-py3-none-any.whl

Total release size: 72.0 kB

Release files / compose_application-0.1.0a1.tar.gz

Download URL compose_application-0.1.0a1.tar.gz
Size 31.8 kB
Tags Source
SHA-256 checksum
How to use checksums
12c4ac8839558028317378b94a88c999f9f482c18088cc69e56f9ad1c8965445
BLAKE2b-256 checksum
How to use checksums
631f2e5d6bd88654ab7dd32c35ee62d67954c5679fb2bc2122beb518d1dc703b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / compose_application-0.1.0a1-py3-none-any.whl

Download URL compose_application-0.1.0a1-py3-none-any.whl
Size 40.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c0e9e6bb4f35cac4e51739f472c776763c3cc89659dfee3881bee0c988e8466
BLAKE2b-256 checksum
How to use checksums
17e04a81aedc2183395fc3cb79875882a8c07f2f5f2ec9c0d957e62468b57d31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for compose-application 0.1.0a1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for compose_application-0.1.0a1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page