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.82.tar.gz
(322.1 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.82-py3-none-any.whl
(374.2 kB
view details)
File details
Details for the file sovai-0.2.82.tar.gz.
File metadata
- Download URL: sovai-0.2.82.tar.gz
- Upload date:
- Size: 322.1 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 |
cb981b2b20857cdcbc3a8ab09ac29874bb136441dd80fef1d24b4eec9ade930d
|
|
| MD5 |
3a6ff5fa5a5f1a2ba1b682d13b4f08b6
|
|
| BLAKE2b-256 |
4d138b7759d5cbc0afb6d439f78fc086795fb32b58fb1752a962308c3256f3ad
|
File details
Details for the file sovai-0.2.82-py3-none-any.whl.
File metadata
- Download URL: sovai-0.2.82-py3-none-any.whl
- Upload date:
- Size: 374.2 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 |
8507730bc05786fa4dec86b75761e1eed7a4808a3793c32d21d260f87fa7eb16
|
|
| MD5 |
c4674f5d68b13aab9f198e5d8ff86a85
|
|
| BLAKE2b-256 |
49d01dd292e5df1d2a81505709fcf183ea7cc009c9b9abc0d8161e88d9a960d0
|