Skip to main content

Mindsync API

Project description

Mindsync platform API for python

Mindsync is a platform that provides unified access to connect the required capabilities for the AI industry. It brings together businesses, the best talents, services, and solutions in the AI field in one single ecosystem to provide access to scalable task-solving resources and democratize machine learning capacities.

Run tests

git clone git@github.com:mindsync-ai/mindsync-api-python.git
cd mindsync-api-python
./run-tests

How to use

pip install mindsync

CLI

After that mindsync command will be available from the command line.

To get the cli description please use mindsync --help or e.g. mindsync profile --help to get help on certain command. Api key and api base url can be specified by environment variables MINDSYNC_API_KEY and MINDSYNC_BASE_URL.

To get own profile issue one of these with correct api key. Api key is available within the Mindsync platform under profile/account section.

mindsync --api-key fd3f8479b0b6b9868bff9bfadfefe69d --prettify profile
MINDSYNC_API_KEY=fd3f8479b0b6b9868bff9bfadfefe69d mindsync --prettify profile

Python

Mindsync provides both async and non-async api version. They have the same interface.

from mindsync.api import AsyncApi

API_KEY = 'fd3f8479b0b6b9868bff9bfadfefe69d'

async def get_profile():
    api = AsyncApi(API_KEY)
    return await api.profile()

And blocking version.

from mindsync.api import Api

API_KEY = 'fd3f8479b0b6b9868bff9bfadfefe69d'

api = Api(API_KEY)
print(api.profile())

Examples

$ examples/run 
Runs an example(s).

Usage:
    MINDSYNC_API_KEY=... MINDSYNC_BASE_URL=... examples/run EXAMPLE_NAME [EXAMPLE_NAME...]

Arguments:
    EXAMPLE_NAME   Example file name

Options:
    --help         Shows help message
cd examples
MINDSYNC_API_KEY=16b2e0cd2feacd54c8a872205e70cd56 MINDSYNC_BASE_URL=https://api.mindsync.ai ./run create_n_run_code.py

REST API

The REST API reference is available here https://app.swaggerhub.com/apis-docs/mindsync.ai/mindsync-api/1.2.0.

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

mindsync-0.1.27.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

mindsync-0.1.27-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file mindsync-0.1.27.tar.gz.

File metadata

  • Download URL: mindsync-0.1.27.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for mindsync-0.1.27.tar.gz
Algorithm Hash digest
SHA256 0c5de93a61d3b4f9e3d8fb8e0a8c08ac5e1bbbc603b27f08115e0dfc4b770947
MD5 c18f805123e26e8e6fc9e2397ccbcc0e
BLAKE2b-256 6dd02cc299c2c65be09c442acda01d72fbc3613775be8711565d3a93b33bfc72

See more details on using hashes here.

File details

Details for the file mindsync-0.1.27-py3-none-any.whl.

File metadata

  • Download URL: mindsync-0.1.27-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for mindsync-0.1.27-py3-none-any.whl
Algorithm Hash digest
SHA256 9428330238440a649647a35ca70d4c453d8cfc7e7c6f089f95ddaa1fd40f2548
MD5 67646e862bf1a69bd3f3a3fa24a039ca
BLAKE2b-256 25874ab4d719ade4691a4981195adaaed7bc551e3916312ca4e36eedd7f88d58

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