A simple command language inspired from discord slash commands
Project description
Dew
A simple command language inspired from discord slash commands
import pprint as pp
import dew
result = dew.parse('add rgb color name:"my color" r:100 g:150 b:200')
pp.pprint(result)
# {'name': 'add',
# 'tail': {'name': 'rgb',
# 'tail': {'name': 'color',
# 'tail': [('name', 'my color'),
# ('r', '100'),
# ('g', '150'),
# ('b', '200')]}}}
Links
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
dew_py-1.0.0.tar.gz
(5.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dew_py-1.0.0.tar.gz.
File metadata
- Download URL: dew_py-1.0.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab8efa070addee7551eb5fe1eb58fa36c4a1d1206b6f9a22ef800dab4cc3d4c6
|
|
| MD5 |
b6a3fde59fa09ae22fda595eeb2711a4
|
|
| BLAKE2b-256 |
8e925ac65e97b5960b4f4f241825cc11e54d6accfba2625934e458beac257584
|
File details
Details for the file dew_py-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dew_py-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b07f0f6d76aba6e75449f08e947400a95c29068763982faab800b65ee0aa9b0
|
|
| MD5 |
ac2d832dfff49ffb8a287dcd287e8b82
|
|
| BLAKE2b-256 |
8c901a7eb2a9b9a83173214fbbc1e5fa249a6c4fd8982c2343ae4bc55c8659a2
|