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.5.tar.gz
(19.2 kB
view hashes)
Built Distribution
Close
Hashes for arclet_alconna_tools-0.7.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcd4bfe5c8dd1ba0ffb4e15fe4f90ed6695df94d05760d19db8a94c375520f80 |
|
MD5 | de131d908a323c8a2aa7d3a16bd12d3b |
|
BLAKE2b-256 | a82ba21fc1b1370003dc13e904b70533cba5f5fbd5eaa3d951c4456e8f588e69 |
Close
Hashes for arclet_alconna_tools-0.7.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6460db1e4cd9036a07fdae3c167e93c140600777c59c715ccaf45550f1397b4 |
|
MD5 | 41821222700f3a179e37649660f6a323 |
|
BLAKE2b-256 | 0af9d4e00c0f0e5fd1b6c51522f5651f09bfc77f5f6ff70154a4b084f0dd452c |