Metadata-Version: 2.1
Name: pydsdl
Version: 1.9.3
Summary: UAVCAN DSDL processing frontend implemented in Python
Home-page: https://uavcan.org
Author: UAVCAN Development Team
Author-email: pavel.kirienko@zubax.com
License: MIT
Description: # PyDSDL
        
        [![Build status](https://ci.appveyor.com/api/projects/status/lurx5gihhcl9wq1w/branch/master?svg=true)](https://ci.appveyor.com/project/Zubax/pydsdl/branch/master)
        [![Documentation Status](https://readthedocs.org/projects/pydsdl/badge/?version=latest)](https://pydsdl.readthedocs.io/en/latest/?badge=latest)
        [![Coverage Status](https://coveralls.io/repos/github/UAVCAN/pydsdl/badge.svg)](https://coveralls.io/github/UAVCAN/pydsdl)
        [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pydsdl.svg)](https://pypi.org/project/pydsdl/)
        [![Codacy Badge](https://api.codacy.com/project/badge/Grade/a0fdcbe8332a46399a2da90f97900e78)](https://www.codacy.com/app/UAVCAN/pydsdl)
        [![Forum](https://img.shields.io/discourse/https/forum.uavcan.org/users.svg)](https://forum.uavcan.org)
        
        PyDSDL is a [UAVCAN](https://uavcan.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 UAVCAN 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.
        ```
        
Keywords: uavcan,dsdl,parser,compiler
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development :: Embedded Systems
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: System :: Distributed Computing
Classifier: Topic :: System :: Networking
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
