This page is for developers of the sigmf-python module.
To install the latest git release, build from source:
$ git clone https://github.com/sigmf/sigmf-python.git
$ cd sigmf-python
$ pip install .This library contains many tests in the tests/ folder. These can all be run locally:
$ coverage runOr tests can be run within a temporary environment on all supported python versions:
$ tox runTo run a single (perhaps new) test that may be needed verbosely:
$ pytest -rA tests/test_archive.pyTo lint the entire project and get suggested changes:
$ pylint sigmf testsTo autoformat the entire project according to our coding standard:
$ black sigmf tests # autoformat entire project
$ isort sigmf tests # format imports for entire projectTo build the docs and host locally:
$ cd docs
$ pip install -r requirements.txt
$ make clean
$ make html
$ python3 -m http.server --directory build/html/Issues can be addressed by opening an issue or by forking the project and submitting a pull request.