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.16.tar.gz
(4.5 MB
view details)
Built Distribution
File details
Details for the file sovai-0.1.16.tar.gz
.
File metadata
- Download URL: sovai-0.1.16.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 | 7e98a591bd3d290ad36a8f1e32b8435e69d3e0ca38cecc374af2db9b5325104d |
|
MD5 | 930abec84c7abf80d1f5aea40ad8d838 |
|
BLAKE2b-256 | 82ed2ae410bcb08db4d3e75a3e6259a88d49554f53b2b52fa5764522d3bffceb |
File details
Details for the file sovai-0.1.16-py3-none-any.whl
.
File metadata
- Download URL: sovai-0.1.16-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 | 395ae8678263696f5f3b2996a8f03fdbbbafa085ddc624f095a96ca5b3d6acf3 |
|
MD5 | 83ea3ecf01d462dc86096eb3a10e1d10 |
|
BLAKE2b-256 | 64af7173534de5dad264ef872fe0c25bbd8590b410a442087c20327ce7ec1c53 |