Hyperdash.io CLI and SDK
Project description
HyperDash Python SDK
# How to use 1) Explain thread model 2) Explain that it captures STDOUT/STDERR 3) Explain that it explicitly manages the logging package
TODO
# Development
## Setup
Clone the repo into your $GOPATH (repo must be somwhere under $GOPATH/src)
In the root of the SDK directory, run virtualenv env to create a virtual environment
Run . env/bin/activate to activate the virtual environment
Run pip install -r requirements.txt to install dependencies
## Testing TODO
# Features
## Completed
Capture STDOUT/STDERR and send them to server via websockets
Make ServerManager resilient against network failures (buffer messages, auto retry / reconnects)
Basic plumbing for logging
Support for retrieving API key via hyperdash.json, HYPERDASH_API_KEY environment variable, and custom function.
## TODO:
Server authentication
Basic test suite / integration test
Confirm python 2.xx and 3.xxx compatibility
Ability to start / stop / restart jobs
Hyper-parameter injection / retrieval from server
Create logging handler to capture logs for users already using the logging package
Thread vs Process (to support efficient job-killing)
StringIO buffers and unicode
Maximum log size + truncate old logs
Local log files
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.