pyinkui
pyinkui is a Python translation of @inkjs/ui, built on top of the already-translated pyinkcli runtime.
Installation
pyproject.toml installs pyinkcli directly from:
https://github.com/quantmew/pyinkcli.git
pip install -e .
Quick Start
from pyinkcli import Box, render
from pyinkui import Spinner, StatusMessage
def App():
return Box(
Spinner(label="Loading"),
StatusMessage("Ready", variant="success"),
flexDirection="column",
)
render(App).wait_until_exit()
Testing
PYTHONPATH=src pytest
Examples
Examples are optimized to be directly runnable with Python. They keep the upstream-facing filenames where practical, and use a small bootstrap helper to ensure the local src/ tree is imported correctly.
License
MIT. The license text is copied from upstream ink-ui.
Metadata
Release files for pyinkui 0.1.1
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 | Actions |
|---|---|---|---|---|
| pyinkui-0.1.1.tar.gz | 3.5 MB | Without provenance | Details for pyinkui-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyinkui-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for pyinkui-0.1.1-py3-none-any.whl |
Total release size: 3.6 MB
Release files / pyinkui-0.1.1.tar.gz
| Download URL | pyinkui-0.1.1.tar.gz |
|---|---|
| Size | 3.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0769840f522dc7fa4ef3f9bca218263e49ae2e86f94dc9ee2dcb16b80ab03357
|
|
BLAKE2b-256 checksum How to use checksums |
bf5adc0d6369f9faa7b01b6156b57ba5ed516fac3b11b7c892ad7ff481f15b0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / pyinkui-0.1.1-py3-none-any.whl
| Download URL | pyinkui-0.1.1-py3-none-any.whl |
|---|---|
| Size | 27.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e3c3c6dc96282433e4ded2b44f7473fb901b71fc06bf2444e36c6de146070fd
|
|
BLAKE2b-256 checksum How to use checksums |
7f3d5218b981cffe099de0c570175b0798cad6a43faa197ce8d442cc6f979ba6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for pyinkui 0.1.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.