Skip to main content

Simple and fast templating engine

Project description

renderix

PyPI - Version

Simple templating engine.

renderix renders a template file by replacing placeholders like {{ variable_name }} with values loaded from a TOML file named renderix.toml in the current working directory.


Features

  • Tiny, no-dependency templating
  • Variables loaded from renderix.toml
  • Replaces placeholders in the form: {{ name }}
  • Output to stdout by default, or write to a file
  • Verbose mode for debugging

Installation

uv tool install renderix

Or:

git clone https://codeberg.org/nietarne/renderix.git
cd renderix
uv tool install .

Quick start

  1. Create a renderix.toml in your working directory:
name = "John Doe"
  1. Create a template file, e.g. template.txt:
Hello {{ name }}
  1. Render it to stdout:
renderix -t template.txt

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

renderix-0.2.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

renderix-0.2.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file renderix-0.2.2.tar.gz.

File metadata

  • Download URL: renderix-0.2.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for renderix-0.2.2.tar.gz
Algorithm Hash digest
SHA256 87549fd39965057dfb2b4f507a1d214e8888e5f19439030701d227adf8312878
MD5 99d8dd1dcd13c81a8c2d30c39ffd1105
BLAKE2b-256 86ac7aeab17d6b4c5b15758a6c813a4b69ccc752e2066f48bcf5067e94f29b03

See more details on using hashes here.

File details

Details for the file renderix-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: renderix-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for renderix-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2391f6ab76baa8a5a7b1a244a00e26e33a3dcd974358751d731b3b63bb6fd41d
MD5 caa3451cde808e55fa6e2a6b58a35fff
BLAKE2b-256 3c819baf57806429443053e513a50a00b51634413b9d5ef28933b6c074d0929c

See more details on using hashes here.

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