Skip to main content

Microchip Data Gateway Interface Tools

Project description

Microchip Data Gateway Interface Tools

The pymdgilib Python package contains various tools to support devices that implement the Microchip Data Gateway Interface (DGI) protocol.

PyPI - Format PyPI - Python Version PyPI - License

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.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pymdgilib-0.3.0.3-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file pymdgilib-0.3.0.3-py3-none-any.whl.

File metadata

  • Download URL: pymdgilib-0.3.0.3-py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for pymdgilib-0.3.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a01199265e2d21df6c2411104663cc93f50b195fb6dc6cbb2f95111f21932365
MD5 340d61b301cd3287527de14e9ff0628b
BLAKE2b-256 9fa59381e5283b8210640b8de8434319d2deef876d809dc2b9acba740260f57f

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