Skip to main content

Dummy Device Driver

This package demonstrates how to develop a device driver that can be integrated with the cgse framework. It provides a Dummy Control Server that connects to a Dummy Device, which acts as a data acquisition simulator.

Features

  • Dummy Control Server for testing and development
  • Simulated device for data acquisition
  • Example implementation for integration with the cgse framework

Directory Structure

  • cgse_dummy/
    • cgse_explore.py - implements the show_processes() function used by the cgse show procs command
    • cgse_services.py - Service definitions for the dummy device, provides the dummy sub-command for the cgse
    • dummy_cs.py - implementation of the synchronous control server
    • dummy_acs.py - implementation of the asynchronous control server (experimental)
    • dummy_dev.py - implementation of the synchronous device driver
    • dummy_adev.py - implementation of the asynchronous device driver (experimental)
    • dummy_sim.py - Simulation logic for the dummy device
    • sim_data.py - Simulation data generation
    • settings.yaml - Configuration file with port numbers and other settings for the Dummy device and Dummy control server

Developer Installation

Clone the repository and install the package:

git clone git@github.com:IvS-KULeuven/cgse-dummy.git
cd cgse-dummy

User installation

This package is available on PyPI, but it is not intended for end users. Instead, it serves as a reference implementation for developers who wish to inspect the source code and learn how to create external device packages that integrate with the cgse framework.

Requirements

  • Python 3.10+
  • Any additional dependencies listed in the pyproject.toml file.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

MIT

Contact

For questions or support, please raise an issue.

Metadata

Release files for cgse-dummy 0.6.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cgse-dummy 0.6.6
File Size Uploaded Provenance Actions
cgse_dummy-0.6.6.tar.gz 685.1 kB Without provenance Details for cgse_dummy-0.6.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cgse-dummy 0.6.6
File Interpreter ABI Platform Actions
cgse_dummy-0.6.6-py3-none-any.whl Python 3 none any Details for cgse_dummy-0.6.6-py3-none-any.whl

Total release size: 707.6 kB

Release files / cgse_dummy-0.6.6.tar.gz

Download URL cgse_dummy-0.6.6.tar.gz
Size 685.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fe7c9b68d0ff194e09b7c708e0c2561bd1df35ccdeca75506abb15e5652970e9
BLAKE2b-256 checksum
How to use checksums
86f3a544265ade61653b36d75a71ba7fe6a2ca6533f7c88f32e71eeaf11e0b14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Release files / cgse_dummy-0.6.6-py3-none-any.whl

Download URL cgse_dummy-0.6.6-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e3136705ce9d20cd19493dd830b476f5bfdf75cb1b74d2d321a20a654f0e955
BLAKE2b-256 checksum
How to use checksums
c23b26d36c3eb8753616e9174cf8348332e6d670698ff9bb57b2a61dd5416d8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.22

Security for cgse-dummy 0.6.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page