Skip to main content

A 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 “hook” callbacks, 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.4.tar.gz (62.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: empy-3.3.4.tar.gz
  • Upload date:
  • Size: 62.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.4.10

File hashes

Hashes for empy-3.3.4.tar.gz
Algorithm Hash digest
SHA256 73ac49785b601479df4ea18a7c79bc1304a8a7c34c02b9472cf1206ae88f01b3
MD5 6d73ddc0e9dc76cd607217f14d742679
BLAKE2b-256 3b9588ed47cb7da88569a78b7d6fb9420298df7e99997810c844a924d96d3c08

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