Skip to main content

Python SDK for using SOCO platform

Project description

SOCO-Core Python SDK

Python client to use SOCO answer-as-as-service platform.


pip install soco-core-python

Quick Start

This following example can be found at: To see more examples, check out /examples folder

First of all, register at After get your API_KEYs, you can setup a answer answer using 10 lines of code!


q_client = SOCOClient(QUERY_API_KEY)
a_client = SOCOClient(ADMIN_API_KEY)

print("## Add some data to the index")
data = load_example_frame_data('mr.sun')

print("## Wait for indexing is done ... ")
a_client.wait_for_ready(check_frequency=2, timeout=10, verbose=False)

print("## Make a query")
responses = q_client.query("how many images", 10)


If you use SOCO in research, we would love to be cited:

      title={SOCO: Answer Engine Platform},
      author={Tiancheng Zhao and Kyusong Lee},

Project details

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

soco_core_python-0.1.1-py3-none-any.whl (12.0 kB view hashes)

Uploaded Python 3

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