This is a python module for using a NanoVNA.
Install with pip install pynanovna
or pip3 install pynanovna
.
import pynanovna
worker = pynanovna.NanoVNAWorker()
stream = worker.stream_data()
for sweep in stream:
print(sweep)
See src/pynanovna/example.py
for a more detailed example on some use cases of the project.
API Reference is available at pynanovna.readthedocs.io
Originally this was the fork nanovna-saver-headless from nanovna-saver but when that project no longer shared much code with the original we decided to create a new project.