Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PyDSDL

Documentation PyPI - Downloads Forum

PyDSDL is a Cyphal 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.

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydsdl-1.25.0rc1.tar.gz (127.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydsdl-1.25.0rc1-py3-none-any.whl (145.3 kB view details)

Uploaded Python 3

File details

Details for the file pydsdl-1.25.0rc1.tar.gz.

File metadata

  • Download URL: pydsdl-1.25.0rc1.tar.gz
  • Upload date:
  • Size: 127.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pydsdl-1.25.0rc1.tar.gz
Algorithm Hash digest
SHA256 3bfcfe7131b37f4b13b1cd9774fd8a3ba986892bc72de1034ae99fd91b89d792
MD5 4ff8a84924d1dd4318b6e549c76774f6
BLAKE2b-256 313f3873f2dbc63f7ac422212c78db395413973a7c1580012c0eac773a478b72

See more details on using hashes here.

File details

Details for the file pydsdl-1.25.0rc1-py3-none-any.whl.

File metadata

  • Download URL: pydsdl-1.25.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 145.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pydsdl-1.25.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b83ac47827e4cf520fec708f3223005c0985d2312f714cdbb14e7a32eacddb7
MD5 5c55fb87aaaa2d3ee5578e1ecb30f45d
BLAKE2b-256 e040cd4183e03cc54c22c183ac95d24919d150235cbcaac8bfacce069ee4e660

See more details on using hashes here.

Release history Release notifications | RSS feed

1.25.0

2 files

This release

1.25.0rc1 This release

2 files

1.24.3

2 files

1.24.2

2 files

1.24.1

2 files

1.22.2

2 files

1.22.1

2 files

1.22.0

2 files

1.21.1

2 files

1.21.0

2 files

1.20.1

2 files

1.20.0

2 files

1.19.0

2 files

1.18.0

2 files

1.17.0

2 files

1.16.1

2 files

1.16.0

2 files

1.15.1

2 files

1.15.0

2 files

1.14.1

2 files

1.14.0

2 files

1.13.0

2 files

1.12.1

2 files

1.12.0

2 files

1.11.0

2 files

1.10.3

2 files

1.10.2

2 files

1.10.1

2 files

1.10.0

2 files

1.9.4

2 files

1.9.3

2 files

1.9.2

2 files

1.9.1

2 files

1.9.0

2 files

1.8.1

2 files

1.8.0

2 files

1.6.5

2 files

1.6.4

2 files

1.6.3

2 files

1.6.2

2 files

1.6.1

2 files

1.6.0

2 files

1.4.2

2 files

1.4.1

2 files

1.4.0

2 files

1.3.1

2 files

1.3.0

2 files

1.2.0

2 files

1.1.0

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.9.2

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

0.7.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page