Mindsdb Server
This server uses flask_restx to define the API. Check API's docs for detailed information about each endpoint.
Installation
To install mindsdb server from PyPi run:
pip install mindsdb-server
Usage
Once you have the server installed, you can start it by calling the start_server():
import mindsdb_server as server
server.start_server()
Note that mindsdb server by default runs on 47334 port. To change that include port parameter:
server.start_server(port=43773)
Development installation
To install and run mindsdb_server for development, activate your virtualenv and run:
python setup.py develop
pip install -r requirements.txt
cd mindsdb_server
python3 server.py
You can provide basic parameters to the server.py call as:
- --port, the default is 47334
- --use_mindsdb_storage_dir, the default is False
- --host, the default is 0.0.0.0
Example: python3 server.py --port 47333
The code inside mindsdb_server
namespaces/<endpoint.py>: these contains a file per API resourcenamespaces/configs: these are the configs for the API resourcesnamespaces/entitites: these are specs for the document objects that can be returned by the API resources
Metadata
Release files for mindsdb-server 1.10.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mindsdb_server-1.10.2.tar.gz | 17.3 kB | Details |
Release files / mindsdb_server-1.10.2.tar.gz
| Download URL | mindsdb_server-1.10.2.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed7279b28fcbb71135f6a34ecc9c2b3305c738649176af939cb728f15e75fbf3
|
|
BLAKE2b-256 checksum How to use checksums |
b5347a9dcb7d5a37546e6d9805a01790ee2d0763aa3db9cbdc293a0674a2991a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3
|