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

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.0.0
File Size Uploaded Provenance
xnano_core-2.0.0.tar.gz 411.6 kB Without provenance Details

Built distributions (wheels)

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

Total release size: 22.9 MB

Release files / xnano_core-2.0.0.tar.gz

Download URL xnano_core-2.0.0.tar.gz
Size 411.6 kB
Tags Source
SHA-256 checksum
How to use checksums
650a81496d79e8ba9278a1e6c4bf3d8e77bf8b23e930817c078235357bf99a5c
BLAKE2b-256 checksum
How to use checksums
e789ce32cfd761b110dac66d0582078b39c584d1840b0b18c381eb2e2f786075
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.0.0-cp310-abi3-win_amd64.whl

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

Download URL xnano_core-2.0.0-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
3eaca1eaf1bb4ad6db9db71a4952a2263c47fad5c0414289795b5568c6c8dd55
BLAKE2b-256 checksum
How to use checksums
b130876d70bf7a3cb6180d2f73bb21a8c3c616c293fae8301169ac758444b3c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.0.0-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL xnano_core-2.0.0-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
d84f0fb8fa744fc7ea5a1530395a6979455b3b13ca85620e7c1ae8078d80f104
BLAKE2b-256 checksum
How to use checksums
502c546406526017508bc516e35e044fc996bb553bb9c92c97da41af91c8c800
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.0.0-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL xnano_core-2.0.0-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
656115a3e7286d3016d20ccfce743653becf2571a2cac4ff6f3cfa070eb62fe8
BLAKE2b-256 checksum
How to use checksums
78909101fa664f3fdd802255426fc0bb097d544c07abec621587b1cf02dfa7e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.0.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL xnano_core-2.0.0-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
346b25cad91d65318061555596d19e3cdc355d2f567af77e891bedb25da4e63a
BLAKE2b-256 checksum
How to use checksums
9f62dd4273036317fadb23b5ad06170043c684dc5ab39e48b5fb8c40e2436992
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.0.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL xnano_core-2.0.0-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
fd179f2a53c86558a9a42d227b8083d267ca0f07d9333c6a4bf27df86097935a
BLAKE2b-256 checksum
How to use checksums
564fa8b1c4820a0544bc65d90dd545b929ffc5335f209ba0ddd258f01163ccf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.0.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL xnano_core-2.0.0-cp310-abi3-macosx_11_0_arm64.whl
Size 2.7 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b55ca06468d8582b02d30dac70a800519788507b1292ba63a4d8685ec21d1507
BLAKE2b-256 checksum
How to use checksums
03ecb13436458ff7aa6df6d8c38550cae11d9fcdc2fd4134194c525f6f3ef0b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.0.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL xnano_core-2.0.0-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
5c559327628c5ab1db012ea5c652d0180a21e61311c0cb74f196a643234989c6
BLAKE2b-256 checksum
How to use checksums
6346d49e12579c27508a21861ae7722a10d8cb65893b31b0534ed35b0434693d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","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.0.0

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