Skip to main content

An easy drop in user-provided Templating system.

Project description

bTagScript

Documentation Status

TagScript, but better, with more features then you could ever need!

Features:

  • Extra Syntax Options
  • More Blocks
bTagScriptBasic

Documentation on the bTagScript library can be found here.

What?

TagScript allows you to create low level code, quickly, and easily. This is meant to be used with discord.py 2.0 and is not compatible with other versions.

Credits

This repository is a fork of Phenom4n4n's fork of JonSnowbd's TagScript, a string templating language.

Dependencies

Python 3.8+

discord.py 2.0

pyparsing

Installation

Download through pip

pip(3) install bTagScript

Download the latest version through github:

pip(3) install https://github.com/Leg3ndary/bTagScript

Download from a commit:

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

Install for editing/development:

git clone https://github.com/Leg3ndary/bTagScript.git
pip(3) install -e ./bTagScript

Benchmarks (Performance Testing)

July 08, 2022

Testing for this benchmark used the following seeds and test strings, this was ran 1,000 times.

Seeds: {message: Hello, this is my message.}
Test String: {message} {#:1,2,3,4,5,6,7,8,9,10} {range:1-9} {$variablename:Hello World} {variablename} {message} {strf:Its %A}

Note that this was adjusted for different syntax, {=(variablename):Hello World} vs {$variablename:Hello World}

bTagScript will likely get worse and worse as more blocks are added...

2.6.9 bTagScript: 0.08033132553100586 Seconds

2.6.2 TagScript: 0.08630657196044922 Seconds

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

bTagScript-3.1.1.tar.gz (31.9 kB view details)

Uploaded Source

File details

Details for the file bTagScript-3.1.1.tar.gz.

File metadata

  • Download URL: bTagScript-3.1.1.tar.gz
  • Upload date:
  • Size: 31.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.10

File hashes

Hashes for bTagScript-3.1.1.tar.gz
Algorithm Hash digest
SHA256 61133f901027f131d3dad8b10da6c4bc3864ff0f652acbdd2238c6e792a46db1
MD5 bad397e2e5a4cb5600c219615c600823
BLAKE2b-256 1412e30792744ccade33222c0a51b9d38bf28ace7aba4117d681d139e1ef9d8b

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