Skip to main content

There are millions of templating systems out there (most of them developed for the web). This isn’t one of those, though it does share some basics: a markup syntax for templates that are processed to give resultant text output. The main difference with preprocess.py is that its syntax is hidden in comments (whatever the syntax for comments maybe in the target filetype) so that the file can still have valid syntax. A comparison with the C preprocessor is more apt.

preprocess.py is targetted at build systems that deal with many types of files. Languages for which it works include: C++, Python, Perl, Tcl, XML, JavaScript, CSS, IDL, TeX, Fortran, PHP, Java, Shell scripts (Bash, CSH, etc.) and C#. Preprocess is usable both as a command line app and as a Python module.

Release files for preprocess 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for preprocess 2.0.0
File Size Uploaded
preprocess-2.0.0.tar.gz 46.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for preprocess 2.0.0
File Interpreter ABI Platform
preprocess-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 58.8 kB

Release files / preprocess-2.0.0.tar.gz

Download URL preprocess-2.0.0.tar.gz
Size 46.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fb751f3218b7948a23cd821588c296695c0141f75a2e48201afe8e266518abaa
BLAKE2b-256 checksum
How to use checksums
4ae632902a2669818a30949ee404d2447184ba651b61e60edb12ffffaee612dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.9

Release files / preprocess-2.0.0-py3-none-any.whl

Download URL preprocess-2.0.0-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae799e3ab836efeb4b9958bf0e54b5248a368bcdfd77e2c5467b8c56fe00dea1
BLAKE2b-256 checksum
How to use checksums
297855f04dbe6f8863538d139f05c8b898f196472299c694a03dac895ad673ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.9

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page