The Python scripts in the current directory provides the examples of the infinity SDK API. Before running these scripts, please ensure that the correct version of infinity SDK is installed. If you are using the server version of Infinity, you can use the following command to install it
pip install infinity-sdk==0.5.2To use Infinity locally as a Python module, install the Infinity Embedded SDK:
pip install infinity-embedded-sdk==0.5.2Once the installation completes, run some simple examples:
python simple_example.pyWe provide several SHELL scripts in the /example/http directory, and you need to install curl to run these scripts. For Debian or Ubuntu users, use the following command:
sudo apt install curlThe HTTP APIs work only with the Infinity server. Ensure that an Infinity server is running properly before executing these scripts:
bash http/create_list_show_database.sh