mecord tools
Project description
Mecord Python Tool
The Mecord Python Tool is a official tool for mecodr, you can use it to Register device to mecord server, other person can use Mecord Application assign tasks to you for implementation
Installation
The Mecord requires Python 3.10.6 or later.
Installing
pip install mecord-cli
Uninstalling
pip uninstall mecord-cli
Use
1. RegisterDevice To Mecord Server
$ mecord deviceid
use mecord mobile application scan qrcode to register your device to mecord server
2. Running
$ mecord service start
start a process to wait for the server to issue tasks. Please do not close it
Module Developer
$ mecord widget init
in empty folder, use above command craete a mecord module, structure is like
[widget folder]
|-- h5
|-- config.json //*required* widget config file
|-- icon.png
|-- index.html //*required* index web page
|-- script
|-- main.py //*required* entry file of receiving task
|-- run.py
you can modify script and h5 file yourself, then publish to mecord sever
$ mecord widget publish
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
Built Distribution
File details
Details for the file mecord-cli-0.1.2.tar.gz
.
File metadata
- Download URL: mecord-cli-0.1.2.tar.gz
- Upload date:
- Size: 363.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a9074e7b98b71a8ed103bfab50fb2b7a336926cf8fe0f8d35f42de7dcf394c2 |
|
MD5 | 1a75f197fe9fa18a0f2b8c5232e318af |
|
BLAKE2b-256 | f0900a4db0d31c11e66dbbeb792548d7067ecb48b13cfafbe9eaa028d66d19a2 |
File details
Details for the file mecord_cli-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: mecord_cli-0.1.2-py3-none-any.whl
- Upload date:
- Size: 366.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61cf83534e18aa42c3851ca86690ab372f9c56626493f6cbdf19261f7ec238be |
|
MD5 | c8e317bef07ab43b3a461413eec76c7c |
|
BLAKE2b-256 | 065dd0f86dc3d6e07c1c2262f3f0444b14494d6d1d933f69a855dad2bf10f470 |