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.9.tar.gz
(19.5 kB
view hashes)
Built Distribution
Close
Hashes for arclet_alconna_tools-0.7.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bded24c4157e13e2d803fe7b77ee246fda456206451337015513f150d1e4449c |
|
MD5 | 4bca52f99f33a770794148edcb288663 |
|
BLAKE2b-256 | 90b61a2b06f88bd3a42f59248c0f137aad9969186746330073970f4684eee20d |
Close
Hashes for arclet_alconna_tools-0.7.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01a3462bb9f8dbe55010b394f7a0ac11e331799d463e326738870dce191aa608 |
|
MD5 | bc3289ac74c791f06ad249d85484bd57 |
|
BLAKE2b-256 | 6e020e61f64b94616045131f312c2ca85607a90e243d70f24f410a95e77b4022 |