Python wrapper around the RelayBox API.
Project description
rbpy
===============================
version number: 0.1.1
author: Matt Maybeno
Overview
--------
Python wrapper around the RelayBox API.
Installation / Usage
--------------------
To install use pip:
$ pip install rbpy
Or clone the repo:
$ git clone git@bitbucket.org:relaybox/rbpy.git
$ python setup.py install
Example
-------
```python
from __future__ import print_function
import json
import rbpy
box = rbpy.Box('private_code_here', 'publid_id_here')
box.send('hello world private message')
box.send('hello world public message', public=True)
box.get() # gets box messages
print(json.dumps(box.get(), indent=1)) # get box messages pretty
```
===============================
version number: 0.1.1
author: Matt Maybeno
Overview
--------
Python wrapper around the RelayBox API.
Installation / Usage
--------------------
To install use pip:
$ pip install rbpy
Or clone the repo:
$ git clone git@bitbucket.org:relaybox/rbpy.git
$ python setup.py install
Example
-------
```python
from __future__ import print_function
import json
import rbpy
box = rbpy.Box('private_code_here', 'publid_id_here')
box.send('hello world private message')
box.send('hello world public message', public=True)
box.get() # gets box messages
print(json.dumps(box.get(), indent=1)) # get box messages pretty
```
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
rbpy-0.1.1.tar.gz
(3.0 kB
view details)
Built Distributions
rbpy-0.1.1-py3.5.egg
(4.7 kB
view details)
rbpy-0.1.1-py2.7.egg
(4.6 kB
view details)
File details
Details for the file rbpy-0.1.1.tar.gz
.
File metadata
- Download URL: rbpy-0.1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e611c8fcaabe31b6fa7d7042fb48740c073f2f9c564e1d8975fea48cab05f8c9
|
|
MD5 |
6e8c7313b94f9cee7d1f24e6ba9ca6ab
|
|
BLAKE2b-256 |
c32759efc4b923bea81bc7f0191b4758f8e1a2f0f5b1f0d23195da5e166059e2
|
File details
Details for the file rbpy-0.1.1-py3.5.egg
.
File metadata
- Download URL: rbpy-0.1.1-py3.5.egg
- Upload date:
- Size: 4.7 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b9788b65086405da6821a13a210d3773dcb2f60ade06fdf3707686c1056a2c12
|
|
MD5 |
ba3ac11b8358cb137f6e4129ab2b11a0
|
|
BLAKE2b-256 |
b4dc8f3da8cb70a9353018362c8942e582a5162b25f48de83ab889c24282bfa7
|
File details
Details for the file rbpy-0.1.1-py2.7.egg
.
File metadata
- Download URL: rbpy-0.1.1-py2.7.egg
- Upload date:
- Size: 4.6 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c3599138c92802cb91e81639be47a3205b622c8c221a9601188772010c7b17fd
|
|
MD5 |
32ad0fb3603d1925f76735b5c5448037
|
|
BLAKE2b-256 |
c93f248457bcb8c131b64103e92366adec72226575f4fbe0c5f7031d1cba828a
|