Metadata-Version: 2.1
Name: bTagScript
Version: 3.1.2
Summary: An easy drop in user-provided Templating system.
Home-page: https://github.com/Leg3ndary/bTagScript
Author: Leg3ndary
Author-email: bleg3ndary@gmail.com
Maintainer: Leg3ndary
Maintainer-email: bleg3ndary@gmail.com
License: Creative Commons Attribution 4.0 International License
Project-URL: Documentation, https://btagscript.readthedocs.io/
Keywords: tagscript
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: Freely Distributable
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# bTagScript

<a href='https://btagscript.readthedocs.io/en/latest/?badge=latest'>
    <img src='https://readthedocs.org/projects/btagscript/badge/?version=latest' alt='Documentation Status' />
</a> 

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

**Features:**
- Extra Syntax Options
- More Blocks

<img width="851" alt="bTagScriptBasic" src="https://i.imgur.com/wHxbwxw.png">


Documentation on the bTagScript library can be [found here](https://btagscript.readthedocs.io/en/latest/). 

## 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](https://github.com/JonSnowbd/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.

```yaml
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
```

