🤖 Python Framework SDK
⚡ Python development framework for robotchain. ⚡
已经内置在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.
pip3 install robotchain colorlog websocket-client==0.48.0 requests pyserial roslibpy empy colcon-common-extensions pymongo tornado
📖 Using templates
#!/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.
pip3 install twine setuptools wheel
构建软件包
Build software package.
python3 setup.py sdist bdist_wheel
上传软件包到PyPI
Upload software package to PyPI.
twine upload dist/*
🌞 Development Team
GEEKROS https://www.geekros.com
Metadata
Release files for robotchain 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| robotchain-1.0.7.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| robotchain-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / robotchain-1.0.7.tar.gz
| Download URL | robotchain-1.0.7.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b33d4f978c85679d802f76fe2a76527bc2b81e1c2321bbe2a744343911b0c4ac
|
|
BLAKE2b-256 checksum How to use checksums |
6bf1fc332f662577f815faf727b84232462b2e4f85efdadf44c6df34d2d5140b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / robotchain-1.0.7-py3-none-any.whl
| Download URL | robotchain-1.0.7-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a01190281c4b8873987524ee2776e8b484abba9f34cd174e44991036d28d097
|
|
BLAKE2b-256 checksum How to use checksums |
8dafee594685e9df4207eafe7e1d0430478fdb42d8d99bea2274c1807c650735
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|