Skip to main content

sunshareservice is a python sdk with data service.

Project description

SunShareService-数据服务包

shields_version shields_license shields_author shiedls_python

sunshareymbol

介绍

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

安装

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

	$ pip install sunshareservice-0.1-xxxxxxxxxxxx.whl

快速指南

服务端使用

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

	$ sunshareservicectl start-service 

设计

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

技术列表

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

设计UML图

以下是设计的UML图: sunshareserviceuml

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-sunshareservice-0.1.1.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

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

shihua_sunshareservice-0.1.1-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for shihua-sunshareservice-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fbed141dffc397144225f8309b78adf8a7c43b6b0b1074484706089fbfa1ce9c
MD5 5cc9c4e7ebfc801c378af59a040dc1f4
BLAKE2b-256 4b5ed43dab76b2b301e99269b73a106cc63c86598534cbea2915f38ca7aced48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shihua_sunshareservice-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 28fd01c591fd1ccc549165cad991f8336f9768747a7c63bb769384e868fb70c5
MD5 abe3ef962453b06eeac0e535e7ddaacf
BLAKE2b-256 93cda07b14ef211f6c1ca69cf609f6bef159b1ff3b69c05d1ea97a38f486f832

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