dum
dummyserial
pypi i dummyserial
dum

dummyserial

Dummy Serial module for mocking / testing / simulating Python Serial Interfaces.

by Greg Albrecht W2GMD

1.0.0 (see all)License: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.
pypi i dummyserial
Readme

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

Copyright

Copyright 2016 Orion Labs, Inc.

License

Apache License, Version 2.0

GitHub Stars

13

LAST COMMIT

6yrs ago

MAINTAINERS

1

CONTRIBUTORS

1

OPEN ISSUES

2

OPEN PRs

1
VersionTagPublished
1.0.0
6yrs ago
No alternatives found
No tutorials found
Add a tutorial