geodesic.account#

This module allows user to interact with their user account and associated resources such as projects, organizations, credentials, and tokens.

Account Classes#

Project(**project)

The Project class to manage groups of nodes in a subgraph in entanglement.

Credential(**credential)

Credentials to access secure resources such as a cloud storage bucket.

Organization(**organization)

The Organization class to manage groups users.

User(**info)

Represents a user in the system.

Token(**token)

Represents the share tokens created when a user shares a dataset through Vertex.

Utility Functions#

create_project(name, alias, description[, ...])

Creates a new project.

get_project([name_or_uid, refresh])

Gets a project by name or uid.

get_projects()

set_active_project(p)

Sets the active project.

get_active_project()

Gets the active project.

get_credential([name_or_uid])

Gets the uid/name/type of requested credential, or None if it doesn't exist.

get_credentials()

Returns all of your user's credentials.

myself()

Returns the current logged in user.

get_user(subject)

Returns the requested user if the requestor has permissions.

get_users()

Returns all users, if the current user has permission.

get_tokens([project, servicer_name, ...])

Returns all active tokens created by a user.