dummyserial-1.0.0
توضیحات
Dummy Serial Implementation.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dummyserial-1.0.0 |
| نام | dummyserial |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Greg Albrecht |
| ایمیل نویسنده | gba@orionlabs.io |
| آدرس صفحه اصلی | https://github.com/ampledata/dummyserial |
| آدرس اینترنتی | https://pypi.org/project/dummyserial/ |
| مجوز | Copyright 2016 Orion Labs, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. |
Python Module for Dummy Serial
******************************
Emulates pyserial's write/read responses from a serial port.
Works by suppling a dictionary of responses to various paramters.
For example::
ds_responses = {
'taco': 'yum'
}
Would `read()` *yum* for a `write()` of *taco*.
Derived from Jonas Berg's 'dummy_serial.py'.
Source
======
Github: https://github.com/ampledata/dummyserial
Authors
=======
* 'dummyserial' Stand-alone Python Module: Greg Albrecht <gba@orionlabs.io>
* 'dummy_serial.py' Mock Fixture: Jonas Berg <pyhys@users.sourceforge.net>
Copyright
=========
Copyright 2016 Orion Labs, Inc.
License
=======
Apache License, Version 2.0
نحوه نصب
نصب پکیج whl dummyserial-1.0.0:
pip install dummyserial-1.0.0.whl
نصب پکیج tar.gz dummyserial-1.0.0:
pip install dummyserial-1.0.0.tar.gz