An easy drop in user-provided Templating system.
Project description
bTagScript
TagScript, but better, with more features then you could ever need!
Features:
- Extra Syntax Options
- More Blocks
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file bTagScript-4.0.0.tar.gz
.
File metadata
- Download URL: bTagScript-4.0.0.tar.gz
- Upload date:
- Size: 32.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e578836829f96045811385c338e5b6f6f657c41ebd99597484f942f2da19f563 |
|
MD5 | 85b853523e617297e985cbdce8401858 |
|
BLAKE2b-256 | 63539c3d49043303d7c0dc9def82c98c38ede12f1fefd2fee67ebd31af38c18f |