Skip to main content

the Official W3bstream Client for Python

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


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_cc4-0.0.9.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hello_world_cc4-0.0.9-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file hello_world_cc4-0.0.9.tar.gz.

File metadata

  • Download URL: hello_world_cc4-0.0.9.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for hello_world_cc4-0.0.9.tar.gz
Algorithm Hash digest
SHA256 b29c6f0b7daf77d1ef5b377915c681e9c7bd0343dd91da422ba94004da5b13fb
MD5 3103d3e2b0400f5cba4987cd7bc369e0
BLAKE2b-256 fbd0cd28b4403c101e79d8fa73378afadb103e88cca9c1fcc514b832e42624ac

See more details on using hashes here.

File details

Details for the file hello_world_cc4-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for hello_world_cc4-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 710bfc4fafb1d3379ee587561ec8424bc4b7a9ccccdafff42385a933cd541d70
MD5 f0f4718e039425da8d336beb10b8bced
BLAKE2b-256 764f30e50b44b81cba16145742fda477d29d50d8d093536c0de3e7993c265c28

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page