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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for advancedtagscriptengine-3.2.2.tar.gz
Algorithm Hash digest
SHA256 bfab0485bc5e95563b121186e4799c3455a53c6ad81e3686bddd01c62bb99c56
MD5 c65e5f35d1a5fb2cbba001e346645b08
BLAKE2b-256 d33ea2f67a03ece3e2f234869486aa0cb986c119560f8d6768e860d6b3a4781d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for AdvancedTagScriptEngine-3.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 702b9435ee99659e5bb3047313343ad842731418aa2ce10c05b93361e040cdb8
MD5 6c63d17109e749f0d384325e8808979e
BLAKE2b-256 7203327556ee4f12c0b94f882e95fa1c0bdf2e05f0507b4328fedc496c5be0a3

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