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.6.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

gridworks_debug_cli-0.1.6-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gridworks_debug_cli-0.1.6.tar.gz
  • Upload date:
  • Size: 18.1 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.6.tar.gz
Algorithm Hash digest
SHA256 4ce35609ba20946c278637f34f12583ee89cc9a21097e14b4cbfa2ae38e76022
MD5 22fd4a1a512420705068835ecb96d78c
BLAKE2b-256 eff2c47f6371c53a65b3d8c7c3e226b0969a0a2f66376158d2f8b5ec05e86dbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gridworks_debug_cli-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c0110e1556c74240243b8e79d25ae4b70e3259bdda7a44a3b9ed76583ce1dc27
MD5 64ff96379c5d2fd2754161c61f1e6b27
BLAKE2b-256 2975dd1a36ece7caf9807f738439e98228f2ed0e8011988fad8120a8e8191ce3

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