Projects

Manage projects on the server.

class renga.models.projects.ProjectCollection(client=None)[source]

Represent projects on the server.

Example

Create a project and check its name.

>>> project = client.projects.create(name='test-project')
>>> project.name
'test-project'

Create representation of objects on the server.

class Meta[source]

Information about individual projects.

model

alias of Project

create(name=None, **kwargs)[source]

Create new project.

Parameters:name – The name of the project.
Returns:An instance of newly create project.
Return type:Project
list()

Return list if the collection is iterable.

Project objects

class renga.models.projects.Project[source]

Represent a project.

Create representation of object on the server.

id

The identifier of the object.

name

The name of the project.