Skip to main content

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


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_cc-0.0.3.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_cc-0.0.3-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file hello_world_cc-0.0.3.tar.gz.

File metadata

  • Download URL: hello_world_cc-0.0.3.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_cc-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2fb3e0e8812aadf6e6fb655287d79660c1a005d1a344d84789806274eaf6ce3c
MD5 c4e92847b6590374f20606dda4410815
BLAKE2b-256 d10a0ee3b34551536a96ab0645500ac5d2e811f391bafec5e78f0af4fdb9cc77

See more details on using hashes here.

File details

Details for the file hello_world_cc-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: hello_world_cc-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for hello_world_cc-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cbba0c0207f7298ebf86b6cc48bd11763b536859de9593153f1d3857b8d50629
MD5 d4bfe7b74c08deee62161ed49024a9ca
BLAKE2b-256 955261ebfdb0896d11e8ec5ab7474a46f07e80580297ecaf0d4f8b50bd67a9ff

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