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.7.tar.gz
(17.1 kB
view hashes)
Built Distribution
Close
Hashes for arclet-alconna-tools-0.6.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cc640956883d5c8452b241d85368970de4150037d696216ef8d117bde388dca |
|
MD5 | b8f2d777f541e133d71893141c505f66 |
|
BLAKE2b-256 | e607a7d764d94ea121ad9d5036a1814fb4b9ed24bea92282428eb5209efc58f8 |
Close
Hashes for arclet_alconna_tools-0.6.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acffb10ccc77a32d282c3683c4589aa875711a8a56547136752db7a43d5ceb12 |
|
MD5 | dbc748b2cf6dcd44b1f03bdcef3d4bb8 |
|
BLAKE2b-256 | 823b1986e1c825022313918c55636da4b21cf2d69af3481d14c0769294fee666 |