Projects SDK
  • Print
  • Share
  • Dark
    Light

Projects SDK

  • Print
  • Share
  • Dark
    Light

To reach the projects repository press here

To reach the projects entity press here

To learn more about Dataloop's Projects visit What are Projects?

For a UI usage of projects go to Create a Project page

Highlighted text require your input

Please check your active organization before creating a project

Prep

import dtlpy as dl
if dl.token_expired():
    dl.login()

Projects Commands

 Create a Project 

To reach the "create a project" function reference press here.

project = dl.projects.create(project_name='my-new-project')

 Get Commands

Get my projects

To reach the "get a project" function reference press here.

dl.projects.list()

Get a project by name

project = dl.projects.get(project_name='my-project')

Get a project by project ID

project = dl.projects.get(project_id='my-project-id')

Print a Project

project.print()

Output:

+----+---------------------+-----------------------+--------------------------------------+---------+-------+
|    | createdAt           | creator               | id                                   | name    | org   |
|----+---------------------+-----------------------+--------------------------------------+---------+-------|
|  0 | 2019-07-31 12:01:36 | oa-test-1@dataloop.ai | 023a227a-7343-45a4-a657-2c3b49785c0a | b'Pigs' |       |
+----+---------------------+-----------------------+--------------------------------------+---------+-------+
Was This Article Helpful?