Skip to main content

roshareservice is a python sdk with chinese stock data service.

Project description

RoShareService

shields_version shields_license shields_author shiedls_python

roshare_symbol

介绍

  • RoShareService是一个数据服务包,主要功能是为底层数据向外提供了一个接口服务,可实现用户权限验证和流量限制。roShareService采用Client-Server架构设计,服务端使用HTTP协议构建数据服务的OpenAPI,暂时采用GET-method;用户权限采用token机制。

安装

roShareService采用Python开发,得益于Python良好的社区环境,安装支持Pythonic风格的各种管理器。

	$ pip install roshareservice-0.1.1-xxxxxxxxxxxx.whl

快速指南

服务端使用

  • 对于服务端数据服务启动,首先使用roShareService命令行进行元数据库初始化,然后再启动服务端服务。以下是roshareservicectl命令行示例:
	$ roshareservicectl set-metadb

	$ roshareservicectl start-service 

设计

  • 采用Client-Server架构设计
  • 服务端使用HTTP协议构建数据服务的OpenAPI
  • 用户权限采用token机制
  • 用户流量限制

技术列表

  • 微服务-FastAPI
  • 加密验证-Token-JWT技术
  • 数据库-SQLite3

设计UML图

以下是设计的UML图: roshareserviceuml

Project details


Download files

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

Source Distribution

shihua-roshareservice-0.1.1.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

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

shihua_roshareservice-0.1.1-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file shihua-roshareservice-0.1.1.tar.gz.

File metadata

  • Download URL: shihua-roshareservice-0.1.1.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for shihua-roshareservice-0.1.1.tar.gz
Algorithm Hash digest
SHA256 55da11ff0a56ac6924cecf7761b85670ecc71bf414e6ffe6529056778ca8b331
MD5 4bf41fa3b5dd5b096d1793347ade688d
BLAKE2b-256 2aa125043468da4120331b1f141c0372943fdda1b68a9b11d1bd401d4e47e38b

See more details on using hashes here.

File details

Details for the file shihua_roshareservice-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for shihua_roshareservice-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b6683fd57fe2b1c68d4cd7b11fa13c157a1602ea8a3ec6b6aa4319676c1da420
MD5 1651b7cb171a90ef637f570750a456b6
BLAKE2b-256 2ee18c521e28583de181f1e9facd4e0096d1961109526de2adcfe9770ea57f93

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