quotas

Client API for quotas in Nexus.

qnexus.client.quotas.check_quota(
name: Literal['compilation', 'simulation', 'jupyterhub', 'database_usage'],
) bool

Check that the current user has available quota.

qnexus.client.quotas.get(
name: Literal['compilation', 'simulation', 'jupyterhub', 'database_usage'],
)

Get specific quota details by name.

qnexus.client.quotas.get_all() DataframableList[Quota]

Get all quotas, including usage.

class qnexus.quotas.Quota(
*,
name: str,
description: str,
usage: float,
quota: float | str,
)

A quota in Nexus.

df() DataFrame

Convert to a pandas DataFrame.