Facilitate tree-sitter-epics parsing in python
Project description
PY-TREE-SITTER-EPICS
Based on tree-sitter EPICS grammars and py-tree-sitter, this module enables you to serialize EPICS DB files into semantic Python objects.
Installation
The module is available on PyPI as py-tree-sitter-epics.
Add py-tree-sitter-epics to your pyproject.toml,
or if you use Python virtual environments:
# In your virtual environment
pip install py-tree-sitter-epics
Example usage
from py_tree_sitter_epics import epicsdb
db = epicsdb.parse_file("/tmp/myExample.db")
for record in db.records:
print(f"'{record.name}': {record.documentation}")
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
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 py_tree_sitter_epics-0.3.0.tar.gz.
File metadata
- Download URL: py_tree_sitter_epics-0.3.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afd0e1581d2c2d02d1a49019e85b0ff720628c0c797e0c8ea53bb7d17a21e2f1
|
|
| MD5 |
5e84760233f3366c43dc4391756c04ee
|
|
| BLAKE2b-256 |
10699ec0675aba117b842d1105942e2d6860800bbb89e86091f5bfdbe8e57609
|
File details
Details for the file py_tree_sitter_epics-0.3.0-py3-none-any.whl.
File metadata
- Download URL: py_tree_sitter_epics-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34a4d47c97b2a106577d57ca80a214a243f77cbf473528d03b397c7165953cf0
|
|
| MD5 |
1003b84a9ffd899e7836f31cddfdf1c6
|
|
| BLAKE2b-256 |
1bf9a7a9ead5c2be3ed7d773c621e37cd3e769d34764f0f62cd361fbc9a87407
|