Skip to main content

A powerful and robust templating system for Python.

Project description

EmPy is a system for embedding Python expressions and statements in template text; it takes an EmPy source file, processes it, and produces output. This is accomplished via expansions, which are special signals to the EmPy system and are set off by a special prefix (by default the at sign, @). EmPy can expand arbitrary Python expressions and statements in this way, as well as a variety of special forms. Textual data not explicitly delimited in this way is sent unaffected to the output, allowing Python to be used in effect as a markup language. Also supported are callbacks via hooks, recording and playback via diversions, and dynamic, chainable filters. The system is highly configurable via command line options and embedded commands.

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

empy-3.3.2.tar.gz (138.2 kB view details)

Uploaded Source

File details

Details for the file empy-3.3.2.tar.gz.

File metadata

  • Download URL: empy-3.3.2.tar.gz
  • Upload date:
  • Size: 138.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for empy-3.3.2.tar.gz
Algorithm Hash digest
SHA256 99f016af2770c48ab57a65df7aae251360dc69a1514c15851458a71d4ddfea9c
MD5 fbb34761cdf9acc4c65e298c9eced395
BLAKE2b-256 b75672a285d257c7791616960493a04f14c05ca1bf7a83dd208485cf991563bd

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