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
Built Distribution
Close
Hashes for arclet-alconna-tools-0.6.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 079f1ccd84120c65288e50014de2117a0dc7c52e5c2d2d718ad9fd95afb40232 |
|
MD5 | 211288cbdf3246944c322afb422dd4a0 |
|
BLAKE2b-256 | 80d64a5c20b9dd8f8e50784b1456ceeacd56fe278c35c107121733e07f8ce52c |
Close
Hashes for arclet_alconna_tools-0.6.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3bc7d70040fbc1c0b44a9b751089f87c6c487161d7c930dd4018d7ef468d91f |
|
MD5 | 5c3416f6d106a4af2d89194fba524b0e |
|
BLAKE2b-256 | 7631a17008cd0771c2b1754a1731c4e82b6d2c675429b816622a8a0ea0ccc165 |