Skip to main content

A package to use a NanoVNA

Project description

Logo

PyPI - Version PyPI Downloads PyPI Downloads PyPI - License DOI

This is a Python module for NanoVNA.

🌟 Features

✅ Supporting almost all NanoVNAs.
📶 Run single sweeps of s11 & s21 data.
🔄 Stream continuous sweeps.
🛠️ Calibrate your NanoVNA.
📊 Interactive, real-time plots of data.
📁 Record to CSV files.

🛠️ Installation

Install with pip install pynanovna.

🚀 Example

import pynanovna

vna = pynanovna.VNA()

vna.set_sweep(1.0e9, 1.4e9, 101)

stream = vna.stream()
for s11, s21, frequencies in stream:
    print(s11, s21, frequencies)

See examples/example.py for a more detailed example on some use cases of the project.

See examples/example_calibration.py for details on how to calibrate you NanoVNA.

📚 API Reference

API Reference is available at pynanovna.readthedocs.io

📖 Cite This Library

If you use pynanovna in your research or project, please cite it as follows:

BibTeX

@software{pynanovna,
  author = {PICC-Group, Teo Bergkvist},
  title = {pynanovna: A Python Module for NanoVNA},
  year = {2024},
  url = {https://github.com/PICC-Group/pynanovna},
  version = {1.0.2},
  doi = {10.5281/zenodo.14231111},
}

📜 Licence

pynanovna is under GNU General Public License.

Contribution and feature requests

If you want to contribute to pynanovna, please create a pull request and assign to:

If you have a feature you think is missing and want implemented, create an issue with the enhancement label, describing clearly the feature.

🕰️ History

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.

⭐️ If you find pynanovna useful, please support us by starring the repository ⭐️

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pynanovna-1.0.2.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pynanovna-1.0.2-py3-none-any.whl (28.8 kB view details)

Uploaded Python 3

File details

Details for the file pynanovna-1.0.2.tar.gz.

File metadata

  • Download URL: pynanovna-1.0.2.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.2

File hashes

Hashes for pynanovna-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e39b30dd9f1d82eabad0e674e90e9611c76cb0457ad6de6ef5e85e02286a9219
MD5 abd36b2333712644c23cdf4c3b78ddce
BLAKE2b-256 a7ecd55269cd0afc68ea095831f7adb677675603ba838a018ba357e1bc29dfe8

See more details on using hashes here.

File details

Details for the file pynanovna-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pynanovna-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 28.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.2

File hashes

Hashes for pynanovna-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d7c7bbc0fd8e6def18169e842a0e22a630bb77a8f0d5c7e12888d71933c3bb09
MD5 b0a2d56166ae88627d3dbfa9eeb97865
BLAKE2b-256 3fc732fc18e1ed92d44f320d88371a328d0fdde074325af32b76915d99dc1a2e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page