Skip to main content

MindsDB server, provides server capabilities to mindsdb native python library

Project description

MindsDB

Build status PyPi Version PyPi Downloads MindsDB Community API Docs

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 resource
  • namespaces/configs: these are the configs for the API resources
  • namespaces/entitites: these are specs for the document objects that can be returned by the API resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mindsdb_server-1.9.3.tar.gz (16.2 kB view details)

Uploaded Source

File details

Details for the file mindsdb_server-1.9.3.tar.gz.

File metadata

  • Download URL: mindsdb_server-1.9.3.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.3

File hashes

Hashes for mindsdb_server-1.9.3.tar.gz
Algorithm Hash digest
SHA256 98a94d04bd92b4ef17613440086fd0b2d50df837e663b963354485522e8e6ca0
MD5 f4c1831a1ac1752ba390b9a6d4fee5ec
BLAKE2b-256 68199c07d0143c779d3c7d64a329091f5cb831fe3a937903f27339dd5a108b0d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page