Skip to main content

An easy drop in user-provided Templating system.

Project description

Information

AdvancedTagScriptEngine PyPI - Version Documentation Status PyPI - Downloads

This repository is a fork of JonSnowbd's TagScript, a string templating language. This fork adds support for Discord object adapters and a couple Discord related blocks, as well as multiple utility blocks. Additionally, several tweaks have been made to the engine's behavior.

This TagScriptEngine is used on MELON, a Discord bot. An example implementation can be found in the Tags cog.

Additional documentation on the TagScriptEngine library can be found here.

Installation

Download the latest version through pip:

pip(3) install AdvancedTagScriptEngine

Download from a commit:

pip(3) install git+https://github.com/japandotorg/TagScriptEngine.git@<COMMIT_HASH>

Install for editing/development:

git clone https://github.com/japandotorg/TagScriptEngine.git
pip(3) install -e ./TagScriptEngine

What?

AdvancedTagScriptEngine is a drop in easy to use string interpreter that lets you provide users with ways of customizing their profiles or chat rooms with interactive text.

For example TagScript comes out of the box with a random block that would let users provide a template that produces a new result each time its ran, or assign math and variables for later use.

Dependencies

Python 3.8+

pyparsing

discord.py

Red-DiscordBot [optional]

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

advancedtagscriptengine-3.2.1.tar.gz (40.8 kB view details)

Uploaded Source

Built Distribution

AdvancedTagScriptEngine-3.2.1-py3-none-any.whl (51.4 kB view details)

Uploaded Python 3

File details

Details for the file advancedtagscriptengine-3.2.1.tar.gz.

File metadata

File hashes

Hashes for advancedtagscriptengine-3.2.1.tar.gz
Algorithm Hash digest
SHA256 cbb4066e7aec0630552783df1330c62f4ec2b12b75898825b9da0229c3ab4f8c
MD5 056ca327a85f8f882c913c8bbd3d02a4
BLAKE2b-256 efd5b8eedbf09c98a48614d456e33332d0f4295cdccfd6becce91f1e0a3f64b5

See more details on using hashes here.

File details

Details for the file AdvancedTagScriptEngine-3.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for AdvancedTagScriptEngine-3.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e74fe17586a8ef977e125865dd0ab9bb77e0963588528c2c6785db0d8989a87
MD5 4a77cd8ff3e7085ea3174b7fc98ae454
BLAKE2b-256 9a6e469382482294a7ebfdb1b496389efc56021004e4ed0ee716aa0f98eb2138

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page