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-testcc-0.0.1.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_testcc-0.0.1-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file hello-world-testcc-0.0.1.tar.gz.

File metadata

  • Download URL: hello-world-testcc-0.0.1.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-testcc-0.0.1.tar.gz
Algorithm Hash digest
SHA256 cfb16962b571e9d5bfcd5b4c5c774b708f794068fb4c04ae7fbd70fad9de82be
MD5 bec91547166b84d83f5e8b90d1ea08bc
BLAKE2b-256 798dfa6286036cf4c5a10e7e383072531c03ca9a26fc0a7632a418f2abcf7bce

See more details on using hashes here.

File details

Details for the file hello_world_testcc-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for hello_world_testcc-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b85ae56df96c175ef9fea956e9fefe8749a35e3a1a50c9ee37bc623137510f8
MD5 cf4f58d91c8ddb758057789398a30c3d
BLAKE2b-256 ca089ccb504074477bd833514838501cfa286ff2503c30b29a459166921e38b6

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