A python client for hubble
Project description
# Pyhubble
Python client for [hubble](https://github.com/jaymedavis/hubble), the terminal dashboard
pip install pyhubble
## Usage
Import the client
```python
from pyhubble import Hubble
```
Initialization and sending values
```python
hubble = Hubble('http://localhost:9999/')
hubble.send({'label': 'Test', 'value': 1, 'column': 0})
```
Increment/decrement a label
```python
hubble.increment('Test') # Increments the value of this label
hubble.decrement('Test') # Decrements the value of this label
```
## TODO
Poll implementation
Unittest
High, low and screen properties
Python client for [hubble](https://github.com/jaymedavis/hubble), the terminal dashboard
pip install pyhubble
## Usage
Import the client
```python
from pyhubble import Hubble
```
Initialization and sending values
```python
hubble = Hubble('http://localhost:9999/')
hubble.send({'label': 'Test', 'value': 1, 'column': 0})
```
Increment/decrement a label
```python
hubble.increment('Test') # Increments the value of this label
hubble.decrement('Test') # Decrements the value of this label
```
## TODO
Poll implementation
Unittest
High, low and screen properties
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
PyHubble-0.1.1.tar.gz
(1.8 kB
view details)
File details
Details for the file PyHubble-0.1.1.tar.gz
.
File metadata
- Download URL: PyHubble-0.1.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c2cbfe93e3418b013e8b7acbc038d25bf4078504bbb1aa817714ddc5aa915e9 |
|
MD5 | 61f2f57a30c674395dd80f0119503b71 |
|
BLAKE2b-256 | 33a2760e93321c55687db362760b23ae3662b692991e0ffedafeb5092b960eda |