Skip to main content

websocket client for threedi websocket consumer endpoints

Project description

threedi-ws-client

https://img.shields.io/pypi/v/threedi-ws-client.svg https://img.shields.io/travis/larsclaussen/threedi-ws-client.svg Documentation Status

Quick start

Create a virtual python > 3.6 environment, run:

pip install -r requirements.txt

The active_simulations command takes a required keyword argument –env with the options

  • prod (production obviously)

  • stag (staging obviously)

  • local

You have to create a corresponding .env file for the destination environment. The prod.env file could look something like this:

API_USERNAME='micheal.jackson'
API_PASSWORD='sefdiee92u43dmslzxsad'
API_HOST='https://api.3di.live/v3.0'

To start the client run:

python threedi_ws_client/commands/active_simulations.py --env=<prod | stag | local>

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.0.2 (unreleased)

  • Create PyPi project first.

0.1.0 (2020-04-21)

  • First release on PyPI.

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

threedi-ws-client-0.0.2.dev0.tar.gz (11.6 kB view details)

Uploaded Source

File details

Details for the file threedi-ws-client-0.0.2.dev0.tar.gz.

File metadata

  • Download URL: threedi-ws-client-0.0.2.dev0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for threedi-ws-client-0.0.2.dev0.tar.gz
Algorithm Hash digest
SHA256 c8f89b8815922fa7924508fda69a530e83fbd53a33994874c0a3ce0fe70f0de9
MD5 1c8d811217b34c60ecdf90b4615ad30c
BLAKE2b-256 f0bcf374e852ca1bd56e5b2e48437817d63312eb719e3e1ae1c689cd26d13eae

See more details on using hashes here.

Supported by

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