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

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.4
File Size Uploaded Provenance Actions
xnano_core-2.1.4.tar.gz 421.3 kB Without provenance Details for xnano_core-2.1.4.tar.gz

Built distributions (wheels)

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

Total release size: 23.0 MB

Release files / xnano_core-2.1.4.tar.gz

Download URL xnano_core-2.1.4.tar.gz
Size 421.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9ae97b86e32d1634cf89d99a0b543b8f3af0f689ba5b92f19549cd7d90add8d6
BLAKE2b-256 checksum
How to use checksums
d3bba9914f63088d520e6edf21db538063bc908339c68a04947bfb38c0416372
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.1.4-cp310-abi3-win_amd64.whl

Download URL xnano_core-2.1.4-cp310-abi3-win_amd64.whl
Size 3.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
0ca59352cfc4a18d1671ad10df5f205c980f1d159f8d5dfbb9852fd6a814638b
BLAKE2b-256 checksum
How to use checksums
3dfd456a6d5e7856c3cd26527e1b2e00123de6f56f4e424348e785288a9f43a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.1.4-cp310-abi3-pyemscripten_2026_0_wasm32.whl

Download URL xnano_core-2.1.4-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
1e26850cb1583709fbd032e93def84a6c34e09489945da2ca55288c26517c0d2
BLAKE2b-256 checksum
How to use checksums
c879f20aec5d5a2675de58cd715f8a21866941911ef090cf5eb1d67153f8057a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.1.4-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL xnano_core-2.1.4-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
9b18aac00d7e4fa56cfc468245d12ee986699d7ff6c23727ba5a205c6aa5c533
BLAKE2b-256 checksum
How to use checksums
cea2daa4b0bac57c4f85e87155d479602cca033e0ab65edad2f1c10cdfeb20fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.1.4-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL xnano_core-2.1.4-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
c0c42d181a2f8a53c6ae141e820f4592fed60123168287d05c680d26b22d5598
BLAKE2b-256 checksum
How to use checksums
ecf4af40edc75487f0d916ac596aae5b542b07db6e703da553899d3d02547d4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.1.4-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL xnano_core-2.1.4-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
4bf26f2d48aef899f3a41e8a463471af61b0bfb2209b572467f621dd479f7534
BLAKE2b-256 checksum
How to use checksums
b14d785e115200f07feba4236cac3c4e4a75c50ed06e4bb73b25359ae62aaed8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.1.4-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL xnano_core-2.1.4-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
3cce88ee60a5e226342c71e618a3726d204fa0b8bfc000c9e178af773a8b7abc
BLAKE2b-256 checksum
How to use checksums
4200cc027b6de2b281349c470d75c68b50d50090c1d4a70f57dca3d6e4a03ded
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.1.4-cp310-abi3-macosx_11_0_arm64.whl

Download URL xnano_core-2.1.4-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
a0fe58b05db8b4be02935c79559df3a23e8aa37db697f15401ef5211bc85ea1b
BLAKE2b-256 checksum
How to use checksums
c5bf01d6f476d4efe367a93776601b7942b0a40b24036c3b504fff5f7131e703
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.1.4-cp310-abi3-macosx_10_12_x86_64.whl

Download URL xnano_core-2.1.4-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
308ba94c1a5e5ca3c71ae61bba8c2424910a48b70cf1adfecb54df9e9628e328
BLAKE2b-256 checksum
How to use checksums
798506d69b776b16f0bc207e82224ecb06baa0efa041ec73de1d0c2002b2da27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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.1.4

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