Pre-release
This release is a pre-release and may not be stable for production use.
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
Metadata
Release files for pywcl 0.11.2a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pywcl-0.11.2a1.tar.gz | 1.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pywcl-0.11.2a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.1 MB
Release files / pywcl-0.11.2a1.tar.gz
| Download URL | pywcl-0.11.2a1.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99c4997d037d719066a2445273940347b7835f5926c250bbf7bb797818fb8eb4
|
|
BLAKE2b-256 checksum How to use checksums |
7f2b8f41e40388ecad7b2eac029c31ae3fc14072c891bd6487295f840257b80f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pywcl-0.11.2a1-py3-none-any.whl
| Download URL | pywcl-0.11.2a1-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19b37f8388b341fc06840fcefcd6bf4f1e0c4e855d3156a1504ddb2deb29b6b9
|
|
BLAKE2b-256 checksum How to use checksums |
791dfcecda462d227a0de2ed17f55d72da856adc2bb0f6de9e805dc1ec7d183d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|