pydsdl-1.9.4
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.1
1.8.0
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.4.2
1.4.1
1.4.0
1.3.1
1.3.0
1.24.3
1.24.2
1.24.1
1.22.2
1.22.1
1.22.0
1.21.1
1.21.0
1.20.1
1.20.0
1.2.0
1.19.0
1.18.0
1.17.0
1.16.1
1.16.0
1.15.1
1.15.0
1.14.1
1.14.0
1.13.0
1.12.1
1.12.0
1.11.0
1.10.3
1.10.2
1.10.1
1.10.0
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.9.2
0.8.2
0.8.1
0.8.0
0.7.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.0
0.3.1
0.3.0
0.2.0
0.1.0
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.1
1.8.0
1.6.5
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.4.2
1.4.1
1.4.0
1.3.1
1.3.0
1.24.3
1.24.2
1.24.1
1.22.2
1.22.1
1.22.0
1.21.1
1.21.0
1.20.1
1.20.0
1.2.0
1.19.0
1.18.0
1.17.0
1.16.1
1.16.0
1.15.1
1.15.0
1.14.1
1.14.0
1.13.0
1.12.1
1.12.0
1.11.0
1.10.3
1.10.2
1.10.1
1.10.0
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
0.9.2
0.8.2
0.8.1
0.8.0
0.7.3
0.6.2
0.6.1
0.6.0
0.5.0
0.4.0
0.3.1
0.3.0
0.2.0
0.1.0
توضیحات
Cyphal DSDL processing frontend
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | pydsdl-1.9.4 |
| نام | pydsdl |
| نسخه کتابخانه | 1.9.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | OpenCyphal |
| ایمیل نویسنده | maintainers@opencyphal.org |
| آدرس صفحه اصلی | https://opencyphal.org |
| آدرس اینترنتی | https://pypi.org/project/pydsdl/ |
| مجوز | MIT |
# PyDSDL
[](https://pydsdl.readthedocs.io/en/latest/?badge=latest)
[](https://pypi.org/project/pydsdl/)
[](https://forum.opencyphal.org)
PyDSDL is a [Cyphal](https://opencyphal.org) DSDL compiler front-end implemented in Python.
It accepts a DSDL namespace at the input and produces a well-annotated abstract syntax tree (AST) at the output,
evaluating all constant expressions in the process.
All DSDL features defined in the Cyphal Specification are supported.
The library should, in theory, work on any platform and with any Python implementation.
**Read the docs at [pydsdl.readthedocs.io](https://pydsdl.readthedocs.io/).**
```python
import pydsdl
try:
types = pydsdl.read_namespace(target_directory, lookup_directories)
except pydsdl.InvalidDefinitionError as ex:
print(f'{ex.path}:{ex.line}: Invalid DSDL: {ex.text}', file=sys.stderr)
exit(1)
else:
for t in types:
print(t) # Process the type -- generate code, analyze, etc.
```
نحوه نصب
نصب پکیج whl pydsdl-1.9.4:
pip install pydsdl-1.9.4.whl
نصب پکیج tar.gz pydsdl-1.9.4:
pip install pydsdl-1.9.4.tar.gz