copier-ui
UI-neutral abstraction over a copier template survey.
copier-ui reads a template's questions and turns them into a normalised schema with a
dependency graph, visibility state and validation. It owns semantics and renders nothing, so
the same core drives a terminal UI, a web UI, an HTTP API or a test.
It never imports a display library and never requires an event loop.
from copier_ui import TemplateUI
# unsafe=True is copier's own trust gate: this template declares Jinja extensions and tasks,
# and copier_ui refuses to load such a template before importing anything unless you say so
ui = TemplateUI.from_template("gh:stellarshenson/copier-data-science", unsafe=True)
ui.set("dataset_storage", "s3")
ui.state().fields["s3_bucket"].visible # True
ui.render("./my-project")
Part of the copier-tui project.
Metadata
Release files for copier-ui 1.0.26
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 |
|---|---|---|---|---|
| copier_ui-1.0.26.tar.gz | 17.3 kB | Without provenance | Details for copier_ui-1.0.26.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| copier_ui-1.0.26-py3-none-any.whl | Python 3 | none | any | Details for copier_ui-1.0.26-py3-none-any.whl |
Total release size: 36.2 kB
Release files / copier_ui-1.0.26.tar.gz
| Download URL | copier_ui-1.0.26.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
108feb3dd3c6dc368cb78f8dd7b1254bb3c808597ed35589d5c44d8df28cc403
|
|
BLAKE2b-256 checksum How to use checksums |
2ee51259b53244a8540c4586c0f1901c4140523086c4898812d3a01fb6e3a97f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / copier_ui-1.0.26-py3-none-any.whl
| Download URL | copier_ui-1.0.26-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1c4dd761a209102c7ee34c81eeb645d1a5c59c01857dd4d1514933b8936eded
|
|
BLAKE2b-256 checksum How to use checksums |
ace1c9a57c9061531fcb4441f65b46a2ab68cc22e4bd299639f12931da0438cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Security for copier-ui 1.0.26
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.