{"id":22038311,"url":"https://github.com/opencyphal/pydsdl","last_synced_at":"2025-08-01T13:11:27.728Z","repository":{"id":42174250,"uuid":"153778119","full_name":"OpenCyphal/pydsdl","owner":"OpenCyphal","description":"Cyphal DSDL processing front end implemented in Python","archived":false,"fork":false,"pushed_at":"2025-05-20T05:56:21.000Z","size":779,"stargazers_count":13,"open_issues_count":8,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-11T12:23:54.376Z","etag":null,"topics":["compiler-frontend","cyphal","dsdl","opencyphal","parser","uavcan","vehicular-networks"],"latest_commit_sha":null,"homepage":"https://opencyphal.org","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenCyphal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"open_collective":"opencyphal","github":"OpenCyphal"}},"created_at":"2018-10-19T12:17:38.000Z","updated_at":"2025-05-24T12:43:35.000Z","dependencies_parsed_at":"2024-04-13T16:05:36.374Z","dependency_job_id":"8239e939-d381-47be-8e1c-e2523d3a2bfa","html_url":"https://github.com/OpenCyphal/pydsdl","commit_stats":{"total_commits":448,"total_committers":6,"mean_commits":74.66666666666667,"dds":0.0580357142857143,"last_synced_commit":"3ea74ded04dcc2d0c09829298469ec1b0b309133"},"previous_names":[],"tags_count":58,"template":false,"template_full_name":null,"purl":"pkg:github/OpenCyphal/pydsdl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCyphal%2Fpydsdl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCyphal%2Fpydsdl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCyphal%2Fpydsdl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCyphal%2Fpydsdl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenCyphal","download_url":"https://codeload.github.com/OpenCyphal/pydsdl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenCyphal%2Fpydsdl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259320726,"owners_count":22840038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compiler-frontend","cyphal","dsdl","opencyphal","parser","uavcan","vehicular-networks"],"created_at":"2024-11-30T11:05:28.065Z","updated_at":"2025-06-11T19:08:13.910Z","avatar_url":"https://github.com/OpenCyphal.png","language":"Python","funding_links":["https://opencollective.com/opencyphal","https://github.com/sponsors/OpenCyphal"],"categories":[],"sub_categories":[],"readme":"# PyDSDL\n\n[![Build status](https://ci.appveyor.com/api/projects/status/lurx5gihhcl9wq1w/branch/master?svg=true)](https://ci.appveyor.com/project/Zubax/pydsdl/branch/master)\n[![Documentation Status](https://readthedocs.org/projects/pydsdl/badge/?version=latest)](https://pydsdl.readthedocs.io/en/latest/?badge=latest)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/pydsdl)](https://pypi.org/project/pydsdl/)\n[![Forum](https://img.shields.io/discourse/https/forum.opencyphal.org/users.svg)](https://forum.opencyphal.org)\n\nPyDSDL is a [Cyphal](https://opencyphal.org) DSDL compiler front-end implemented in Python.\nIt accepts a DSDL namespace at the input and produces a well-annotated abstract syntax tree (AST) at the output,\nevaluating all constant expressions in the process.\nAll DSDL features defined in the Cyphal Specification are supported.\nThe library should, in theory, work on any platform and with any Python implementation.\n\n**Read the docs at [pydsdl.readthedocs.io](https://pydsdl.readthedocs.io/).**\n\n```python\nimport pydsdl\ntry:\n    types = pydsdl.read_namespace(target_directory, lookup_directories)\nexcept pydsdl.InvalidDefinitionError as ex:\n    print(f'{ex.path}:{ex.line}: Invalid DSDL: {ex.text}', file=sys.stderr)\n    exit(1)\nelse:\n    for t in types:\n        print(t)  # Process the type -- generate code, analyze, etc.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencyphal%2Fpydsdl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopencyphal%2Fpydsdl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencyphal%2Fpydsdl/lists"}