atomr-view — Heavy Client UI for Federated atomr Systems
Status: Implementation Phase Complete / Testing Suite Active
atomr-view is an actor-based view management system designed for heavy
client applications (Desktop, Mobile, Wasm) that integrate with federated
atomr clusters. It treats the UI rendering surface as a supervised peer
with network-shaped failure modes, using the actor model to bridge the gap
between remote state authority and local pixels.
Mental Model
In atomr-view, the UI is not a separate layer bridged by callbacks; it is a
subgraph of the local ActorSystem.
WindowActor: Owns an OS window, its declarative scene, and child regions.RegionActor: Manages a stateful subtree of the UI, typically subscribed to a remote sharded entity or a local streaming feed.UiBridge: An asynchronous, backpressured conduit between the actor system and the rendering thread (e.g.,winit+wgpu).SceneDescription: A declarative, keyed tree of semantic UI intent (Button, Text, etc.) that the backend reconciles against native widgets.
Key Features
- Location Transparency: UI actors interact with cluster-sharded actors using
the same
tell/ask/watchprimitives as local actors. - Backpressure Discipline: The
UiBridgeuses conflation for state updates, ensuring the UI thread only ever processes the freshest state available. - Declarative Reconciliation: Keyed tree-diffing computes minimal patches, preserving local UI state (like cursor position) across updates.
- Multi-Backend Strategy: Supports
winit+wgpu+eguifor desktop, with architectural hooks for Wasm (DOM) and Mobile (SwiftUI/Compose). - Python-First API: Full integration via PyO3, allowing UI actors and complex scene manipulation to be authored in Python.
Platform Backends
atomr-view supports multiple rendering surfaces via the UiBackend strategy:
- Desktop (
winit+wgpu+egui): The default reference implementation for high-performance desktop apps. - Bevy (
BevyBackend): Integrates the actor system with Bevy's ECS. Use theActorBackedcomponent to mirror ECS entities with long-lived actors for persistence and netcode. - Wasm (
WebDomBackend): Targets browser environments with a cooperative single-threaded scheduler that yields torequestAnimationFrame. - Mobile (
NativeShellBackend): Bridges to SwiftUI (iOS) and Jetpack Compose (Android) viauniffi, maintaining native UI performance while keeping business logic in Rust actors.
Quick Start
Rust
use atomr_view_core::prelude::*;
use atomr_core::prelude::*;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let sys = ActorSystem::create("App", Config::reference()).await?;
// 1. Initialize the bridge and backend
let (cmd_tx, cmd_rx) = mpsc::channel(100);
let (evt_tx, evt_rx) = mpsc::channel(100);
let bridge = UiBridge { cmd_rx, evt_tx };
// 2. Start the bridge actor
let bridge_actor = sys.actor_of(Props::create(move || {
UiBridgeActor::new(cmd_tx.clone(), evt_rx)
}), "ui-bridge")?;
// 3. Define a window actor
let main_window = sys.actor_of(Props::create(move || {
WindowActor::new("main", bridge_actor.clone())
}), "main-window")?;
// 4. Run the backend (blocks main thread)
WinitWgpuBackend.run(bridge);
Ok(())
}
Python
import atomr_view as view
ui = view.PyUiSystem()
ui.create_window("main", "My Federated App")
# Update the scene declaratively
root = view.SceneNode(
key=view.SceneKey(),
kind=view.NodeKind.Container(),
properties=view.PropertyMap({"layout": view.PropertyValue.String("vertical")}),
children=[
view.SceneNode(
key=view.SceneKey(),
kind=view.NodeKind.Text(),
properties=view.PropertyMap({"text": view.PropertyValue.String("Hello from Python!")}),
children=[]
)
]
)
ui.set_scene("main", view.SceneDescription(root))
Implementation Status
- Core Foundation:
UiBridge,SceneDescription, keyed diffing engine. - Desktop Backend:
winit+wgpu+eguireference implementation. - Python Bindings: PyO3-based bridge with full scene manipulation support.
- Testing: Property-based tests for diffing invariants and async integration tests.
- Bevy Integration:
BevyBackendbridging actors with ECS entities. - Wasm Support:
WebDomBackendwith cooperative cooperative scheduler hooks. - Mobile Flow:
NativeShellBackendwithuniffibindings for native shells.
Project Structure
crates/atomr-view-core: Core actor logic and scene engine.crates/atomr-view-backends: Swappable rendering strategies.crates/atomr-view-python: PyO3 integration.ai-skills/: Skills for AI assistants working withatomr-view.
License
Apache-2.0
Metadata
Release files for atomr-view 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| atomr_view-0.4.1.tar.gz | 50.5 kB | With provenance | Details for atomr_view-0.4.1.tar.gz |
Built distributions (wheels)
Total release size: 8.9 MB
Release files / atomr_view-0.4.1.tar.gz
| Download URL | atomr_view-0.4.1.tar.gz |
|---|---|
| Size | 50.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c00652d3ce09f367c5032a796421439ca9d9600f80387c32ad9632c69796479
|
|
BLAKE2b-256 checksum How to use checksums |
4049844f32f1e64752e96501c7801a57a7533de711e28dcca8fd122457df8217
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 12, 2026.
Transparency logRelease files / atomr_view-0.4.1-cp310-abi3-win_amd64.whl
| Download URL | atomr_view-0.4.1-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 529.4 kB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
a7c8e55ac1657af8b456a6af79ffbbadc321d9af59e70c389076c0f2e4c38d78
|
|
BLAKE2b-256 checksum How to use checksums |
f4d6cd67aacb0169429c2266350a02d69d0e664d9905bf6d9995f5c9710b23da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 12, 2026.
Transparency logRelease files / atomr_view-0.4.1-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | atomr_view-0.4.1-cp310-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
f9158a48a5822fa7a317a8b5e5ace1b460484c4c3c35bdc56f2c04ad894a3970
|
|
BLAKE2b-256 checksum How to use checksums |
59deebf3771a3b7ee76af635dbf15a35180dbb609b8917ca72f43b45b079f9fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 12, 2026.
Transparency logRelease files / atomr_view-0.4.1-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | atomr_view-0.4.1-cp310-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 1.8 MB |
| Tags | CPython 3.10 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
5a3f87eaf346e40b3ae6c71d821e776305491c3cf61e047ece03a035f3c9ae68
|
|
BLAKE2b-256 checksum How to use checksums |
06e02e678ed5fa781fd69f470e9113f0fd7eb1852bbae66d80dd7878046ef342
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 12, 2026.
Transparency logRelease files / atomr_view-0.4.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | atomr_view-0.4.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
bedc7f02845e28007754e375c51eb99b83a7bc85123537eee7ac11b48edd8644
|
|
BLAKE2b-256 checksum How to use checksums |
6ba025969d787e181be198b9d02057509f650187e58d8376a8bb696fdf9d5595
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 12, 2026.
Transparency logRelease files / atomr_view-0.4.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | atomr_view-0.4.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
05b1b40d3db947c44feee5bff8f2b3d942698aaaf8931fafd9107f6bd380f063
|
|
BLAKE2b-256 checksum How to use checksums |
078b8938daa4fb5f9d4eec43f72df31f9e3ee109589efa1f55567a70dfccc567
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 12, 2026.
Transparency logRelease files / atomr_view-0.4.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | atomr_view-0.4.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1e445b1cc74716f7336c8099f73c94be87b4ec8990ef1cebb727e5155395cc10
|
|
BLAKE2b-256 checksum How to use checksums |
d2e5210a1b1c9d056ab76c64bc8a388c7f8884bf7c8a4b3061b83cb9cc81c7b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 May 12, 2026.
Transparency logSecurity for atomr-view 0.4.1
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
All 7 files in this release have been uploaded with provenance metadata.
Attestation for atomr_view-0.4.1.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 May 12, 2026.
Transparency logA 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.