Skip to main content

Shared Jinja2 templates for PyWire deployment and scaffolding

Project description

pywire-templates

Shared Jinja2 templates consumed by pywire-cli (for pywire deploy) and create-pywire-app (for project scaffolding).

End users should not depend on this package directly. It exists so deployment configs (Dockerfile, fly.toml, render.yaml, wrangler.toml, railway.json, Cloudflare entry/DO) live in one place.

Layout

src/pywire_templates/
  deploy/          # deployment config templates
    Dockerfile.j2
    fly.toml.j2
    render.yaml.j2
    wrangler.toml.j2
    railway.json.j2
    entry.py.j2
    pywire_do.py.j2

Usage

from pywire_templates import render_deploy_template

content = render_deploy_template("Dockerfile.j2", workers=4)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pywire_templates-0.2.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pywire_templates-0.2.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file pywire_templates-0.2.0.tar.gz.

File metadata

  • Download URL: pywire_templates-0.2.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pywire_templates-0.2.0.tar.gz
Algorithm Hash digest
SHA256 68708a410d7ffd82084430dc948b88959aebba3be1340f29713de9f72d68c861
MD5 d48ff4fdad860a039ab4caed52bc39ba
BLAKE2b-256 3f3aeffa3f4a7c2724f43e48704941f11ba84f86ed5a728f427c5711669313cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pywire_templates-0.2.0.tar.gz:

Publisher: release.yml on pywire/pywire

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pywire_templates-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pywire_templates-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82407cd35bebaaecf83d89db3a61913e8f122df7ae7886cf645a6c7c8059d9cf
MD5 7381b513a7ba8b6e188420a950e77033
BLAKE2b-256 01a182bb4a74ea5336b5a7a2c49ab3325d0af5f817a5f763266b36abfdafece2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pywire_templates-0.2.0-py3-none-any.whl:

Publisher: release.yml on pywire/pywire

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page