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.80.tar.gz
(258.4 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.80-py3-none-any.whl
(302.7 kB
view details)
File details
Details for the file sovai-0.2.80.tar.gz.
File metadata
- Download URL: sovai-0.2.80.tar.gz
- Upload date:
- Size: 258.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.12.13 Linux/6.17.0-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39882adcdcc8f565023bc770f3825306b12a74aaa23a51b0ed3e673b361bfa1b
|
|
| MD5 |
cf42eebf871074504fb6bf8024e45b48
|
|
| BLAKE2b-256 |
5fe2ea1266993633b4529c858fa9f2f02e1ac4da9d71a1b7dba5a52acad3ed29
|
File details
Details for the file sovai-0.2.80-py3-none-any.whl.
File metadata
- Download URL: sovai-0.2.80-py3-none-any.whl
- Upload date:
- Size: 302.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.12.13 Linux/6.17.0-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e1945db49920265eb433bd5f62eaae99a4418918161e392b3ae347341d22581
|
|
| MD5 |
ea546fe755d9a1a3808bb45003adf33b
|
|
| BLAKE2b-256 |
e94a568e23c92a53eac24f711294751a716461f58d8cf8da615c2db37547b9dc
|