Back to Mindsdb

Create a Project

docs/sdks/python/create_project.mdx

26.1.0479 B
Original Source

Description

The get_project() and create_project() functions fetch an existing project or create a new one.

Syntax

Use the get_project() method to get the default mindsdb project:

python
project = server.get_project()

Use the get_project() method to get other project:

python
project = server.get_project('project_name')

Use the create_project() method to create a new project:

python
project = server.create_project('project_name')