Name: nmos-node
Owner: BBC
Description: AMWA NMOS Node API
Created: 2017-10-05 18:35:13.0
Updated: 2018-05-14 10:46:09.0
Pushed: 2018-05-18 09:35:11.0
Homepage: null
Size: 105
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Package providing a basic NMOS Node API implementation. It takes the form of a “Node Facade” which accepts data from private back-end data providers.
Before installing this library please make sure you have installed the NMOS Common Library, on which this API depends.
install setuptools
python setup.py install
Run the following script to start the Node Facade in a non-blocking manner, and then stop it again at a later point:
from nmosnode.nodefacadeservice import NodeFacadeService
service = NodeFacadeService()
service.start()
# Do something else until ready to stop
service.stop()
It is also possible to run Node Facade in a blocking manner:
from nmosnode.nodefacadeservice import NodeFacadeService
service = NodeFacadeService()
service.run() # Runs forever
Unit tests are provided (“make test”).
Debian packaging files are provided for internal BBC R&D use. These packages depend on packages only available from BBC R&D internal mirrors, and will not build in other environments. For use outside the BBC please use python installation method.