Working with Projects
Create and List Projects
In this tutorial you will learn how to work with projects using Encord’s Python SDK.
Make sure that you have a public-private key pair that you’ve authenticated with Encord before you start.
Creating projects
New projects are created using the create_project() method. create_project() returns a unique ID known as the <project_hash> of the created project, and the user that calls this method automatically becomes the admin of the project.
Projects cannot be deleted using the SDK or the API. Use the Encord platform to delete projects.
Listing existing projects
You can query and list all the available Projects for a given user. In the example below, a user authenticates with Encord and then fetches all Projects available using the get_projects() method.
The get_projects() method has multiple optional arguments that allow you to perform a filtered search when querying projects. For example, if you only want projects with titles starting with “Validation”, you could use user_client.get_project(title_like=“Validation%”). Other keyword arguments such as created_before or edited_after may also be of interest.
Was this page helpful?