Skip to main content

An easy drop in user-provided Templating system.

Project description

Information

Documentation Status  yPI

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 its Tags cog.

Additional documentation on the TagScriptEngine library can be found here.

Installation

Download the latest version through pip:

pip(3) install TagScript

Download from a commit:

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

Install for editing/development:

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

What?

TagScript 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+

discord.py

pyparsing

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.0.0.tar.gz (32.5 kB view details)

Uploaded Source

File details

Details for the file AdvancedTagScriptEngine-3.0.0.tar.gz.

File metadata

File hashes

Hashes for AdvancedTagScriptEngine-3.0.0.tar.gz
Algorithm Hash digest
SHA256 f63b96513afeff1063ad3ff1a43afc85c2f66f4897d7b9f1b143779ab4094554
MD5 4b8a6e5940ee44936f802ff7e85fcff1
BLAKE2b-256 f1c3770f07fb5faaa205902f9dcdffdde81a2f169ce9d0a70b2a8c673ea7e663

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