Skip to main content

An easy drop in user-provided Templating system.

Project description

Information

AdvancedTagScript 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 Dusky, 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 AdvancedTagScript

Download from a commit:

pip(3) install git+https://github.com/cool-aid-man/TagScriptEngine.git@<COMMIT_HASH>

Install for editing/development:

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

What?

AdvancedTagScript 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

advancedtagscript-3.3.1.tar.gz (46.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

advancedtagscript-3.3.1-py3-none-any.whl (59.1 kB view details)

Uploaded Python 3

File details

Details for the file advancedtagscript-3.3.1.tar.gz.

File metadata

  • Download URL: advancedtagscript-3.3.1.tar.gz
  • Upload date:
  • Size: 46.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for advancedtagscript-3.3.1.tar.gz
Algorithm Hash digest
SHA256 82d00d9937c60b766cb392c90a46d5a96bf86c6a4f9a06ff7d805086c2946c20
MD5 b68163745a833b146358ddf4fbfb75e6
BLAKE2b-256 524625f776eebd39ae2abbe2fea5cf94b52e2a1a6f2ececa141f1b8d309fb073

See more details on using hashes here.

File details

Details for the file advancedtagscript-3.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for advancedtagscript-3.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aaaf1a88dd8decb1a70693adcc6be8e1d1f4f1e6f29901b682d4b36b1a66cee6
MD5 1d15376cd356e28b2f9cbdc719823b45
BLAKE2b-256 8b2f8cbb19781963d3444ab9b9115f891a7b81efd970f531a7445decb036a18e

See more details on using hashes here.

Supported by

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