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
Built Distribution
File details
Details for the file arclet_alconna_tools-0.7.10.tar.gz
.
File metadata
- Download URL: arclet_alconna_tools-0.7.10.tar.gz
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.19.1 CPython/3.9.13 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 446a63a9c56886c23fb44548bb9a18655e0ba5b5dd80cc87915b858dfb02554c |
|
MD5 | 2182ff95a4ba30f2176e0d23975c9d49 |
|
BLAKE2b-256 | 3fde76292863aec673f8098bf7540ae92713954a68658d5f66e7aceacc428d33 |
File details
Details for the file arclet_alconna_tools-0.7.10-py3-none-any.whl
.
File metadata
- Download URL: arclet_alconna_tools-0.7.10-py3-none-any.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.19.1 CPython/3.9.13 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50e8b2f433fbc612dc8b99f4f5410006dcb1ef406c971c795071117a4eab8e20 |
|
MD5 | a54ad8977d9f50e7191d3ee921229702 |
|
BLAKE2b-256 | cd22f88495efa628355e8f8a2fb423e7356822c58a1c5e5c452001616c27a3ce |