pyrig-webapp
A pyrig plugin to build web applications.
Overview
pyrig-webapp is a pyrig plugin that scaffolds a Reflex web application and packages it with a Caddy reverse proxy for local or production use.
Requirements
In addition to pyrig's requirements, you will also need the requirements for
pyrig-containers.
For local composing port forwarding from ports 80/443 to 8080/8443 is required,
you may use the scripts/forward-ports.sh script to set it up.
You may need to trust Caddy's local certificate authority in your browser or
operating system for local HTTPS to work without warnings.
What it adds
- Reflex application — a starter app module and
rxconfig.pyare generated for the project. The default page displays “Hello, World!” and can be customized in the generated app module. - Framework tooling — Reflex is added as a runtime dependency, its generated files are ignored by version control, and pyrig compiles the app after project synchronization and in a pre-push hook.
- Caddy configuration — a
caddy/Caddyfilereverse-proxies requests to the Reflex application.SITE_ADDRESSconfigures the site address; it defaults tolocalhost. - Container configuration — the container and Compose configuration runs the app alongside Caddy, with health checks, persistent Caddy data, and HTTP, HTTPS, and HTTP/3 ports published on higher host ports 8080 and 8443. to GHCR on release.
- Port forwarding —
scripts/forward-ports.shsets up permanent forwarding from ports 80/443 to the Compose-published ports 8080/8443.
Usage
uv add pyrig-webapp --dev
uv run pyrig sync
sudo bash scripts/forward-ports.sh
After synchronization, edit the generated app module to build your application. Start the application and proxy together from the project root:
bash scripts/compose-up.sh build
# or to use the published image
bash scripts/compose-up.sh pull
Documentation
Full documentation is available on the documentation site.
Metadata
Release files for pyrig-webapp 0.15.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 |
|---|---|---|---|---|
| pyrig_webapp-0.15.0.tar.gz | 11.9 kB | Without provenance | Details for pyrig_webapp-0.15.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyrig_webapp-0.15.0-py3-none-any.whl | Python 3 | none | any | Details for pyrig_webapp-0.15.0-py3-none-any.whl |
Total release size: 28.5 kB
Release files / pyrig_webapp-0.15.0.tar.gz
| Download URL | pyrig_webapp-0.15.0.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0d5b2ec4d3b34ea2e25c52c565d14f748ca4c556395aa390e21dec94ba509e3
|
|
BLAKE2b-256 checksum How to use checksums |
8969aa0a54580d275c93adb095a40cbd77fd42185d2943cee3316141856759d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pyrig_webapp-0.15.0-py3-none-any.whl
| Download URL | pyrig_webapp-0.15.0-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
890f89b09c0d7b60204df7bc5f91325d46c11055773b56071968f34caefe44d1
|
|
BLAKE2b-256 checksum How to use checksums |
0d9c4031aa9a5bab64319d3173350f23b084fd4444123093d0affb7af7464f27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for pyrig-webapp 0.15.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.