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.0.tar.gz
(15.8 kB
view hashes)
Built Distribution
Close
Hashes for arclet-alconna-tools-0.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fcfc25b92fc70091095aecf2775f9192cbf60e605a4904e66f2c48d61e6dd73 |
|
MD5 | 39d1d30d7401cdcd72d09bd59037d604 |
|
BLAKE2b-256 | b91be27ada44b40f39d05a76ffc4a83e1fa28e3e52287262a03a3c79516c2f91 |
Close
Hashes for arclet_alconna_tools-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bedbe7c35d41d0e9daba37cf5fbff01e8ac16625a6d48566aacd9f64a07eb5dc |
|
MD5 | 8626250d871acdba9e9e145ff234b60e |
|
BLAKE2b-256 | b0edad6307e2fc0d136f84764cdb490a3fd6148f0221d4465308ea0db6338d23 |