Skip to main content

A package providing Cordy Motion libs

Project description

.

CordyMotion

CordyMotion 是基于珠海市科迪电子科技有限公司平台的设备驱动运控程序客户端cordymotioncaller的一层封装。主要是用于IRU以及SimpleIQ等测试设备调用的API。 目前CordyMotion只支持Linux(Ubuntu22.04)版本。


主要特点

  • CordyMotion 安装时会自动添加依赖,其配置文件cordy.ini 会默认安装在Ubuntu当前用户目录下的Bin/Config下(例如:~/Bin/Config/cordy.ini)

pip 安装

CordyMotion 已经发布到 Pypi 官网,通过 pip 指令可以安装。 注意:需要提前在 Ubuntu22.04 操作系统上安装python(版本3.10)

pip install CordyMotion

验证CordyMotion 是否安装成功

>>> from CordyMotion import SimpleIQ
>>> help(SimpleIQ)

输出如下内容:

|  IRU命名空间,包含方法fixture_load(), fixture_unload(), power_on_dut(), power_off_dut(), fixture_iru_pos()
 |  
 |  示例:
 |      >>> from CordyMotion import IRU
 |      >>> IRU.fixture_load()
 |  
 ...

表示安装成功

帮助说明

  • 使用者可以通过 help() 来查询 CordyMoion 的帮助说明。目前支持对整个whl包、某个类或者类中的某个函数接口的使用说明。

查看整个IRU类的帮助

from CordyMotion import IRU, SimpleIQ

help(IRU) 
help(SimpleIQ)

查看特定方法的帮助

from CordyMotion import IRU, SimpleIQ
help(IRU.fixture_load)
help(SimpleIQ.fixture_unload)

查看包级帮助

import CordyMotion
help(CordyMotion)

Project details


Download files

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

Source Distribution

CordyMotion-0.1.0.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

CordyMotion-0.1.0-py3-none-any.whl (45.4 kB view details)

Uploaded Python 3

File details

Details for the file CordyMotion-0.1.0.tar.gz.

File metadata

  • Download URL: CordyMotion-0.1.0.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for CordyMotion-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b57ee6fdf6eaf61f4aacb4794c2d11c7e0151f6fcbb7bb7fe2089dee3679ffe1
MD5 867804abf83b338a1eeb7b37db2d8195
BLAKE2b-256 71f1a7df335646b14773f75c6793e49a877b70d232a7b373cba62424a1e1b2c3

See more details on using hashes here.

File details

Details for the file CordyMotion-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: CordyMotion-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 45.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for CordyMotion-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5fb5570de97c16b9d2c98ca02d9a1cd7c8b1baa549c0f10ca88e3a78e4a85b9
MD5 aeea10bbc41eb7a93c5e4086c993f624
BLAKE2b-256 31e02f2367e25a3ecfa175396354533d7eaca6cf556688da1b013be4e5cde577

See more details on using hashes here.

Supported by

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