1Metadata-Version: 1.1 2Name: SimpleSoapy 3Version: 1.5.1 4Summary: Simple pythonic wrapper for SoapySDR library 5Home-page: https://github.com/xmikos/simplesoapy 6Author: Michal Krenek (Mikos) 7Author-email: m.krenek@gmail.com 8License: MIT 9Description: SimpleSoapy 10 =========== 11 12 Simple pythonic wrapper for SoapySDR library 13 14 Requirements 15 ------------ 16 17 - `Python 3 <https://www.python.org>`_ 18 - `NumPy <http://www.numpy.org>`_ 19 - `SoapySDR <https://github.com/pothosware/SoapySDR>`_ 20 21 Limitations 22 ----------- 23 24 Only receiving is implemented. Transmission may be implemented in future. 25 26 Example 27 ------- 28 :: 29 30 import simplesoapy 31 import numpy 32 33 # List all connected SoapySDR devices 34 print(simplesoapy.detect_devices(as_string=True)) 35 36 # Initialize SDR device 37 sdr = simplesoapy.SoapyDevice('driver=rtlsdr') 38 39 # Set sample rate 40 sdr.sample_rate = 2.56e6 41 42 # Set center frequency 43 sdr.freq = 88e6 44 45 # Setup base buffer and start receiving samples. Base buffer size is determined 46 # by SoapySDR.Device.getStreamMTU(). If getStreamMTU() is not implemented by driver, 47 # SoapyDevice.default_buffer_size is used instead 48 sdr.start_stream() 49 50 # Create numpy array for received samples 51 samples = numpy.empty(len(sdr.buffer) * 100, numpy.complex64) 52 53 # Receive all samples 54 sdr.read_stream_into_buffer(samples) 55 56 # Stop receiving 57 sdr.stop_stream() 58 59Platform: UNKNOWN 60Classifier: Development Status :: 4 - Beta 61Classifier: Intended Audience :: Developers 62Classifier: Intended Audience :: Science/Research 63Classifier: Intended Audience :: Telecommunications Industry 64Classifier: License :: OSI Approved :: MIT License 65Classifier: Natural Language :: English 66Classifier: Operating System :: OS Independent 67Classifier: Programming Language :: Python :: 3 68Classifier: Topic :: Software Development :: Libraries :: Python Modules 69Classifier: Topic :: Scientific/Engineering 70Classifier: Topic :: Communications :: Ham Radio 71