Development

Installation

Clone the repository and navigate to the project directory:

git clone https://github.com/pyrtlsdr/pyrtlsdr.git
cd pyrtlsdr

Then install the package in one of two ways:

Using pip

Note

The instructions below assume you have already set up a virtual environment, and have activated it before running the commands.

Install the project

Install with pip in editable mode:

pip install -e .

or to include the optional pyrtlsdrlib dependency:

pip install -e '.[lib]'

Install development dependencies

The development dependencies are listed in the dependency-groups sections of the pyproject.toml file. Installation of these dependencies is optional, but may be required for running tests and building documentation.