Skip to main content

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

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for copier-ui 1.0.25
File Size Uploaded Provenance Actions
copier_ui-1.0.25.tar.gz 17.3 kB Without provenance Details for copier_ui-1.0.25.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for copier-ui 1.0.25
File Interpreter ABI Platform Actions
copier_ui-1.0.25-py3-none-any.whl Python 3 none any Details for copier_ui-1.0.25-py3-none-any.whl

Total release size: 36.2 kB

Release files / copier_ui-1.0.25.tar.gz

Download URL copier_ui-1.0.25.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4d25aecceca96e61599b505a45b012d6e72e6df43c349010b8ed40462ca8bd30
BLAKE2b-256 checksum
How to use checksums
da9dd47c4d84783733b85d7e3632ef92a6fce372f036a9e960aca26581078553
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.25-py3-none-any.whl

Download URL copier_ui-1.0.25-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1df0b37e71c7ced7be91986c635ceafbe39e446a5636a9d3e2abc37ff779546c
BLAKE2b-256 checksum
How to use checksums
446025616d463fda9e18aa3eff2c7224f192dceba727fa4809a6103d943aaf1b
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.25

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