python for asset management
Project description
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
)
Project details
Release history Release notifications | RSS feed
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.1.18.tar.gz
(4.5 MB
view details)
Built Distribution
File details
Details for the file sovai-0.1.18.tar.gz
.
File metadata
- Download URL: sovai-0.1.18.tar.gz
- Upload date:
- Size: 4.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1024-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7d8bb6937cf98ef2433d1ed9412c59f594811660b8e16a2cf5ad29515cff330 |
|
MD5 | 44229a528bd00a237a50114bd19b0663 |
|
BLAKE2b-256 | b47a2b5b4db6cccc38d6196e0f2fe18c220277648dd56495055f5cc18f61c23e |
File details
Details for the file sovai-0.1.18-py3-none-any.whl
.
File metadata
- Download URL: sovai-0.1.18-py3-none-any.whl
- Upload date:
- Size: 4.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1024-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a5bdfd5fc33f7ab74176edb2f662e0f78a31eb61a2a5e5a50ebafe76997b39d |
|
MD5 | 349bc4a578029b0dfe0405f32f10dc9c |
|
BLAKE2b-256 | 66972e3f593a1969cb77ec5411ad4e71f2cbc3ae8aff13bc730719191bbe4d13 |