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_cc1-0.0.7.tar.gz (9.4 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_cc1-0.0.7-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file hello_world_cc1-0.0.7.tar.gz.

File metadata

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

File hashes

Hashes for hello_world_cc1-0.0.7.tar.gz
Algorithm Hash digest
SHA256 668e827cb594103b13e16e4be49f7818a2580dfa5daf63dbc2eff26a28f959ea
MD5 c7e62ac2d7d2fd65031864a5a5071f0e
BLAKE2b-256 be00379838ad84e9ab0dd8dbfedb26f9570e66f92023fe6f409978f1459a8745

See more details on using hashes here.

File details

Details for the file hello_world_cc1-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for hello_world_cc1-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d38e585e50cb93295e179178355eb03cf88fb13863532810729dfcb561c80fcf
MD5 4bd411e1a3eccc53b415831f9fc575a7
BLAKE2b-256 5c8fd285a97348d168eafa95d2a826e7b6c2579a64eb4dff4f4feca39d5c5f4b

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