Skip to main content

python for asset management

Project description

Sovai Python SDK package Publish Sovai SDK to TestPyPI

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.2.78.tar.gz (316.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sovai-0.2.78-py3-none-any.whl (368.2 kB view details)

Uploaded Python 3

File details

Details for the file sovai-0.2.78.tar.gz.

File metadata

  • Download URL: sovai-0.2.78.tar.gz
  • Upload date:
  • Size: 316.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.0 Linux/6.11.0-1018-azure

File hashes

Hashes for sovai-0.2.78.tar.gz
Algorithm Hash digest
SHA256 c5f02c4172279351bfe9ba6f5d2d24aa897e5e91ed080b1fa0e971869fd88f78
MD5 32da2f97fe6f5fae9332e2e2a62b1e61
BLAKE2b-256 af68137f23e49d1b1038804387d9f27cdf6d70fd8735d0203de99489d99d34cf

See more details on using hashes here.

File details

Details for the file sovai-0.2.78-py3-none-any.whl.

File metadata

  • Download URL: sovai-0.2.78-py3-none-any.whl
  • Upload date:
  • Size: 368.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.0 Linux/6.11.0-1018-azure

File hashes

Hashes for sovai-0.2.78-py3-none-any.whl
Algorithm Hash digest
SHA256 d0c43d96ca3248b8054d3fd4b102cec2547fb33190efebe90989ee125bfccb89
MD5 ca6cf61294ab888991cb39d3ec2cbe28
BLAKE2b-256 b4da3e87ef037e130c8a9897661c856381bbe1d771a02e5ba9b2b94a5f8cce04

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page