Reference implementation of the Tagup Language
Project description
tagup
tagup is a Python module which provides a reference implementation of the Tagup Language.
This module currently implements version 1.0.0 of the Tagup Language.
Changelog
v0.2.2
- Added support for global named arguments.
- Added max tag depth enforcement.
- Fixed bug that prevented the positional loop from functioning when not provided an optional default value.
v0.2.1
- Added tag prefetching.
v0.2.0
- Renamed "Renderer" to "BaseRenderer."
- Refactored "BaseRenderer" to use method overriding for "get_tag" instead of providing "get_tag_callback" to constructor.
- Removed "cache_tag_ast_callback" from "BaseRenderer" constructor.
- Removed "trim_args" from "BaseRenderer" constructor.
- Added a node pre and post processing hook system.
- Added test cases.
- Various internal optimizations.
v0.1.3
- Fixed bug where the "trim_args" option didn't properly remove leading and trailing whitespace in some situations.
v0.1.2
- Fixed bug where code called "trim()" rather than "strip()."
v0.1.1
- Added non-standard option to trim whitespace from arguments before tag evaluation.
- Fixed bug where whitespace was considered when specifying a name/position for argument substitution.
v0.1.0
- Initial release.
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
tagup-0.2.2.tar.gz
(5.9 kB
view details)
Built Distribution
tagup-0.2.2-py3-none-any.whl
(7.4 kB
view details)
File details
Details for the file tagup-0.2.2.tar.gz
.
File metadata
- Download URL: tagup-0.2.2.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Linux/4.14.182-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5a7ae0d6fc393f97af218a769e28509fd5aa9e51a8b3fcbda37e23ded33888a |
|
MD5 | 5ac0f249260d62159608e20b09018ed7 |
|
BLAKE2b-256 | b47d7f0a48336f256d26c610ea53b72d5aa74bf48c26bc329d5758dc3edac48a |
File details
Details for the file tagup-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: tagup-0.2.2-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.3 Linux/4.14.182-1-MANJARO
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 103e948240f61caf7b17c22a41a27b7e2c56f2e2fd8532a7e1a06a7a3ecc2f44 |
|
MD5 | f01bc018f9d70038fa061b48e82b426f |
|
BLAKE2b-256 | f157e0bd9fe01e4197163c43c1dc6a44c045ed195a4118f109411bea3073be7b |