SovAI SDK Tool Kit Package
Python SDK Tool Kit, which provides some functions that help you fast receive information from Cloud API.
Quick start
Prerequisites:
- Python 3.8+
Create the main app with authorization
import sovai as sv
# There are three ways how to login to the API
# 1. Configuration API connection
sv.ApiConfig.token = "super_secret_token"
sv.ApiConfig.base_url = "https://google.com"
# 2. Read token from .env file e.g API_TOKEN=super_secret_token
sv.read_key('.env')
# 3. The Basic authentication method
sv.basic_auth("test@test.com", "super_strong_password")
# And then continue working with get some data from API and manipulating them
Retrieve data from different endpoints from the API server
# Retrieve data
gs_df = sv.get("bankruptcy/monthly", params={"version": 20221013})
Retrieve charts data with plotting graphs
# Retrieve data with plotting special flag `plot=True`
data_pca = sv.get(
endpoint="bankruptcy/charts", params={"tickers": "A", "chart": "pca"}, plot=True
)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sovai-0.2.84.tar.gz
(322.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
sovai-0.2.84-py3-none-any.whl
(374.9 kB
view details)
File details
Details for the file sovai-0.2.84.tar.gz.
File metadata
- Download URL: sovai-0.2.84.tar.gz
- Upload date:
- Size: 322.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.14.6 Linux/6.17.0-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c8c04bbf661cb74146e1d1d9eab7cbd6d8bb3159368461ea5e5574c89e12eee
|
|
| MD5 |
a65f1940b1b11654ed31da6aa66d5b90
|
|
| BLAKE2b-256 |
f62ddfac71a082a3b70935954e0d2116e5cc2c885d828bf1976f9012b3448824
|
File details
Details for the file sovai-0.2.84-py3-none-any.whl.
File metadata
- Download URL: sovai-0.2.84-py3-none-any.whl
- Upload date:
- Size: 374.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.14.6 Linux/6.17.0-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b11969d8c319fbf8b83a406d50e6c059ca26d1c0a77472614b1197d14746c951
|
|
| MD5 |
230fd2cc1581ec133b7bc6598f1b44b7
|
|
| BLAKE2b-256 |
b1bc9b5534e5da50a73d94f1e5c254e385d72888ca4c4abaa4293f2f3d9a433f
|