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.7.0a1.tar.gz
(782.4 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
pywcl-0.7.0a1-py3-none-any.whl
(772.4 kB
view details)
File details
Details for the file pywcl-0.7.0a1.tar.gz.
File metadata
- Download URL: pywcl-0.7.0a1.tar.gz
- Upload date:
- Size: 782.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b71ad2c251bb3c90005dc276f6425858a5cd01267998cdc26c6da1b5a866392a
|
|
| MD5 |
e25efdbbba08aec77be9cf8b884d537a
|
|
| BLAKE2b-256 |
653e30adb5b6bf4a6fb625d705c437d1cd895a730eb7eaa0a895878ce21afde8
|
File details
Details for the file pywcl-0.7.0a1-py3-none-any.whl.
File metadata
- Download URL: pywcl-0.7.0a1-py3-none-any.whl
- Upload date:
- Size: 772.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f90db1b0291e3d0466b94bef0b2b0670e71f4ee714670bdad68c1dfa1738125
|
|
| MD5 |
df63f13ba1f7a1410e2ff9ebec51f231
|
|
| BLAKE2b-256 |
2cb03a5b5a70c318bc4b335fbe0408dea56e1946514e59a203554e40a5be0878
|