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.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.2.1
File Size Uploaded Provenance Actions
xnano_core-2.2.1.tar.gz 427.4 kB Without provenance Details for xnano_core-2.2.1.tar.gz

Built distributions (wheels)

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

Total release size: 23.1 MB

Release files / xnano_core-2.2.1.tar.gz

Download URL xnano_core-2.2.1.tar.gz
Size 427.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ef829d16dc89ce458eddb83fcafaf3fc31a234578d626780cef204445b2b5819
BLAKE2b-256 checksum
How to use checksums
a397991542208c1bc79ed3d501077edffd6356322b46e3dc919a580c6177a34f
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.2.1-cp310-abi3-win_amd64.whl

Download URL xnano_core-2.2.1-cp310-abi3-win_amd64.whl
Size 3.1 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a4faf8b0c711970e0ad6c31e2d5c40fc75b9e304b67ee5be7fc422d85ba0ce36
BLAKE2b-256 checksum
How to use checksums
c6b63d12060e0900e75255248a033764a29deed5faac9801a8fcd5bea535d236
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.2.1-cp310-abi3-pyemscripten_2026_0_wasm32.whl

Download URL xnano_core-2.2.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
8885996f30f6d755436bd863ab052588b7a2b52dd055358d7407f06bb49ba2e1
BLAKE2b-256 checksum
How to use checksums
25da6799ed100898d080b2e2594ad18375e8ac66d1562bee1504477e1bfdb4bc
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.2.1-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL xnano_core-2.2.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
d5a2ae6a859d4d502cf69c1acc5a2c7a38f12de311060b5344eea38f3f605a11
BLAKE2b-256 checksum
How to use checksums
0a2cc6d56a325517b7f9b99ff767a77a62e3975df0ee4fef84f8e097e0d07218
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.2.1-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL xnano_core-2.2.1-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
ad829b66329478e32c3f86a8d03017b3859f600a20d8ee09932cb20734f8242b
BLAKE2b-256 checksum
How to use checksums
2f9c6b264ec3f7e8120edf1c7cef3303311a0feb9e4d9279f5607f790286fa8d
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.2.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL xnano_core-2.2.1-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
d8bae6b62301a604ed4a7a367c487dbad4229c6c1dd7667a3e026964248f438c
BLAKE2b-256 checksum
How to use checksums
6fc686d66989bcd69a2571f92740e3b232f316d736475a9d831ebc46d2487bc7
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.2.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL xnano_core-2.2.1-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
2f673b11f4cab545f684212dcad32314a8ae85cc80e449636e8098b2343a25de
BLAKE2b-256 checksum
How to use checksums
5e9df728f4a37c5ecca50e2e6f66a93220e864738a2b9a9d3a7da22932011e0d
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.2.1-cp310-abi3-macosx_11_0_arm64.whl

Download URL xnano_core-2.2.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
4e7e28a26025e77e44045bfab9d6832d9c75162169b4ce43d7fab90dc8a9c8cb
BLAKE2b-256 checksum
How to use checksums
0dc43bffba50b242cd7f668ff017a1223059e1a308a7c3351c06d399d1d837d7
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.2.1-cp310-abi3-macosx_10_12_x86_64.whl

Download URL xnano_core-2.2.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
12643cd4982b45ade2a52ab3d49763523a2fbca5ee534d86e9211d7125cd71f6
BLAKE2b-256 checksum
How to use checksums
229cdf3fd4c49be799a73a536d7fc2b5d910c5a51b2e94653e67595dc89ac0f3
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.2.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.

Release history Release notifications | RSS feed

This release

2.2.1 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