Skip to main content

Gridworks Debug Cli

Project description

Gridworks Debug Cli

PyPI Status Python Version License

Read the documentation at https://gridworks-debug-cli.readthedocs.io/ Tests Codecov

pre-commit Black

Internal debugging tools for Gridworks systems:

brew install awscli
aws configure
pip install gridworks-debug-cli
gwd events mkconfig
gwd events show

This tool will be maintained only as long as it is internally useful. YMMV.

Features

  • Event viewing, either from local directory of events or from the cloud.

Requirements

Installation

You can install Gridworks Debug Cli via pip from PyPI:

Install awscli per per Amazon instructions or on a mac with:

brew install awscli

Get AWS credentials from Gridworks and install them with:

aws configure

Install gridworks-debug-cli with:

pip install gridworks-debug-cli

Configure gridworks-debug-cli with:

gwd events mkconfig
open $HOME/.config/gridworks/debug-cli/events/gwd.events.config.json

You must fill in values for the following keys with information from Gridworks:

{
  "mqtt": {
    "hostname": "USE REAL VALUE",
    "password": "USE REAL VALUE",
    "username": "USE REAL VALUE"
  },
  "sync": {
    "s3": {
      "bucket": "USE REAL VALUE",
      "prefix": "USE REAL VALUE",
      "profile": "USE NAME YOU CHOSE in 'aws configure'"
    }
  }
}

Usage

Please see the Command-line Reference for details.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, Gridworks Debug Cli is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.

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

gridworks_debug_cli-0.1.2.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

gridworks_debug_cli-0.1.2-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file gridworks_debug_cli-0.1.2.tar.gz.

File metadata

  • Download URL: gridworks_debug_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for gridworks_debug_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5e2ba40bf04a306e7812754aa6eedadb4c36379b872c3862e2af7e32b98390fc
MD5 bb38433f0c2c6ffc246ece700d36e638
BLAKE2b-256 0b2629f7cd0391d37469cba90919ba0e180f4dfbf045833e87102c666c138d75

See more details on using hashes here.

File details

Details for the file gridworks_debug_cli-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for gridworks_debug_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6491271d094310f7d4fa091dfad0b1b9f76de6ee01e22c73f642b61246aa6faf
MD5 4ba8dd077abbcd143e5f06252d61a2bb
BLAKE2b-256 1c3e401e326b38e04b90c687d34622d81a5388559959dee5e6d07ddbc6c59dcf

See more details on using hashes here.

Supported by

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