Skip to main content

xnano-core

The compiled Rust engine for building terminal interfaces: buffers, widgets, layout, effects, state management, and a live runtime.

Install

pip install xnano-core

Most people install the top-level xnano package instead, which adds the terminal API (xnano.new(), xnano.open(), placements, hooks, components, art and sound) on top of this engine:

pip install xnano

For v1 of xnano (a different API), install xnano>=1.2.3,<2.

Example

from xnano_core import Point, Size, Style, Color, Clock

# Basic geometry
point = Point(2, 3) + Point(1, 1)
assert (point.x, point.y) == (3, 4)

# Styles combine colors and text attributes
style = Style('red', 'black', bold=True)
assert 'bold' in style.modifiers

# Clocks can be real or manually advanced for testing
clock = Clock.manual(elapsed_seconds=2.0)
assert clock.elapsed_milliseconds == 2000.0

What it provides

  • Cell buffers: mutable 2D arrays of terminal cells with styles, colors and text attributes
  • Widgets: built-in composable pieces like blocks, tables, gauges, charts, calendars and text editors
  • Operations: animations, effects, transitions, and state mutations on the fly
  • Expression language: scalar expressions that react to state changes and user input
  • Input: keyboard and mouse events with key bindings and focus management
  • State management: declarative state schema with validation, patches, and observations
  • Runtime: offscreen and live terminal execution with event loops and frame timing, and a clock that can be stopped, stepped and resumed

Metadata

Release files for xnano-core 2.1.3

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

Source distribution (sdist)

Source distribution for xnano-core 2.1.3
File Size Uploaded Provenance
xnano_core-2.1.3.tar.gz 420.7 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for xnano-core 2.1.3
File
xnano_core-2.1.3-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
xnano_core-2.1.3-cp310-abi3-pyemscripten_2026_0_wasm32.whl CPython 3.10 abi3 PyEmscripten 2026.0+ WebAssembly Details
xnano_core-2.1.3-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details
xnano_core-2.1.3-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details
xnano_core-2.1.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
xnano_core-2.1.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details
xnano_core-2.1.3-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
xnano_core-2.1.3-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 23.0 MB

Release files / xnano_core-2.1.3.tar.gz

Download URL xnano_core-2.1.3.tar.gz
Size 420.7 kB
Tags Source
SHA-256 checksum
How to use checksums
13a6b3e75377b3a88a79fa52b7ca944a110b4834a4d3450596d4ab38221ef647
BLAKE2b-256 checksum
How to use checksums
1c5af4aca946b78b0f19069297be3c9bebaf426a890f25a1e6e8174fe493928c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / xnano_core-2.1.3-cp310-abi3-win_amd64.whl

Download URL xnano_core-2.1.3-cp310-abi3-win_amd64.whl
Size 3.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7a6935e8842fca3496c89298f8bbf539bac10b7e33f861d161b5534d0d03ba0d
BLAKE2b-256 checksum
How to use checksums
113b441d028b8c5cd7295f167a189c32216cbc1b73267ea92fcf732ce221b392
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / xnano_core-2.1.3-cp310-abi3-pyemscripten_2026_0_wasm32.whl

Download URL xnano_core-2.1.3-cp310-abi3-pyemscripten_2026_0_wasm32.whl
Size 1.8 MB
Tags CPython 3.10 PyEmscripten 2026.0+ WebAssembly abi3
SHA-256 checksum
How to use checksums
f2b9e1392bb8a2ee9adbd50532856d13629921597ae1b9db4c14fb84fa89ea3d
BLAKE2b-256 checksum
How to use checksums
ffb2e79ed112eadc63a145d60669bd79079d148178a09d87cdffe2e7ddfff357
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / xnano_core-2.1.3-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL xnano_core-2.1.3-cp310-abi3-musllinux_1_2_x86_64.whl
Size 3.2 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
e9f40558aef84cc530bdd412e9374a5eef10bc40feec975f6941b0ba8e42b4b0
BLAKE2b-256 checksum
How to use checksums
0922f6155acb5bdcac45dcd8736370311a125799e237b4f76235f7067f2cd7ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / xnano_core-2.1.3-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL xnano_core-2.1.3-cp310-abi3-musllinux_1_2_aarch64.whl
Size 3.0 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
5701a48908d8f316ab5e8855940e0896dbe5fb25b0fc5eb100f5220023e17647
BLAKE2b-256 checksum
How to use checksums
c3cefc31f23c80e6e5ec6d13ff057ed1572e81ae195c120181c368db1f5d5168
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / xnano_core-2.1.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL xnano_core-2.1.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.0 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
9edf9ded4ab670c9422b903f29430b2e62b2f0b0cbd2af97f563349b827c8bb1
BLAKE2b-256 checksum
How to use checksums
bc95e00ec3a4fe9000f1b041c5116bb54919e9ef8c21332fabdc82e014b52a3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / xnano_core-2.1.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL xnano_core-2.1.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.9 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
c26ab3ae180e8c713bd17692abe927cc2cd4ad0b1ab0bd5b825228761bf9c572
BLAKE2b-256 checksum
How to use checksums
9d93882ed3966d9f387f2521004388ed696cacb3082759566b416e1dddf25c51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / xnano_core-2.1.3-cp310-abi3-macosx_11_0_arm64.whl

Download URL xnano_core-2.1.3-cp310-abi3-macosx_11_0_arm64.whl
Size 2.8 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
69d32709bc5deb1d9d00ec0472603cdb523825edf1d1248dfaaf92e6306a6ce7
BLAKE2b-256 checksum
How to use checksums
1f9e17e821f22f236fe368bf8af8cfa0444d6a1127efa5fd0ffe6000d22a0a94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / xnano_core-2.1.3-cp310-abi3-macosx_10_12_x86_64.whl

Download URL xnano_core-2.1.3-cp310-abi3-macosx_10_12_x86_64.whl
Size 2.9 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
ef307c6816d7ca6e5c61cbaa307359e9da1af4db2d26ecb996abc00576b5b946
BLAKE2b-256 checksum
How to use checksums
370bb8b62f7d61d112496ade79711422a8ca87c3920db29083eec8fa351d58fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for xnano-core 2.1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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