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.87
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.87.tar.gz | 4.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sovai-0.2.87-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 MB
Release files / sovai-0.2.87.tar.gz
| Download URL | sovai-0.2.87.tar.gz |
|---|---|
| Size | 4.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ecdf2e4d5894c94aafa84237ec0ecf62d64e17ae75d79c22e40569a4039b4ea
|
|
BLAKE2b-256 checksum How to use checksums |
cf3c4aed1c000c6ed3a80f5eb42d12f8cfd91d89bf02b73e7c127f5a17da726b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.14.8 Linux/6.17.0-1022-azure
|
Release files / sovai-0.2.87-py3-none-any.whl
| Download URL | sovai-0.2.87-py3-none-any.whl |
|---|---|
| Size | 4.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d1e1ebd7663af300e181fbf2e7671680ad4aada707741b5ec12b2ba9cf64864
|
|
BLAKE2b-256 checksum How to use checksums |
51a4cf0fe1029d77a6264c1c42f36a6cffa5c2eee7c851239cc0446c3b4d9128
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.14.8 Linux/6.17.0-1022-azure
|