No project description provided
Project description
pywcl — Python bindings for WCL
Python bindings for WCL (Wil's Configuration Language), powered by a WASM runtime.
Install
pip install pywcl
Usage
import wcl
doc = wcl.parse("""
server web {
port = 8080
host = "localhost"
}
""")
print(doc.values) # {'server': {'web': {'port': 8080, 'host': 'localhost'}}}
servers = doc.blocks_of_type("server")
print(f"Found {len(servers)} server(s)")
Links
- Website: wcl.dev
- Documentation: wcl.dev/docs
- GitHub: github.com/wiltaylor/wcl
License
MIT
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
pywcl-0.11.1a1.tar.gz
(1.1 MB
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 pywcl-0.11.1a1.tar.gz.
File metadata
- Download URL: pywcl-0.11.1a1.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d882425fb1fc2285ffdd082bfcb2e7d62326c5ae7960a443f1faec822a98287
|
|
| MD5 |
4ec6c8505c17b5c40efd6d512665381c
|
|
| BLAKE2b-256 |
b58de988b94f7e9d97c24fbc80bab29a6fc8c042599350fd673bf6bda5996f82
|
File details
Details for the file pywcl-0.11.1a1-py3-none-any.whl.
File metadata
- Download URL: pywcl-0.11.1a1-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01ed08ffab4d33ca91703e06baa384d65fd195a13a9552d2df808f82902f7301
|
|
| MD5 |
da95c7456702e51193c90d1f18f7bce7
|
|
| BLAKE2b-256 |
9f2e8229810aa9afa0459ed40e5089d66de83cadbf82899e6ee0d92e7bae6b64
|