Anzer
Anzer v0.1 is a command-style language for authoring web pages. Its compiler
turns a UTF-8 .anzer file into an HTML page with CSS and, when a toggle is
used, compiler-supplied JavaScript. Open the result in a regular browser.
Install from source
Anzer requires Python 3.10 or newer. With a virtual environment activated, run these commands from the root of your local Anzer Git checkout:
python -m pip install .
anzer --help
These commands install from the checkout and require no Anzer release on a package registry.
Compile your first page
Save this as hello.anzer in a directory where you can create files:
<anzer start>
anzer make title: text="Hello, Anzer!";
<anzer end>
Run these commands from that directory:
anzer check hello.anzer
anzer compile hello.anzer
Open hello.html in your browser. By default, compile replaces the input
suffix with .html and writes beside the source. Set a different destination
with -o or --output. Relative output paths are resolved from the current
working directory, and the parent directory must already exist.
anzer compile hello.anzer -o greeting.html
check validates source without creating output. Ordinary successful checks
and compiles are silent. Source diagnostics go to standard error and include
the source path, category and code, and line and column when available.
The compiler refuses an output path that refers to the input or any existing destination. It publishes the completed file atomically without overwriting a destination created by another process. Publication requires hard-link support in the output filesystem.
| Exit status | Meaning |
|---|---|
0 |
Help, successful check, or successful publication |
1 |
Source errors, missing trusted HTML acknowledgement, or compiler failure |
2 |
Usage, path, or filesystem error, including output collisions |
Trusted HTML
anzer use html="..."; embeds explicitly authored raw HTML inside a
section or container. check validates its placement. Compiling a
file containing trusted HTML requires --allow-trusted-html. The compiler
emits the HTML as authored, so it can run scripts and affect the entire page.
Use the flag only when you trust the authored HTML.
anzer compile embedded.anzer --allow-trusted-html
A successful publication containing trusted HTML emits a warning on standard
error and exits with status 0.
v0.1 scope
Anzer supports a fixed set of native elements, typed style properties, reusable
styles, and flex and grid layout. Native button actions are limited to toggling a
section or container with a unique ID. Native IDs and toggle targets reject
literal U+0000. Native text is HTML-escaped.
The CLI provides check and compile. Open or refresh the generated file in
your browser after compiling. Development and preview servers, hot reload,
editor integration, an Anzer package manager, and deployment automation are
outside v0.1.
Anzer is licensed under the MIT License.
Metadata
Release files for anzer 0.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 | Actions |
|---|---|---|---|---|
| anzer-0.1.0.tar.gz | 66.6 kB | With provenance | Details for anzer-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| anzer-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for anzer-0.1.0-py3-none-any.whl |
Total release size: 98.0 kB
Release files / anzer-0.1.0.tar.gz
| Download URL | anzer-0.1.0.tar.gz |
|---|---|
| Size | 66.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4be5ec27e5af43cb96b7bba7e895a8afaf2e2849b1dca7ae6ab8acc6a1632b71
|
|
BLAKE2b-256 checksum How to use checksums |
d464ac3a639e6b1e60ef2ed0c680cc77ce0eb160312827b8f2a97023408be0a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logRelease files / anzer-0.1.0-py3-none-any.whl
| Download URL | anzer-0.1.0-py3-none-any.whl |
|---|---|
| Size | 31.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68bac7c986a8f592f07ef16fd5f64c96cc15777bb935e39a492320d4d1b6e7f4
|
|
BLAKE2b-256 checksum How to use checksums |
99cd8a0221454c8baf4f65d6c1c7a130ebf3d34116ea38451e0e215cb80a26a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logSecurity for anzer 0.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for anzer-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Transparency logA 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.