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.5.tar.gz
(16.8 kB
view hashes)
Built Distribution
Close
Hashes for arclet-alconna-tools-0.6.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11e22e533a27a7b458a26afe30e1345da09492b53e034218966901ac9aded141 |
|
MD5 | 0c466c45c94cf841b3564fdfb46db1b5 |
|
BLAKE2b-256 | 3457a18fe5474d203578b397c627ec8837766a7ba895ac3a8962b6c2725f494e |
Close
Hashes for arclet_alconna_tools-0.6.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcfa3529ca13d4f7496f588de1a98015ba5703e0ea586918e2d538477a8bec2b |
|
MD5 | e3495af5f12bd3cccb522aeead7c52dd |
|
BLAKE2b-256 | 52bd79978d087ef0f5468c136dcaaa7c8128aa2bf7752a82e98c0dac5addb802 |