| title | Installation |
|---|---|
| sidebarTitle | Installation |
Python SDK enables you to connect to the MindsDB server from Python using HTTP API. Read along to see how to install and test the MindsDB Python SDK.
To install the MindsDB Python SDK, run the below command:
pip install mindsdb_sdkHere is the expected output:
Instead of using the pip install mindsdb_sdk command, you can install it by cloning the Python SDK repository. Then you should create a virtual environment, install all dependencies from the requirements.txt file, and run tests as instructed below.
To test all the components, go to the project directory (mindsdb_sdk) and run the below command:
env PYTHONPATH=./ pytestTo generate the API documentation, run the below commands:
pip install sphinx
cd docs
make htmlThe documentation is generated in the docs/build/html folder.
