Skip to main content

Simple pythonic wrapper for SoapySDR library

Requirements

Limitations

Only receiving is implemented. Transmission may be implemented in future.

Example

import simplesoapy
import numpy

# List all connected SoapySDR devices
print(simplesoapy.detect_devices(as_string=True))

# Initialize SDR device
sdr = simplesoapy.SoapyDevice('driver=rtlsdr')

# Set sample rate
sdr.sample_rate = 2.56e6

# Set center frequency
sdr.freq = 88e6

# Setup base buffer and start receiving samples. Base buffer size is determined
# by SoapySDR.Device.getStreamMTU(). If getStreamMTU() is not implemented by driver,
# SoapyDevice.default_buffer_size is used instead
sdr.start_stream()

# Create numpy array for received samples
samples = numpy.empty(len(sdr.buffer) * 100, numpy.complex64)

# Receive all samples
sdr.read_stream_into_buffer(samples)

# Stop receiving
sdr.stop_stream()

Metadata

Release files for SimpleSoapy 1.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SimpleSoapy 1.5.1
File Size Uploaded Provenance
SimpleSoapy-1.5.1.tar.gz 6.6 kB Without provenance Details

Release files / SimpleSoapy-1.5.1.tar.gz

Download URL SimpleSoapy-1.5.1.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
14923538128676eb18d6f7e094c91d77e54a3d1199efdbf5b95520f94b15002e
BLAKE2b-256 checksum
How to use checksums
f42e513dbf91a65f6783556efa90544b30d8c77390970ec7a3a04e3a9a1946f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for SimpleSoapy 1.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page