serviceboot


Nameserviceboot JSON
Version 2.1.10 PyPI version JSON
download
home_pagehttps://openi.pcl.ac.cn/cubepy/serviceboot
SummaryServiceBoot云原生微服务引擎
upload_time2024-02-06 11:24:23
maintainer
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": "",
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": "",
    "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/ef/25/937b21a6e35dc9d4cae07d8822fee8b5f2bbb901c862078db7f50be89dab/serviceboot-2.1.10.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.10",
    "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": "6079d961d4a50420e41faecbed9be6aa1906e84d7d01493ca30c2a36a71a7830",
                "md5": "0046a7a863aea839ceccc8272cecc3a1",
                "sha256": "0eb3af74ba41700b8d32e416838039618bf5bd0a3bbe8c38283f36a8d6d6d030"
            },
            "downloads": -1,
            "filename": "serviceboot-2.1.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0046a7a863aea839ceccc8272cecc3a1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 17030,
            "upload_time": "2024-02-06T11:24:22",
            "upload_time_iso_8601": "2024-02-06T11:24:22.200406Z",
            "url": "https://files.pythonhosted.org/packages/60/79/d961d4a50420e41faecbed9be6aa1906e84d7d01493ca30c2a36a71a7830/serviceboot-2.1.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ef25937b21a6e35dc9d4cae07d8822fee8b5f2bbb901c862078db7f50be89dab",
                "md5": "770fa04d7983c9e18c02b1017b547ef3",
                "sha256": "985e2fff06aa0e0fdfed2b15602fde773d4ea1575ffab69f4b5e698ababad35e"
            },
            "downloads": -1,
            "filename": "serviceboot-2.1.10.tar.gz",
            "has_sig": false,
            "md5_digest": "770fa04d7983c9e18c02b1017b547ef3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 13656,
            "upload_time": "2024-02-06T11:24:23",
            "upload_time_iso_8601": "2024-02-06T11:24:23.843780Z",
            "url": "https://files.pythonhosted.org/packages/ef/25/937b21a6e35dc9d4cae07d8822fee8b5f2bbb901c862078db7f50be89dab/serviceboot-2.1.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-06 11:24:23",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "serviceboot"
}
        
Elapsed time: 0.18693s