a Hello World Test Module
Project description
w3bstream-client-python
The Python Client for W3bstream integration on server
Getting started
Install w3bstream-client-python via pip3
pip3 install w3bstream-client-python
pip3 install typeguard
pip3 install requests
Example Code
Publish Event Synchronously
from w3bstream_client_python import Client, Header
# the http_route, project and api_key are obtained on W3bstream-Studio
client = Client("http_route", "project", "api_key")
# device_id is the identity for the device
# payload can be an empty string if served as a heartbeat
header = Header('device_id')
rsp = client.publish_event_sync(header, b'payload')
print(rsp.text)
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
hello_world_testcc-0.0.2.tar.gz
(10.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hello_world_testcc-0.0.2.tar.gz.
File metadata
- Download URL: hello_world_testcc-0.0.2.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8a18f933b556fe7efdc82b56e9458b4603168dc2953d58bc4fb7d1f1f5b2ceb
|
|
| MD5 |
dd7ec5cd4e18ab1f11d09d810cea2928
|
|
| BLAKE2b-256 |
4007f2a92ee5c3bda0874f4a2978be8c212e368cc2707fca30d65b9f70e535af
|
File details
Details for the file hello_world_testcc-0.0.2-py3-none-any.whl.
File metadata
- Download URL: hello_world_testcc-0.0.2-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0410b93cab1959cfd0c42d34b5af48fb3e1fbdd449de96dbf79b9c233eaaa3f3
|
|
| MD5 |
cfa23d8f913e13d03115cfa815662b53
|
|
| BLAKE2b-256 |
4bddbd49ef3bc1ab4b454fb8a473b73d71e8962dfb1293803d74ce7ab1a996fc
|