Skip to main content

ServiceBoot云原生微服务引擎

Project description

ServiceBoot云原生微服务引擎

ServiceBoot是基于Tornado开发的开源微服务引擎(Web框架),可用于将普通Python程序封装成为可提供高并发函数式HTTP访问的云原生微服务。

ServiceBoot实现了对高并发HTTP API调用的函数化和异步化封装。开发者直接以普通Python函数的形式来编程API接口,而不需要特意设计和指定每个API对应的URL端口,也不需要掌握和使用Python和Tornado中晦涩难懂的异步编程原理和语法,即可达到高效并发处理的性能和效果,从而大大降低微服务应用的学习门槛和开发难度,提高云原生微服务应用的开发效率和运行性能。

ServiceBoot目前可提供的API接口类型和功能如下:

  • 普通RESTful API(面向JSON数据格式)。
  • 二进制字节流数据API。
  • 文件上传API。
  • 可视化Web页面访问API。
  • Special API。
  • WebSocket实时通信API。

在启动ServiceBoot服务时,还可根据配置启动开发者自定义的Python前端服务,例如: Gradio, Streamlit等。

开源主页

依赖包主页

依赖包安装

pip install serviceboot -i https://pypi.tuna.tsinghua.edu.cn/simple

应用举例

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

serviceboot-2.1.8.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

serviceboot-2.1.8-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file serviceboot-2.1.8.tar.gz.

File metadata

  • Download URL: serviceboot-2.1.8.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.8

File hashes

Hashes for serviceboot-2.1.8.tar.gz
Algorithm Hash digest
SHA256 bd7e8263fcbb2668b2480269ba718d6660eee10d7eea619ed5ff6ecacdfe8b4c
MD5 87ce75a33c51cb641c9a162a6a06bc9c
BLAKE2b-256 7a6a9c7a5cbd69c042de5a14b4acb2bb37466f5d90be60d5a38a95722af572bd

See more details on using hashes here.

Provenance

File details

Details for the file serviceboot-2.1.8-py3-none-any.whl.

File metadata

  • Download URL: serviceboot-2.1.8-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.8

File hashes

Hashes for serviceboot-2.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8f622f611fcd8db2062cd7f90e84d3d88a3d44227fda17b73c63cdb9f7188ae4
MD5 285e464b01d22b62f34e5e3fbc18b4dd
BLAKE2b-256 bfc06c72686ea8a6e9cd15068c477a9cc7c3f73aefa36b26b3f26d088a06046c

See more details on using hashes here.

Provenance

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