Skip to main content

Python MindsDB SDK

It enables you to connect to a midnsDB server and use it in a similar way to mindsb_native.

Install

pip install mindsdb_sdk

Example of usage

from mindsdb_sdk import SDK

# connect
mdb = SDK('http://localhost:47334')

# upload datasource
mdb.datasources['home_rentals_data'] = {'file' : 'home_rentals.csv'}

# create a new predictor and learn to predict
predictor = mdb.predictors.learn(
    name='home_rentals',
    datasource='home_rentals_data',
    to_predict='rental_price'
)

# predict
result = predictor.predict({'initial_price': '2000','number_of_bathrooms': '1', 'sqft': '700'})

Tests

Before run tests, change SERVER and CREDENTIAL constants in tests/test.py. After that, run python3 tests/test.py
Test file - is a good place where you can find some examples of api usage.

API Reference(WIP)

class MindsDB(server: str, params: dict)

class DataSources()

class DataSource()

class Predictors()

class Predictor()

class Proxy()

Metadata

Release files for pd-auto-ml 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pd-auto-ml 0.5.0
File Size Uploaded
pd_auto_ml-0.5.0.tar.gz 8.4 kB Details

Release files / pd_auto_ml-0.5.0.tar.gz

Download URL pd_auto_ml-0.5.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3c37078bb0bc3fd50ec68cdb5520fab3c8acfe2a7b099830d0a02008d1236c51
BLAKE2b-256 checksum
How to use checksums
6948521422b9f59cc2bb907dace4737c4caf4b3a238e5804c9bd9b087e387c53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

Release history Release notifications | RSS feed

This release

0.5.0 This release

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page