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 Noumenon, 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/phenom4n4n/TagScript.git@<COMMIT_HASH>

Install for editing/development:

git clone https://github.com/phenom4n4n/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

tagscript-2.6.5.tar.gz (31.8 kB view details)

Uploaded Source

Built Distribution

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

TagScript-2.6.5-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

Details for the file tagscript-2.6.5.tar.gz.

File metadata

  • Download URL: tagscript-2.6.5.tar.gz
  • Upload date:
  • Size: 31.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.0

File hashes

Hashes for tagscript-2.6.5.tar.gz
Algorithm Hash digest
SHA256 b51771c5c2d1ed5d5a9815662b96a0da6610671327ae8b4fcd01813c6ae8faa7
MD5 738517adbc1565b0ddddc2c7905e10fc
BLAKE2b-256 b367aff3e3db859a7da8e6ba9a0e15bf8f0f4bbdf25a9802ccef5ec19ae9a017

See more details on using hashes here.

File details

Details for the file TagScript-2.6.5-py3-none-any.whl.

File metadata

  • Download URL: TagScript-2.6.5-py3-none-any.whl
  • Upload date:
  • Size: 38.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.0

File hashes

Hashes for TagScript-2.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bc41f3f86ff6ed3e46698cb3277d11bafb44a29912b4fe9f78ef6b1c3507a7b8
MD5 1f26eb4b90bcb22bf3c8eb1fb647bc38
BLAKE2b-256 622ff4188d486b9c448c56580112afc2347ff96dcdb41db5aa0c2df2b01a229e

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