# 🤖 Python Framework SDK
⚡ Python development framework for robotchain. ⚡
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
> 已经内置在robotchain中,无需单独、重复安装,该仓库仅供学习参考。
>
> It is already built-in within robotchain, so there is no need for separate or redundant installation. This repository is provided for learning and reference purposes only.
## 📖 Initialization
> 安装相关依赖
>
> Install the required dependencies.
```shell
pip3 install robotchain-sdk colorlog websocket-client==0.48.0 requests pyserial roslibpy empy colcon-common-extensions pymongo tornado
```
## 📖 Using templates
```python
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import robotchain_sdk as framework
def robot_start(sdk):
while True:
pass
def robot_message(sdk, message):
pass
def robot_exit(sdk):
pass
if __name__ == '__main__':
framework_sdk = framework.Init()
robot_start(framework_sdk)
```
## 📖 Development
> 安装相关依赖
>
> Install the required dependencies.
```shell
pip3 install twine setuptools wheel
```
> 构建软件包
>
> Build software package.
```shell
python3 setup.py sdist bdist_wheel
```
> 上传软件包到PyPI
>
> Upload software package to PyPI.
```shell
twine upload dist/*
```
## 🌞 Development Team
> GEEKROS
> https://www.geekros.com
Raw data
{
"_id": null,
"home_page": "https://github.com/geekros/python_framework_sdk",
"name": "robotchain-sdk",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7.5",
"maintainer_email": "",
"keywords": "",
"author": "MakerYang",
"author_email": "admin@wileho.com",
"download_url": "https://files.pythonhosted.org/packages/9e/64/b96114f9269664a68e3586345384db62fc092a811bf03389bd3ffac06d64/robotchain_sdk-1.0.6.tar.gz",
"platform": null,
"description": "# \ud83e\udd16 Python Framework SDK\r\n\r\n\u26a1 Python development framework for robotchain. \u26a1\r\n\r\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\r\n\r\n> \u5df2\u7ecf\u5185\u7f6e\u5728robotchain\u4e2d\uff0c\u65e0\u9700\u5355\u72ec\u3001\u91cd\u590d\u5b89\u88c5\uff0c\u8be5\u4ed3\u5e93\u4ec5\u4f9b\u5b66\u4e60\u53c2\u8003\u3002\r\n> \r\n> It is already built-in within robotchain, so there is no need for separate or redundant installation. This repository is provided for learning and reference purposes only.\r\n\r\n## \ud83d\udcd6 Initialization\r\n\r\n> \u5b89\u88c5\u76f8\u5173\u4f9d\u8d56\r\n> \r\n> Install the required dependencies.\r\n\r\n```shell\r\npip3 install robotchain-sdk colorlog websocket-client==0.48.0 requests pyserial roslibpy empy colcon-common-extensions pymongo tornado\r\n```\r\n\r\n## \ud83d\udcd6 Using templates\r\n\r\n```python\r\n#!/usr/bin/env python\r\n# -*- coding: utf-8 -*-\r\n\r\nimport robotchain_sdk as framework\r\n\r\ndef robot_start(sdk):\r\n while True:\r\n pass\r\n\r\ndef robot_message(sdk, message):\r\n pass\r\n\r\ndef robot_exit(sdk):\r\n pass\r\n\r\nif __name__ == '__main__':\r\n framework_sdk = framework.Init()\r\n robot_start(framework_sdk)\r\n```\r\n\r\n## \ud83d\udcd6 Development\r\n\r\n> \u5b89\u88c5\u76f8\u5173\u4f9d\u8d56\r\n>\r\n> Install the required dependencies.\r\n\r\n```shell\r\npip3 install twine setuptools wheel\r\n```\r\n\r\n> \u6784\u5efa\u8f6f\u4ef6\u5305\r\n>\r\n> Build software package.\r\n\r\n```shell\r\npython3 setup.py sdist bdist_wheel\r\n```\r\n\r\n> \u4e0a\u4f20\u8f6f\u4ef6\u5305\u5230PyPI\r\n>\r\n> Upload software package to PyPI.\r\n\r\n```shell\r\ntwine upload dist/*\r\n```\r\n\r\n## \ud83c\udf1e Development Team\r\n\r\n> GEEKROS\r\n> https://www.geekros.com\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Python development framework for robotchain.",
"version": "1.0.6",
"project_urls": {
"Homepage": "https://github.com/geekros/python_framework_sdk"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "62e43cc5c8aef0ef45a5549f08b00fd91468db914e4526d6800d6bf335868ab8",
"md5": "1a75da6464063f870798e1242598b6be",
"sha256": "210db4ce5be51542a3d537eb5d553d28478822f41659ef510b9ab08e463bb27b"
},
"downloads": -1,
"filename": "robotchain_sdk-1.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1a75da6464063f870798e1242598b6be",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7.5",
"size": 5633,
"upload_time": "2023-08-03T02:31:45",
"upload_time_iso_8601": "2023-08-03T02:31:45.627499Z",
"url": "https://files.pythonhosted.org/packages/62/e4/3cc5c8aef0ef45a5549f08b00fd91468db914e4526d6800d6bf335868ab8/robotchain_sdk-1.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9e64b96114f9269664a68e3586345384db62fc092a811bf03389bd3ffac06d64",
"md5": "621099bf58f99411188b25ea9e82d97b",
"sha256": "f819a5a3bf9653fd31132f55beae00ec6a64ab1c49e4376c50dc13fd7115c48a"
},
"downloads": -1,
"filename": "robotchain_sdk-1.0.6.tar.gz",
"has_sig": false,
"md5_digest": "621099bf58f99411188b25ea9e82d97b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7.5",
"size": 5286,
"upload_time": "2023-08-03T02:31:47",
"upload_time_iso_8601": "2023-08-03T02:31:47.305526Z",
"url": "https://files.pythonhosted.org/packages/9e/64/b96114f9269664a68e3586345384db62fc092a811bf03389bd3ffac06d64/robotchain_sdk-1.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-03 02:31:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "geekros",
"github_project": "python_framework_sdk",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "robotchain-sdk"
}