Microchip Data Gateway Interface Tools
The pymdgilib Python package contains various tools to support devices that implement the Microchip Data Gateway Interface (DGI) protocol.
Installation
Install using pip from pypi:
pip install pymdgilib
Command line interface - pydgi
pydgi is a command line interface to interact with DGI interfaces.
For help run:
pydgi --help
To monitor DGI GPIO0 for 5 seconds run:
pydgi gpio read --pin 0x1 --sampling-time 5
To set GPIO0 to high on the board with USB serial number MCHP3280042700000498 run:
pydgi --serial MCHP3280042700000498 gpio write --pin 0x1 --value 0x1
Using pymdgilib as a library
Examples on how to use pymdgilib as a library are located in pymdgilib/examples.
Changelog
[0.3.0] - November 2024
Initial release of the package.
Metadata
Release files for pymdgilib 0.3.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pymdgilib-0.3.0.3-py3-none-any.whl | Python 3 | none | any | Details for pymdgilib-0.3.0.3-py3-none-any.whl |
Release files / pymdgilib-0.3.0.3-py3-none-any.whl
| Download URL | pymdgilib-0.3.0.3-py3-none-any.whl |
|---|---|
| Size | 31.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a01199265e2d21df6c2411104663cc93f50b195fb6dc6cbb2f95111f21932365
|
|
BLAKE2b-256 checksum How to use checksums |
9fa59381e5283b8210640b8de8434319d2deef876d809dc2b9acba740260f57f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.15
|
Security for pymdgilib 0.3.0.3
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.