Skip to main content

Python modules to support in developing C++ software with Dezyne

Project description

dznpy

Python modules to support in developing C++ software with Dezyne. Mainly, parse Dezyne files into an Abstract Syntax Tree from which the developer-user of dznpy can 'walk' through with Python helpers. For instance to generate custom C++ thread-safe shell code (aka Advanced Shell as included) and another example is to generate a C++17 GoogleMock from a Dezyne interface (example included).

Installation

In general, check out latest master and cherrypick anything you desire that improves your software development life with Dezyne. All material is available under MIT license so feel free to use/copy it. Suggestions, improvements, fixes et al are all welcome.

First of all have Dezyne installed on your system by browsing to https://download.verum.com/download/verum-dezyne/ and download verum-dezyne-2.17.8-x86_64-windows.zip or the *.msi version. When unpacking the *.zip, ensure to use an unzipper that preserves all timestamps, for instance 7Zip suffices. But do not use the Windows builtin unzipper.

By default, the tests and data preparation scripts have been configured to an installation path having dzn.cmd here:

C:\SB\dezyne-2.17.8\dzn.cmd

Of course this installation path can be suited to your situation. In that case edit/configure the script test\process_dezyne_models.py. Run it at least once after downloading dznpy from GitHub in order for the unit tests to be able to find their testdata et al. Running the tests is highly recommended before starting to use dznpy. Don't forget to read test/README.md.

Lastly, install the required Python packages dznpy relies on. PyCharm will automatically recognise and process the requirements.txt file. In other cases, install the dependencies manually by typing

pip install -r requirements.txt

Usage

User documentation is something which is in progress. Refer to docs/Examples/ for explanation by example. Furthermore refer to the respective modules, their readme files and unit tests to understand the mechanics and usage.

Project details


Download files

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

Source Distribution

dznpy-1.1.0.tar.gz (44.9 kB view details)

Uploaded Source

Built Distribution

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

dznpy-1.1.0-py3-none-any.whl (56.5 kB view details)

Uploaded Python 3

File details

Details for the file dznpy-1.1.0.tar.gz.

File metadata

  • Download URL: dznpy-1.1.0.tar.gz
  • Upload date:
  • Size: 44.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for dznpy-1.1.0.tar.gz
Algorithm Hash digest
SHA256 cfe7338754f36be284a6971b6831bd46e1ec1d2ae40534662210164eb852c6c0
MD5 d867ad4eca3230b44695c86283ea5321
BLAKE2b-256 0928c21654b397a3f4d85a3de0e60ce4af558c22693c2e28d338b8c591900d6b

See more details on using hashes here.

File details

Details for the file dznpy-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: dznpy-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 56.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for dznpy-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ee2fc04f96d716ff0f645f126781fd8e5fb8ea3a846a482144563a77d31d5b3
MD5 7b836e71993772236d357a323646c4ff
BLAKE2b-256 4f7cc61ccd0986771144cb9733b440e8f01420d23f44c579622aa227704715f9

See more details on using hashes here.

Supported by

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