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.8.tar.gz
(17.2 kB
view hashes)
Built Distribution
Close
Hashes for arclet-alconna-tools-0.6.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a36ddc9c311cae3e1d9df0d6b11eb8d69c57304bbca744dc2c9532e53093cc6f |
|
MD5 | d9248caae1fffb206ac6421bc43ab354 |
|
BLAKE2b-256 | 112083383c16e8daf5ffa660a7a0e2230c8df1f337085f9dfed931e172a8a3ff |
Close
Hashes for arclet_alconna_tools-0.6.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eff5254e19b3fb24222164f419302f5f8849b8c14ddf8d96199747adc1916a13 |
|
MD5 | 930a00754490b0ee7197ee4fd47a89e0 |
|
BLAKE2b-256 | 8aaa030142512189ea2ea3c906cfb8f07fab7abfbc1fe2e6e0cbc8e640ab3c1f |