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

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.1
File Size Uploaded Provenance
xnano_core-2.1.1.tar.gz 417.7 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for xnano-core 2.1.1
File
xnano_core-2.1.1-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
xnano_core-2.1.1-cp310-abi3-pyemscripten_2026_0_wasm32.whl CPython 3.10 abi3 PyEmscripten 2026.0+ WebAssembly Details
xnano_core-2.1.1-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details
xnano_core-2.1.1-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details
xnano_core-2.1.1-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.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details
xnano_core-2.1.1-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
xnano_core-2.1.1-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.1.tar.gz

Download URL xnano_core-2.1.1.tar.gz
Size 417.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d4f39c1ce86b2d77253c049e02b6c2f4856c3b7e82bd88046ba9a2cc6663b0a1
BLAKE2b-256 checksum
How to use checksums
d863980d796781d0816c66113486ee9efd61cf211d83aa3445ed30a60eb5dd05
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.1-cp310-abi3-win_amd64.whl

Download URL xnano_core-2.1.1-cp310-abi3-win_amd64.whl
Size 3.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4ef8a5e1ce47c04aac9f384e9a749533fcc158d27ae24a8c96f5c3d1d87a009d
BLAKE2b-256 checksum
How to use checksums
8a63f8000ac5705e16385571f304ce9e17a781b4bbf555275bb7853eca32b581
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.1-cp310-abi3-pyemscripten_2026_0_wasm32.whl

Download URL xnano_core-2.1.1-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
4f07f04335d6cc01119ccd3a83f2c3992c1cc405fc6492fe2aa9c474ba09c168
BLAKE2b-256 checksum
How to use checksums
4eb95c29e172647f287120dbe558cba2a5bff1e90f3fc70be5d517ce8a0a86bb
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.1-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL xnano_core-2.1.1-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
308e7b93cc8de7e8e89f6dcee1f3bc35614dadfc047dec425ace31726fad1f2e
BLAKE2b-256 checksum
How to use checksums
b24b5472f3b404d75a2be92fcd3a92cd6ef04725f69d319f1042444273280cf5
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.1-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL xnano_core-2.1.1-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
687c5b9a1e808c2c8a1e883f1bbb13262d334f4fcd208167adb5dc80810a15bc
BLAKE2b-256 checksum
How to use checksums
d142a93ba32f1ad0baf5b00936867a22790f4a8962694ed72533cdcc9232c888
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.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL xnano_core-2.1.1-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
e4dc214d5ecf6de4ac25b231d9fe5b5fcdc1af95a863b64b9a742ce4c33a48b4
BLAKE2b-256 checksum
How to use checksums
2298221202c004952470c417d4693ce16f33fbb3f5797616a41dce505179c7fe
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.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL xnano_core-2.1.1-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
7dfa606cfac591648f93f95b3ed5e896e8196d91ae269799c53d50338d8afbcd
BLAKE2b-256 checksum
How to use checksums
6da3caa1afd9a9b1fb12ae8e90e9c4ffe787771796999cd14065936d6760e3a8
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.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL xnano_core-2.1.1-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
1ceaab21396554444433302a33597683e8df5b06033a00b8b908f336de24b6be
BLAKE2b-256 checksum
How to use checksums
711c69e1f5ba11dede6f18b5ad3ae0091802617038af35ddb44c8024ed3d2b32
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.1-cp310-abi3-macosx_10_12_x86_64.whl

Download URL xnano_core-2.1.1-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
b9c671c2bdde7e5e77d989d74f9fbcec3055d566e0576abe4e1a38dcce132c35
BLAKE2b-256 checksum
How to use checksums
395fbc07479b5b93f5cc283e212078adeb5aa12547edea8fe3477a0f452ae71f
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.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.

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