# 🤖 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 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 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_sdk",
"name": "robotchain",
"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/6b/f1/fc332f662577f815faf727b84232462b2e4f85efdadf44c6df34d2d5140b/robotchain-1.0.7.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 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 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.7",
"project_urls": {
"Homepage": "https://github.com/geekros/python_sdk"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8dafee594685e9df4207eafe7e1d0430478fdb42d8d99bea2274c1807c650735",
"md5": "27ad96d6c4faf1a58f0bff2a27e3346a",
"sha256": "2a01190281c4b8873987524ee2776e8b484abba9f34cd174e44991036d28d097"
},
"downloads": -1,
"filename": "robotchain-1.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "27ad96d6c4faf1a58f0bff2a27e3346a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7.5",
"size": 5532,
"upload_time": "2023-09-19T05:46:06",
"upload_time_iso_8601": "2023-09-19T05:46:06.459638Z",
"url": "https://files.pythonhosted.org/packages/8d/af/ee594685e9df4207eafe7e1d0430478fdb42d8d99bea2274c1807c650735/robotchain-1.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6bf1fc332f662577f815faf727b84232462b2e4f85efdadf44c6df34d2d5140b",
"md5": "e1ac53a5ba3e073228fec3cb63fba283",
"sha256": "b33d4f978c85679d802f76fe2a76527bc2b81e1c2321bbe2a744343911b0c4ac"
},
"downloads": -1,
"filename": "robotchain-1.0.7.tar.gz",
"has_sig": false,
"md5_digest": "e1ac53a5ba3e073228fec3cb63fba283",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7.5",
"size": 5202,
"upload_time": "2023-09-19T05:46:08",
"upload_time_iso_8601": "2023-09-19T05:46:08.290360Z",
"url": "https://files.pythonhosted.org/packages/6b/f1/fc332f662577f815faf727b84232462b2e4f85efdadf44c6df34d2d5140b/robotchain-1.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-19 05:46:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "geekros",
"github_project": "python_sdk",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "robotchain"
}