serviceboot


Nameserviceboot JSON
Version 2.1.11 PyPI version JSON
download
home_pagehttps://openi.pcl.ac.cn/cubepy/serviceboot
SummaryServiceBoot云原生微服务引擎
upload_time2024-05-10 03:30:29
maintainerNone
docs_urlNone
authorcubeai
requires_python>=3.5
licenseApache License 2.0
keywords serviceboot web-framework micro-service cloud-native web框架 云原生 微服务
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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等。

## 开源主页 

- https://openi.pcl.ac.cn/cubepy/serviceboot

## 依赖包主页 

- https://pypi.org/project/serviceboot

## 依赖包安装

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

## 应用举例

- [CubePy微服务框架](https://openi.pcl.ac.cn/cubepy/cubepy)

- [CubeAI智立方](https://openi.pcl.ac.cn/OpenI/cubeai)

- [CubeAI模型示范库](https://openi.pcl.ac.cn/cubeai-model-zoo/cubeai-model-zoo)



            

Raw data

            {
    "_id": null,
    "home_page": "https://openi.pcl.ac.cn/cubepy/serviceboot",
    "name": "serviceboot",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": null,
    "keywords": "ServiceBoot Web-framework micro-service cloud-native Web\u6846\u67b6 \u4e91\u539f\u751f \u5fae\u670d\u52a1",
    "author": "cubeai",
    "author_email": "cubeai@163.com",
    "download_url": "https://files.pythonhosted.org/packages/b9/9c/a7e447e06bc9e87b64097099fafd3d460c8271320b857d5953e6bb58552a/serviceboot-2.1.11.tar.gz",
    "platform": null,
    "description": "# ServiceBoot\u4e91\u539f\u751f\u5fae\u670d\u52a1\u5f15\u64ce\n\nServiceBoot\u662f\u57fa\u4e8eTornado\u5f00\u53d1\u7684\u5f00\u6e90\u5fae\u670d\u52a1\u5f15\u64ce\uff08Web\u6846\u67b6\uff09\uff0c\u53ef\u7528\u4e8e\u5c06\u666e\u901aPython\u7a0b\u5e8f\u5c01\u88c5\u6210\u4e3a\u53ef\u63d0\u4f9b\u9ad8\u5e76\u53d1\u51fd\u6570\u5f0fHTTP\u8bbf\u95ee\u7684\u4e91\u539f\u751f\u5fae\u670d\u52a1\u3002\n\nServiceBoot\u5b9e\u73b0\u4e86\u5bf9\u9ad8\u5e76\u53d1HTTP API\u8c03\u7528\u7684\u51fd\u6570\u5316\u548c\u5f02\u6b65\u5316\u5c01\u88c5\u3002\u5f00\u53d1\u8005\u76f4\u63a5\u4ee5\u666e\u901aPython\u51fd\u6570\u7684\u5f62\u5f0f\u6765\u7f16\u7a0bAPI\u63a5\u53e3\uff0c\u800c\u4e0d\u9700\u8981\u7279\u610f\u8bbe\u8ba1\u548c\u6307\u5b9a\u6bcf\u4e2aAPI\u5bf9\u5e94\u7684URL\u7aef\u53e3\uff0c\u4e5f\u4e0d\u9700\u8981\u638c\u63e1\u548c\u4f7f\u7528Python\u548cTornado\u4e2d\u6666\u6da9\u96be\u61c2\u7684\u5f02\u6b65\u7f16\u7a0b\u539f\u7406\u548c\u8bed\u6cd5\uff0c\u5373\u53ef\u8fbe\u5230\u9ad8\u6548\u5e76\u53d1\u5904\u7406\u7684\u6027\u80fd\u548c\u6548\u679c\uff0c\u4ece\u800c\u5927\u5927\u964d\u4f4e\u5fae\u670d\u52a1\u5e94\u7528\u7684\u5b66\u4e60\u95e8\u69db\u548c\u5f00\u53d1\u96be\u5ea6\uff0c\u63d0\u9ad8\u4e91\u539f\u751f\u5fae\u670d\u52a1\u5e94\u7528\u7684\u5f00\u53d1\u6548\u7387\u548c\u8fd0\u884c\u6027\u80fd\u3002\n\nServiceBoot\u76ee\u524d\u53ef\u63d0\u4f9b\u7684API\u63a5\u53e3\u7c7b\u578b\u548c\u529f\u80fd\u5982\u4e0b\uff1a\n\n- \u666e\u901aRESTful API\uff08\u9762\u5411JSON\u6570\u636e\u683c\u5f0f\uff09\u3002\n- \u4e8c\u8fdb\u5236\u5b57\u8282\u6d41\u6570\u636eAPI\u3002\n- \u6587\u4ef6\u4e0a\u4f20API\u3002\n- \u53ef\u89c6\u5316Web\u9875\u9762\u8bbf\u95eeAPI\u3002\n- Special API\u3002\n- WebSocket\u5b9e\u65f6\u901a\u4fe1API\u3002\n\n\u5728\u542f\u52a8ServiceBoot\u670d\u52a1\u65f6\uff0c\u8fd8\u53ef\u6839\u636e\u914d\u7f6e\u542f\u52a8\u5f00\u53d1\u8005\u81ea\u5b9a\u4e49\u7684Python\u524d\u7aef\u670d\u52a1\uff0c\u4f8b\u5982: Gradio, Streamlit\u7b49\u3002\n\n## \u5f00\u6e90\u4e3b\u9875 \n\n- https://openi.pcl.ac.cn/cubepy/serviceboot\n\n## \u4f9d\u8d56\u5305\u4e3b\u9875 \n\n- https://pypi.org/project/serviceboot\n\n## \u4f9d\u8d56\u5305\u5b89\u88c5\n\n    pip install serviceboot -i https://pypi.tuna.tsinghua.edu.cn/simple\n\n## \u5e94\u7528\u4e3e\u4f8b\n\n- [CubePy\u5fae\u670d\u52a1\u6846\u67b6](https://openi.pcl.ac.cn/cubepy/cubepy)\n\n- [CubeAI\u667a\u7acb\u65b9](https://openi.pcl.ac.cn/OpenI/cubeai)\n\n- [CubeAI\u6a21\u578b\u793a\u8303\u5e93](https://openi.pcl.ac.cn/cubeai-model-zoo/cubeai-model-zoo)\n\n\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "ServiceBoot\u4e91\u539f\u751f\u5fae\u670d\u52a1\u5f15\u64ce",
    "version": "2.1.11",
    "project_urls": {
        "Homepage": "https://openi.pcl.ac.cn/cubepy/serviceboot"
    },
    "split_keywords": [
        "serviceboot",
        "web-framework",
        "micro-service",
        "cloud-native",
        "web\u6846\u67b6",
        "\u4e91\u539f\u751f",
        "\u5fae\u670d\u52a1"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4c0f155e07e1849172227634df9d7202c79217741585ad98de0eaa0b6b1d5c2d",
                "md5": "97861d2de7cea221aa0e20c31fca1f04",
                "sha256": "72a1bd7b2c71e401a810c1a893ef39bbeaa5dc4107176ba260e73953cf7ab955"
            },
            "downloads": -1,
            "filename": "serviceboot-2.1.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "97861d2de7cea221aa0e20c31fca1f04",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 17094,
            "upload_time": "2024-05-10T03:30:27",
            "upload_time_iso_8601": "2024-05-10T03:30:27.490571Z",
            "url": "https://files.pythonhosted.org/packages/4c/0f/155e07e1849172227634df9d7202c79217741585ad98de0eaa0b6b1d5c2d/serviceboot-2.1.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b99ca7e447e06bc9e87b64097099fafd3d460c8271320b857d5953e6bb58552a",
                "md5": "34f3d917e9ec5682fd4c455d9ce73af9",
                "sha256": "4009688263b27efacd002909b9b767d70da4e2df070b7f37ddc931e1f9f3572d"
            },
            "downloads": -1,
            "filename": "serviceboot-2.1.11.tar.gz",
            "has_sig": false,
            "md5_digest": "34f3d917e9ec5682fd4c455d9ce73af9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 13734,
            "upload_time": "2024-05-10T03:30:29",
            "upload_time_iso_8601": "2024-05-10T03:30:29.790927Z",
            "url": "https://files.pythonhosted.org/packages/b9/9c/a7e447e06bc9e87b64097099fafd3d460c8271320b857d5953e6bb58552a/serviceboot-2.1.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-10 03:30:29",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "serviceboot"
}
        
Elapsed time: 0.23815s