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
Links
- Repository: https://github.com/hsaeed3/xnano
- Documentation: https://xnano.hammad.app
- API reference: https://xnano.hammad.app/api-reference/
- License: MIT
Metadata
Release files for xnano-core 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| xnano_core-2.1.0.tar.gz | 417.4 kB | Without provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| xnano_core-2.1.0-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| xnano_core-2.1.0-cp310-abi3-pyemscripten_2026_0_wasm32.whl | CPython 3.10 | abi3 | PyEmscripten 2026.0+ WebAssembly | Details |
| xnano_core-2.1.0-cp310-abi3-musllinux_1_2_x86_64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ x86-64 | Details |
| xnano_core-2.1.0-cp310-abi3-musllinux_1_2_aarch64.whl | CPython 3.10 | abi3 | Linux musl 1.2+ ARM64 | Details |
| xnano_core-2.1.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.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| xnano_core-2.1.0-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
| xnano_core-2.1.0-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.0.tar.gz
| Download URL | xnano_core-2.1.0.tar.gz |
|---|---|
| Size | 417.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d23cb595173def470f8467738b1b7b9f29f4cc3d6aead1e2efe65037492cbf20
|
|
BLAKE2b-256 checksum How to use checksums |
cb97a93f9d7562583a3d2538eb4f7e5eca656ac68cb63ec496411d38b493773d
|
| 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.0-cp310-abi3-win_amd64.whl
| Download URL | xnano_core-2.1.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 |
c54411c9cf7e45f6261787e0915071eec46515bc72354a6feaa25a55730eeb8f
|
|
BLAKE2b-256 checksum How to use checksums |
58d1fc8bbe5ef9dfbe5898cd609d2e53474ed08ec994d7cf09fed8edbb9bdda6
|
| 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.0-cp310-abi3-pyemscripten_2026_0_wasm32.whl
| Download URL | xnano_core-2.1.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 |
74370e7e2bf9cb0d6472b8a1ba9604691c588b5b4e8606ad94b4b16cbe893c35
|
|
BLAKE2b-256 checksum How to use checksums |
9c2ef3458b83753ed8c50df21d46d3ef77d6cb466ebc174589033b74940d94d3
|
| 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.0-cp310-abi3-musllinux_1_2_x86_64.whl
| Download URL | xnano_core-2.1.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 |
0ef0ba9d889a805a20bc7c1d613eee0f90d9c22e8ebd50ac79f40c0b58b8fdaf
|
|
BLAKE2b-256 checksum How to use checksums |
b89a7487bfcec82108582d4b29d3f0d74862ae47558c3dcf6a7f785cc445e1d9
|
| 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.0-cp310-abi3-musllinux_1_2_aarch64.whl
| Download URL | xnano_core-2.1.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 |
2f80485e2d0f922edbebc8744503d49da2615b0788a960d5b6374f6e57ddb359
|
|
BLAKE2b-256 checksum How to use checksums |
6b55e3af07bd11895bdacad2765fd01bd6786b26e5d97824b2ea3d712497f873
|
| 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.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | xnano_core-2.1.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 |
73f026160f12f3565ce3abcaf4fcd49790e9956d93d13df2e908dab7e44b31f1
|
|
BLAKE2b-256 checksum How to use checksums |
b77be2d034caf8e7132704d1f58872442f1c86b39f43d38a88e4a827f9841687
|
| 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.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | xnano_core-2.1.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 |
b5318e7e5833849f59701a418decbfbafa590b59386497e1b5af9971f82e01f4
|
|
BLAKE2b-256 checksum How to use checksums |
1f5fa6635aeafdac6124e4986c85335173e12e0c3473337151b905ab65d4628a
|
| 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.0-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | xnano_core-2.1.0-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 |
8fddcbfd9d17c22158a1f11219eca510603c4d0b22f7457cae48d85980d98eed
|
|
BLAKE2b-256 checksum How to use checksums |
da63432c0301af55ac34b0524c1abfc16e0feb3ca2b83fce379d584f51225907
|
| 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.0-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | xnano_core-2.1.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 |
9ff3842d1cee8d2117e3ff18d16d694cd89c38e7c402326fce7ee8020f73a804
|
|
BLAKE2b-256 checksum How to use checksums |
14fd6f556b23d10d5cdfc7db4d366b2bcfbbb0c361b0514c560ffe763e662165
|
| 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.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.