Install and sign in
terminal
pip install dyno-phi
phi auth loginpython
from phi import PhiClient
with PhiClient() as phi:
print(phi.quota.get())The examples use a signed-in PhiClient named phi. Each call shows its required arguments, and the table under it lists every parameter.
Resources
phi.artifacts3 methodsList and download the files a run produced.phi.billing5 methodsRead credits and manage payments and auto-reload.phi.datasets12 methodsOrganize sequences into datasets within a project.phi.designs3 methodsRead and export the designs in a project.phi.files1 methodUpload a local file for use as a model input.phi.job_types4 methodsFind models and validate their inputs and parameters.phi.jobs7 methodsSubmit a model job, follow its progress and wait for results.phi.logs5 methodsRead or follow a run's logs.phi.projects6 methodsCreate projects and find the work they contain.phi.quota4 methodsRead credit usage and its history.phi.run_admin2 methodsDelete or restore runs as an organization admin.phi.runs12 methodsRead runs, follow their stages and resume a failed run.phi.sequences9 methodsRead sequences, export scores and download structures.
Client and error imports
Import these from phi. AsyncPhiClient has the same methods for use with await.
AsyncPhiClient, JobTypeSchema, PhiAuthError, PhiClient, PhiConfigError, PhiConflictError, PhiError, PhiInsufficientCreditsError, PhiNotFoundError, PhiRateLimitError, PhiServerError, PhiSignedOutError, PhiTimeoutError, PhiValidationError
Client version 0.4.2.