bbc/nmos-node

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

NMOS Node API

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.

Installing with Python

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
Running the Node Facade
Non-blocking

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()
Blocking

It is also possible to run Node Facade in a blocking manner:

from nmosnode.nodefacadeservice import NodeFacadeService

service = NodeFacadeService()
service.run() # Runs forever
Testing

Unit tests are provided (“make test”).

Debian Packaging

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.