pycomediAn object-oriented interface for the Comedi drivers | |
Download |
pycomedi Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- W. Trevor King
- Publisher web site:
- http://www.physics.drexel.edu/~wking/
pycomedi Tags
pycomedi Description
pycomedi provides an object-oriented interface to the Comedi drivers. The standard Python interface bundled with Comedilib is a simple SWIG clone of the C interface. In pycomedi, we convert the functions into class methods (see pycomedi.classes), so you don't have to worry about dragging around opaque types like comedi_t * device pointers. We also bundle related constants together in _Enums and _Flags (see pycomedi.constants), to make handling common operations like flag manipulations simpler. Finally, there are a number of utility classes (see pycomedi.utility) to make common tasks like creating instructions or reading hardware-timed analog input easier.InstallationGentooI've packaged pycomedi for Gentoo. You need layman and my wtk overlay. Install with: emerge -av app-portage/layman layman --add wtk emerge -av dev-python/pycomediInstalling by handPycomedi is available as a Git repository: git clone git://tremily.us/pycomedi.gitSee the homepage for details. To install the checkout, run the standard: python setup.py installUsageSee the examples in the doc directory.TestingIntegration tests with: nosetests --with-doctest --doctest-extension=txt docRun both integration tests and internal unit tests with: ./test.shProduct's homepage
pycomedi Related Software