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 environment created by Renga platform itself. - The client can be created from local configuration file by calling
from_config()
. - Lastly, it can also be configured manually by
instantiating a
RengaClient
class.
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.
-