Builtin Tools for Alconna
Project description
Alconna Tools
Provider various tools for Alconna
Extensions:
actions
:exclusion
,cooldown
,inclusion
checker
:simple_type
constrcut
:AlconnaDecorate
,AlconnaFormat
,AlconnaString
,AlconnaFire
formatter
:Shell
,Markdown
,RichText
,RichConsole
pattern
:ObjectPattern
Example:
AlconnString
:
#constrcut.py
from arclet.alconna.tools import AlconnaString
alc = (
AlconnaString('constrcut')
.option('alpha', '-a')
.option('beta', '-b [beta]')
.option('gamma', '-c <gamma>')
.build()
)
if __name__ == '__main__':
alc()
$ python constrcut.py -a -b -c abc
{"alpha": ..., "beta": {}, "gamma": "abc"}
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
arclet-alconna-tools-0.6.9.tar.gz
(17.2 kB
view hashes)
Built Distribution
Close
Hashes for arclet-alconna-tools-0.6.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbc812ef29e611485f0534d7058e32aaaa1191f87aab8e4a08a717ab71d61f9e |
|
MD5 | 0301e76f12bb33076367ab9cb22dfecc |
|
BLAKE2b-256 | a94798337243670a71d1e62353f0da097b584cff9a27af627367e401a76bf6fc |
Close
Hashes for arclet_alconna_tools-0.6.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d68327ec93d0aaafd57787803787516be2ba3885db6c2c5bb2dc7415b1e4883b |
|
MD5 | abf939b010987b4ea32ae4f803baaa5f |
|
BLAKE2b-256 | f53f13d17a81538b86234c77886a9d89b794818bee8736fb7e90b31b3e100ecb |