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.83.tar.gz
(322.3 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.83-py3-none-any.whl
(374.4 kB
view details)
File details
Details for the file sovai-0.2.83.tar.gz.
File metadata
- Download URL: sovai-0.2.83.tar.gz
- Upload date:
- Size: 322.3 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 |
2229e8da9e6a60d543053ea77c6091a22e6a336509a2458cd0dce49269103bc5
|
|
| MD5 |
4742b8c8a148b476dc51cb8bcc7190ab
|
|
| BLAKE2b-256 |
4ad29fa7ba7c90cff02d96338137fae7c415bc8a7260d094ce732f67f76353b4
|
File details
Details for the file sovai-0.2.83-py3-none-any.whl.
File metadata
- Download URL: sovai-0.2.83-py3-none-any.whl
- Upload date:
- Size: 374.4 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 |
279c7a606cb0854a18b41675a96a4e8091700dfc9202788dd5e787c8ceeebcbd
|
|
| MD5 |
526579c876777677d16be667c893b5c5
|
|
| BLAKE2b-256 |
51de53e0296d0a021e2d59842482a305b8ee8e147b9cd5e3e21a12fe524aa3b8
|