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.8.tar.gz
(19.4 kB
view hashes)
Built Distribution
Close
Hashes for arclet_alconna_tools-0.7.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c54944bc4e495e730f41f96f1af23b86f3c8cde6c332699a9d82f839790ad32 |
|
MD5 | ae470bf445f6f7aa00ddcda92838fa3f |
|
BLAKE2b-256 | a5433c287c43741daeae0d2fecd97a247c416741a1edd18324ee5361adaaf9b3 |
Close
Hashes for arclet_alconna_tools-0.7.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be57595d0f07882e1b221dacff0a81d492643915b85219d1b1e7ba5bee034c36 |
|
MD5 | 162a56df9c84a5071770b7cb260dedfa |
|
BLAKE2b-256 | 1517c06f6184ea72930799998286a644f650e71e2e2de1c91e582f7a1f01928b |