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.3 (2020-12-16)

  • Use click directly.

0.0.2 (2020-12-16)

  • 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.3.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

threedi_ws_client-0.0.3-py2.py3-none-any.whl (10.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file threedi-ws-client-0.0.3.tar.gz.

File metadata

  • Download URL: threedi-ws-client-0.0.3.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for threedi-ws-client-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e4207c23f6f9cd6d2896a31c6634d1da171b451f05d10a4847bc7f6d9fc08445
MD5 766b7236126544da232abbee3e82fb53
BLAKE2b-256 a95ac6979fba6c1ab24afa9d74024a75f281829c81158abe4b74f803f952cff9

See more details on using hashes here.

File details

Details for the file threedi_ws_client-0.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: threedi_ws_client-0.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for threedi_ws_client-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ddd58188c4510623da7c70fc34815846eab9d977d09ececfe305022ad2c36512
MD5 f3e7bc0f2af599be98b900a11d2df35c
BLAKE2b-256 746c5d00f90124668c87dc7c8588f8baa93d45a7cf0d46b4adc1127393a85f2b

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