Timeplus python SDK


License
Apache-2.0
Install
pip install timeplus==1.4.1

Documentation

gluon

Timeplus API SDK for Python

Timeplus SDK

A gluon (/ˈɡluːɒn/) is an elementary particle that acts as the exchange particle (or gauge boson) for the strong force between quarks. It is analogous to the exchange of photons in the electromagnetic force between two charged particles.

In Timepluse architecture, gluon is the API sdk acting as the connection to Timeplus's ecosystems.

Python SDK

Please check the README in python folder.

development

update api

  1. update spec/swagger.yaml with the latest neutron api spec
  2. make gen
  3. manually update query:
    _preload_content=params.get("_preload_content", False),
    set _preload_content to False
  4. manully update swagger_client/rest.py https://github.com/timeplus-io/gluon/commit/201cf464a7461ff31d34850753922c21f7fbeadb, make sure the string body wont get dumped again
  5. disable None check in swagger_client/models/alert for @trigger_query.setter and @resolve_query.setter
  6. go to python folder, set env properly and then make test
  7. make format to format the code

test

Manually try the sample in examples