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.7.tar.gz
(19.4 kB
view hashes)
Built Distribution
Close
Hashes for arclet_alconna_tools-0.7.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b73af440448842575fa46979385dad9cc42e6d55aa5dddf217d169aac3f48c2 |
|
MD5 | e825d87e077cd13bf11faaf65c908d39 |
|
BLAKE2b-256 | 7076dc60e335e8e18f00e3ee5426268824846c335deddfdd9950788e3e0fd0ec |
Close
Hashes for arclet_alconna_tools-0.7.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f851a4fd51f4b5a4a796b45982f3ccdb9b32896de3673d82b4ef08a22c04b46 |
|
MD5 | b958c4f3e7a256de4e139f1809431447 |
|
BLAKE2b-256 | 0a54d21721c3b9dc9abb3bdaf1c1ef475807cc3077a5d16bb5d23d98620f5a85 |