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.6.tar.gz
(17.0 kB
view hashes)
Built Distribution
Close
Hashes for arclet-alconna-tools-0.6.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd9918f40c4ead8ce189f7151b6fe1ad1501e73dc51b291cb2a063c18dbe38db |
|
MD5 | 37ec2a5e1e5aec9cd6397d78eb0ef1c2 |
|
BLAKE2b-256 | f5797dba3584a673ff06f02cc962006387f52721eafb41d9e3d3c50edc461db1 |
Close
Hashes for arclet_alconna_tools-0.6.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c955553a1a1e171efa5cd2563757c1e9fed0b5af9600a5c1c4ad3d149d7abba6 |
|
MD5 | ab43ce6c49d3b7e4a9acb52195477eaf |
|
BLAKE2b-256 | 5d9f8a7cf4a1d8c753fcfdd86128c609966321311bb8f764ade33406fe6e5ebe |