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.0.tar.gz
(17.1 kB
view hashes)
Built Distribution
Close
Hashes for arclet-alconna-tools-0.7.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 361a193239555d243d8738c39e89f536847d49fa9d74c0a2706b58514c8d8a70 |
|
MD5 | 3d14f56cf23a33b0210077427f6c17c7 |
|
BLAKE2b-256 | dcb1bbfb4103756b43a24068ab6b9bad85e0b1709cda65599cb749fc2f0ff56d |
Close
Hashes for arclet_alconna_tools-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4835d277c5927a2d036fba44a710471496b8086575fe3699dfbf256ca72bda2 |
|
MD5 | 7ff194fd79075ca6ec73d41d68cebc71 |
|
BLAKE2b-256 | 14fb70c48eec4ae72627495f3d5671c3b907a81c733d99fe68101c3c979877e1 |