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.4.tar.gz
(18.2 kB
view hashes)
Built Distribution
Close
Hashes for arclet_alconna_tools-0.7.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dd2271dee787add64e9fb6ab2ed9ea2bc72775f982d13a295b73d95d66829f3 |
|
MD5 | dd0efe2f8583b10d83395d02e01670a9 |
|
BLAKE2b-256 | 37562947f3f97e055d4f23deadc760662435f9947aad99269b347c5796a75f46 |
Close
Hashes for arclet_alconna_tools-0.7.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3fcfe4a647a82c5172b853fa5ed171138b5f2338ed454e69317a66c9f4cc60e |
|
MD5 | e0c5892cb1c36aba5ce03e6041e7dd34 |
|
BLAKE2b-256 | 8799b4f2f4ccbb206322e2b5d92a64009e2beae6b5330dd9c87fb1a1a3f911a1 |