Skip to main content

DataVita Python SDK

Project description

华创证券VitaX Python 工具套件



要使用VitaX Python SDK ,您需要联系华创证券金融科技部工作人员申请获取 Access Key IDAccess Key Secret

SDK 获取和安装

使用 pip 安装(推荐)

pip install datavita-python-sdk # 安装阿里云 SDK 核心库


以下这个代码示例向您展示了调用阿里云 Python SDK 的3个主要步骤:

  1. 创建 Client 实例
  2. 获取所需数据
  3. 发起请求并处理异常
# -*- coding: utf8 -*-
from datavita.andes.andes_data import AndesData
from datavita.core.auth import Auth

# 创建 AcsClient 实例
access_key_id = "1"
access_secret = "1"
auth = Auth(access_key_id, access_secret)
ad = AndesData(auth=auth, timeout=1, max_retries=1)
df = ad.get_dataset_by_tagcode(tag_code='xxxx')

在创建 Auth 实例时,您需要填写 2 个参数:Access Key ID 和 Access Secret。Access Key ID 和 Access Secret 申请获取;

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

datavita_python_sdk-0.1.0-py3-none-any.whl (27.3 kB view hashes)

Uploaded Python 3

Supported by

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