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.1.tar.gz
(17.1 kB
view hashes)
Built Distribution
Close
Hashes for arclet-alconna-tools-0.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d27d08f76d8ba807aa624725944b5404f86adef94f1536db5de2a40aad2c959b |
|
MD5 | 3f45b70c0cbc8002890afe7eb19285ce |
|
BLAKE2b-256 | 6254cb2b49ee2fc390b6911e26d1e9c796a08f137d2fb6403a708e89b0163b59 |
Close
Hashes for arclet_alconna_tools-0.7.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a972f5e843522216cbbfe0e77b715a673dd30e5146d3b235c20d15d1875a1d6 |
|
MD5 | 93339c87e369eb55a5b49eb7c17edada |
|
BLAKE2b-256 | f86435612ede39379355dacaf31b91198bb28757bc20d69f9f6abc80c26e0b03 |