Client¶
Creating a client¶
There are several ways to instantiate a client used for communication with the Renga platform.
- The easiest way is by calling the function
from_env()when running in an environment created by the Renga platform itself. - The client can be created from a local configuration file by calling
from_config(). - Lastly, it can also be configured manually by
instantiating a
RengaClientclass.
Client reference¶
-
class
renga.client.RengaClient[source]¶ A client for communicating with a Renga platform.
Example:
>>> import renga >>> client = renga.RengaClient('http://localhost')
Create a Renga API client.
-
projects¶ An object for managing projects on the server.
See the projects documentation for full details.
-
buckets¶ An object for managing buckets on the server.
See the buckets documentation for full details.
-
contexts¶ An object for managing contexts on the server.
See the contexts documentation for full details.
-