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.2.2

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.2.2
File Size Uploaded Provenance Actions
xnano_core-2.2.2.tar.gz 427.6 kB Without provenance Details for xnano_core-2.2.2.tar.gz

Built distributions (wheels)

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

Total release size: 23.1 MB

Release files / xnano_core-2.2.2.tar.gz

Download URL xnano_core-2.2.2.tar.gz
Size 427.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b8ddc67ce2bea378d2b49eb08746d26bc5f91d96e80fae5e5d909c40b7a88c9c
BLAKE2b-256 checksum
How to use checksums
984697a064238dbc5031407fddde202988d2f5e3731e16a64128b9c56ec7aae4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.2.2-cp310-abi3-win_amd64.whl

Download URL xnano_core-2.2.2-cp310-abi3-win_amd64.whl
Size 3.1 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
0084a15101a4f45a36919c3b29cd859204ce795adf9a89f777ef6b0e6129d8ab
BLAKE2b-256 checksum
How to use checksums
99ff2efe95c0623df13b98355115dbd195d70d52fcb628901dcdd2822ae2b07c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.2.2-cp310-abi3-pyemscripten_2026_0_wasm32.whl

Download URL xnano_core-2.2.2-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
3ecb617930d3a69263e01d12716197d5d21ae339f12204169cab84084d8749b3
BLAKE2b-256 checksum
How to use checksums
1c5b1f4240d342b0a9ab5fd0f74af24c03842267925c90f351571c751d441a40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.2.2-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL xnano_core-2.2.2-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
1f165dc95c34fc1413bde7fcd2d67505b0fec38b4a070a1059331438234705a1
BLAKE2b-256 checksum
How to use checksums
3ca916e00e5ff1cf60c7da171a312cdbdc21b82865a1a8292e5ec3c6301835aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.2.2-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL xnano_core-2.2.2-cp310-abi3-musllinux_1_2_aarch64.whl
Size 3.1 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
3b9e8fae4f5b970351d682905020155a542e5534e98e825a82a37458d604f74a
BLAKE2b-256 checksum
How to use checksums
aa36315ea00703bb75723a023ffffaebef880e19a9a98ebbdd6565fff5c46beb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.2.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL xnano_core-2.2.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_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
5fb12800a5b7f16ca4c73200a6fab8249ca4469f636b6b49cefd185eb9fafd76
BLAKE2b-256 checksum
How to use checksums
7eb9dfd57a5376778c3b7617a5142d0967cac6a169291916c3c79ffa694d1f61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.2.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL xnano_core-2.2.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 2.9 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
cd5e8a7b925ada8daacb452b0251e31b2f3fc97ce063fc4e751b4e6c55e5466f
BLAKE2b-256 checksum
How to use checksums
9af902c8ea6f92bd02e1a0fb12ea84c6d2acc44ed0ad4c2fdddf65686b41eebf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.2.2-cp310-abi3-macosx_11_0_arm64.whl

Download URL xnano_core-2.2.2-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
e58e58a9dc64397d977f1ba4061f787eb3bdd4b28580024c2c7f76aed9c56427
BLAKE2b-256 checksum
How to use checksums
79c434a4ad64a28e25f6880c2ff3c75d5d69e0a3c12220a71dfebe188af4d64b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.2.2-cp310-abi3-macosx_10_12_x86_64.whl

Download URL xnano_core-2.2.2-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
96d6e3e937848c497330cece8407b6da3aed759ab523455a6e32a76df0496de1
BLAKE2b-256 checksum
How to use checksums
7b3f980c5d1672885ad13b99a11057beb53d0d4c66f8721fd07dba72cf903e3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","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.2.2

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.

Release history Release notifications | RSS feed

This release

2.2.2 This release

9 release files No provenance

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