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.7.6.tar.gz
(19.2 kB
view hashes)
Built Distribution
Close
Hashes for arclet_alconna_tools-0.7.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cb7dc54c1c2198529c63227739423401051b8489374f1a7a3efa0c4e70b2a22 |
|
MD5 | 02a38248963c8c39cd1229f53ba3b693 |
|
BLAKE2b-256 | 3076c58f0281935cca7d7e34ab9d4774ecd6f2331f5f61192247d9f8f1934a07 |
Close
Hashes for arclet_alconna_tools-0.7.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdd1cb900603ce6bb00295bf7bf7f60dfdb764f0614abe248cdcb754e5149edd |
|
MD5 | b984588f39c071bb535186730b0c5516 |
|
BLAKE2b-256 | bdc05dc525256659aef9314fcea7155ab033ea30734e47b4a068e674d69aacdc |