Gridworks Debug Cli
Project description
Gridworks Debug Cli
Internal debugging tools for Gridworks systems:
brew install awscli
aws configure
pip install gridworks-debug-cli
gwd --help
gwd csv --help
gwd csv egd --help
gwd events --help
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, via
events
subcommand. - Data download, via
csv
subcommand.
Requirements
- awscli. This should be installable
per Amazon instructions or on a
mac with:
brew install awscli
- AWS credentials from Gridworks installed per
Amazon instructions or:
aws configure
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
Vieweing events
Configure events subcommand 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'"
}
}
}
Data download
Configure csv subcommand with:
gwd csv mkconfig
open $HOME/.config/gridworks/debug-cli/csv/gwd.csv.config.json
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gridworks_debug_cli-0.2.0.tar.gz
.
File metadata
- Download URL: gridworks_debug_cli-0.2.0.tar.gz
- Upload date:
- Size: 21.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cfbd499b845272fe5e707aef5aa7b7c986b4728eca3b37cc23fef7ee16c0aad |
|
MD5 | 112fa57f37de1fb81f4819b5de5dce1b |
|
BLAKE2b-256 | fbfcec099522acc2e1de3d215377ba87dc77d876090f1cb995e0ae0c001b33b2 |
File details
Details for the file gridworks_debug_cli-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: gridworks_debug_cli-0.2.0-py3-none-any.whl
- Upload date:
- Size: 25.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fcf43c1cebc8851ae9bf4834590ce0b0e814762811c2b7d73ccc31c0b3b330b |
|
MD5 | 554c1fe4200ee77b1147ab2dbdc2a649 |
|
BLAKE2b-256 | fd699bd0dd2b35b0f42f17c6b0e618c0fb18ddb6dc27260d172144acc0101b6b |