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.10+
Create the main app with authorization
import sovai as sov
# There are three ways how to login to the API
# 1. Configuration API connection
sov.ApiConfig.token = "super_secret_token"
sov.ApiConfig.base_url = "https://google.com"
# 2. Read token from .env file e.g API_TOKEN=super_secret_token
sov.read_key('.env')
# 3. The Basic authentication method
sov.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 = sov.data("bankruptcy/monthly", params={"version": 20221013})
Retrieve charts data with plotting graphs
# Retrieve charts with the dedicated plotting helper
data_pca = sov.plot(
"bankruptcy", chart_type="pca", tickers=["A"]
)
Metadata
Release files for sovai 0.2.86
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sovai-0.2.86.tar.gz | 4.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sovai-0.2.86-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 MB
Release files / sovai-0.2.86.tar.gz
| Download URL | sovai-0.2.86.tar.gz |
|---|---|
| Size | 4.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30ba8a56c5d08e119e7948786df701c89d78002c18fc809c5df8ac012405f92b
|
|
BLAKE2b-256 checksum How to use checksums |
927150aa75da1d8563369232a7157df131e1afef125c1f6289df633578f6dc48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.14.7 Linux/6.17.0-1022-azure
|
Release files / sovai-0.2.86-py3-none-any.whl
| Download URL | sovai-0.2.86-py3-none-any.whl |
|---|---|
| Size | 4.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b35e7b897ceff312e48bf859c3cd6f0db99cf42dee232aecdb38c37a1f4c733
|
|
BLAKE2b-256 checksum How to use checksums |
bc7215613c88ac558ba6a830699b2a54853118a55b6867506fc4c1961aa8ff08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.14.7 Linux/6.17.0-1022-azure
|