Skip to main content

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

This version

0.1.3

Download files

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

Source Distribution

mecord-cli-0.1.3.tar.gz (363.9 kB view details)

Uploaded Source

Built Distribution

mecord_cli-0.1.3-py3-none-any.whl (366.9 kB view details)

Uploaded Python 3

File details

Details for the file mecord-cli-0.1.3.tar.gz.

File metadata

  • Download URL: mecord-cli-0.1.3.tar.gz
  • Upload date:
  • Size: 363.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for mecord-cli-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3cbf1282861cb18cea0aed913d6f9edc8159df811b922ca8d21dde812fa2ebbc
MD5 19cadab09cefed0bde3fafd3dbf6df48
BLAKE2b-256 efb06620b98daf41e8358e1fe862ce9491c0f70f180b2bf03e4d451a1e82776f

See more details on using hashes here.

File details

Details for the file mecord_cli-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: mecord_cli-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 366.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for mecord_cli-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 284e7ec55b52ce7f5d1eb017df26ba349dbc0e1ab5b1a2adf3693340c5f23988
MD5 068a89288fe0c0cf353de87c0f2b671c
BLAKE2b-256 2d32169ac59d0314bd942bff0fc0f6f81a66c51936285fa64f6e8a523b8142dd

See more details on using hashes here.

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