Skip to main content

Python development framework for armcnc.

Project description

🛠️ Python Framework SDK

⚡ Python development framework for armcnc. ⚡

License: MIT

已经内置在armcnc中,无需单独、重复安装,该仓库仅供学习参考。

📖 Initialization

安装相关依赖

pip3 install armcnc websocket-client==0.48.0 requests pyserial colorlog

📖 Using templates

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import armcnc as framework

def armcnc_start(cnc):
    while True:
        pass

def armcnc_message(cnc, message):
    pass
    
def armcnc_exit(cnc):
        pass
    
if __name__ == '__main__':
    framework_sdk = framework.Init()

📖 Development

安装相关依赖

pip3 install twine setuptools wheel

构建软件包

python3 setup.py sdist bdist_wheel

上传软件包到PyPI

twine upload dist/*

🌞 Development Team

https://www.armcnc.net

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

armcnc-1.0.52.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

armcnc-1.0.52-py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page