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.2.tar.gz
(17.2 kB
view hashes)
Built Distribution
Close
Hashes for arclet_alconna_tools-0.7.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98a6aad6284efd8af34b10cd35667bd5885f530327b9ac9ea2944bf6325d0d6f |
|
MD5 | 89bde71bc5a6b7460db8f3706352ca6e |
|
BLAKE2b-256 | 40a13a7be8af50e02196b6dd9db0ae27df07fd4c57cce34f01380f992e8c2654 |
Close
Hashes for arclet_alconna_tools-0.7.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69739aab07c039537cd72b4ab6d37aff896cd794031a8ff8157e5f85e842ed9b |
|
MD5 | 2f6fc5aa73544ed924cca05acb06d03c |
|
BLAKE2b-256 | ef2eeb987eaff8a2293fa78cb99ccb53803326128605ea3617f3a6ce22cc17cd |