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.81.tar.gz
(321.2 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.81-py3-none-any.whl
(373.4 kB
view details)
File details
Details for the file sovai-0.2.81.tar.gz.
File metadata
- Download URL: sovai-0.2.81.tar.gz
- Upload date:
- Size: 321.2 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 |
4108bba6e43904122450ff636d5393d961d852fe05eb4b19bcc6666d4e01084f
|
|
| MD5 |
402381d7d8174201c49684c771b11ec1
|
|
| BLAKE2b-256 |
19b19b2204c534b653d0db03d447eb2ecae1f3a763fd4b56a66b8315157f81df
|
File details
Details for the file sovai-0.2.81-py3-none-any.whl.
File metadata
- Download URL: sovai-0.2.81-py3-none-any.whl
- Upload date:
- Size: 373.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 |
6bc8852e30157d1986edeb8bbc1e4678c37c31d2a6b93e409b428bb6059ea882
|
|
| MD5 |
6821e56c65c939a4dc62db5d64d4bc72
|
|
| BLAKE2b-256 |
a53e7132d4af64c837198dba8a2822eb51c88c7de03879a70df75659226e48b2
|