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 a representation of objects on the server.

class Meta[source]

Information about individual projects.

model

alias of Project

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

Create a new project.

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

Return a list if the collection is iterable.

Project objects

class renga.models.projects.Project[source]

Represent a project.

Create a representation of an object on the server.

id

The identifier of the object.

name

The name of the project.