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.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.2.3
File Size Uploaded Provenance Actions
xnano_core-2.2.3.tar.gz 428.1 kB Without provenance Details for xnano_core-2.2.3.tar.gz

Built distributions (wheels)

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

Total release size: 23.1 MB

Release files / xnano_core-2.2.3.tar.gz

Download URL xnano_core-2.2.3.tar.gz
Size 428.1 kB
Tags Source
SHA-256 checksum
How to use checksums
07317b645c03e20dc7b4db9876dff915cf31d76ca87190fa4c2fa35d2516e00d
BLAKE2b-256 checksum
How to use checksums
172a4a01d81f364be7ab6abdf516f3ef326926e61975a8a3df8c9098241248b4
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.3-cp310-abi3-win_amd64.whl

Download URL xnano_core-2.2.3-cp310-abi3-win_amd64.whl
Size 3.1 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
2be57b3e44e34cebb47e4013ee4cb2247fb1fa99ecdc8b1415fa7bc62ff636a2
BLAKE2b-256 checksum
How to use checksums
5f5abbdef3ae520a8eb4555355284e2e3064021ccffd578300c888eb1a7d4fa6
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.3-cp310-abi3-pyemscripten_2026_0_wasm32.whl

Download URL xnano_core-2.2.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
93cca43bc295e70c0529a30ba6846cce54f5c841b61fa3c5752d819d81c245fe
BLAKE2b-256 checksum
How to use checksums
b9f77eba534f8629cf60bb0e3e443948154d753003e9675612662a8e8c0da84b
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.3-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL xnano_core-2.2.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
d4611d7e07bae41444ed3cfc6fd7932334b5d7f56eca3181efe86b942e2a4027
BLAKE2b-256 checksum
How to use checksums
b3ca59b7e906672ce9feb04017fd49f7b148316dc98a531985e8a0ce316ae837
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.3-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL xnano_core-2.2.3-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
67f6c4d8f16bf0c4ae32c82b82b7088ac0ab601d9bb75ff15b5955eb5584723d
BLAKE2b-256 checksum
How to use checksums
5cba85e48fb9ba87c4e971c3d2f821cbe96e4f9383c4115cacdb6dc8ab10aa71
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.3-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL xnano_core-2.2.3-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
73c47db478b3b5a9e1fc1bbe16c21072063ecfd3fcbda2d547bf321159e5152f
BLAKE2b-256 checksum
How to use checksums
e5c208fa0f2cb148b13b1524ff51f52402ca32170e8fe5de1734ebb281febf78
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.3-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL xnano_core-2.2.3-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
50c43d3e8d34a37347868c092c3f022ee00008b9b2fed785812c73d9244a374f
BLAKE2b-256 checksum
How to use checksums
965c8178cecf2ef49f2cba1e0be39fa4fe694065b3a63fd0258d04d5c6bf9a1d
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.3-cp310-abi3-macosx_11_0_arm64.whl

Download URL xnano_core-2.2.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
bfd1064b7ebe3f051b2cfe4db0ab46c50e7d82565050403561fb874c0760e17b
BLAKE2b-256 checksum
How to use checksums
d6e7af9fae3e49d102d8be14a07a275f9441fa03bcb46a84fb532c88088369c0
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.3-cp310-abi3-macosx_10_12_x86_64.whl

Download URL xnano_core-2.2.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
d1730622dc723c2b0ae609b4c2a63ca862d69d24761235bf94658abd79c26c83
BLAKE2b-256 checksum
How to use checksums
18bef7a11adc8faebf9c29046580597d38d8e66413bc97e60745fb9701f5d424
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.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.

Release history Release notifications | RSS feed

This release

2.2.3 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