Python bindings for limedriver
Project description
Python Bindings for LimeDriver
This is a Python package for the LimeDriver library.
Dependencies
To build the Python bindings, you will need to have the dependencies for LimeDriver installed, as well as the Python development headers.
Debian/Ubuntu
sudo apt-get install g++ cmake libhdf5-dev liblimesuite-dev python3-dev python3-pip python3-venv
Arch Linux
sudo pacman -S gcc cmake hdf5 limesuite python python-pip
Installation
It is recommended to install the Python bindings in a virtual environment. To create a new virtual environment, run the following commands:
python3 -m venv venv
source venv/bin/activate
Ensure that the LimeDriver submodule is initialized:
git submodule update --init
Now, the Python bindings can be built and installed using pip:
pip install .
Usage
The Python bindings provide a high-level interface to the LimeDriver library:
# Import the LimeDriver module
import limedriver
# Set the number of pulses to generate
Npulses = 1000
# Create a new PyLimeConfig object
config = limedriver.PyLimeConfig(Npulses)
# Modify the config as needed
config.srate = 1e6
# Execute the config on the LimeSDR
config.run()
# Get the path to the output file
filename = config.get_path()
# Use the built-in HDF5 reader to read the output file
data = limedriver.hdf_reader.HDF(filename)
data.print_params()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
limedriver-0.4.0.tar.gz
(116.3 kB
view hashes)
Built Distributions
Close
Hashes for limedriver-0.4.0-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96eb0fb28f0f186395930576fd7949f79ebdcb2c47094dc9e65608880c40e805 |
|
MD5 | 83a6d9c372355492587f0a82e90df8b8 |
|
BLAKE2b-256 | e5526ddba02ff42e04fb0f1dfa306f975c49cd5db6d5d6fba63ad9446d3ca5ca |
Close
Hashes for limedriver-0.4.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33668fd5d3f7734c6f40e1f7dcaebd8a35f174063fe6ca62b57004e70044b1aa |
|
MD5 | 82d3c7c1d1e4688bfc31bad2f2449925 |
|
BLAKE2b-256 | 1b28bac92cb4c3a6c9cd084507abed28d3e4777158dc3d082a0d0968f12a2791 |
Close
Hashes for limedriver-0.4.0-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a5698bad7ffd7db01c1320a79750f5971aaf1bd9fc5ee9426df7740a10ed432 |
|
MD5 | 810812d9b88e1397851cc84c64c2054e |
|
BLAKE2b-256 | edc62aa36fc2c6a4a9511a0c14647b2b1802f54ea14d8dd3f4277c8a74d82e92 |
Close
Hashes for limedriver-0.4.0-cp312-cp312-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ae9713cf255e93b0687f311e22cfbbb688c3737c7a3dd85cc0cf74e14490b8f |
|
MD5 | 7b15a8ffc0c219c4ef7079fbda124855 |
|
BLAKE2b-256 | f0714ae40210be239c77527d7a753c55f5f774c63efe54adc8afeb55f35524f1 |
Close
Hashes for limedriver-0.4.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7429d7bb295f9cec724071627651252a95e7586ccf5490ba12db1113cddf34a8 |
|
MD5 | 2a4627ab955d1893f8d08a4d3676cbdf |
|
BLAKE2b-256 | 272afcc088bc26619514bae7b6e806acc40ed8212bc23e791e15106618824c7c |
Close
Hashes for limedriver-0.4.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc61f54f3055dbf8058a1418214543783c14ad70b54d672352b4d033e540b0b0 |
|
MD5 | 1525d2a4f85c69a4a0beb6173d491206 |
|
BLAKE2b-256 | 3905091c3222fb24bdc7486e44bed32fbe6c2c91d92246d7bfc3c28aa2a7cec9 |
Close
Hashes for limedriver-0.4.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d829ab08df50e48a5e7fe9ed7eac9f0353385011219ad537c7ec3ae40d89b14d |
|
MD5 | 99a7cd186f3ed7a2cd8f3d2a0bde40f7 |
|
BLAKE2b-256 | 3e421c404dfb09eceb1bbeb0d1c43b1612b7220246dae0ebb64082fff5dc9e19 |
Close
Hashes for limedriver-0.4.0-cp311-cp311-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb7f1b0b5714863231b5c29f7339f6b6b5584a758355b81cd89f4c7fc7f76850 |
|
MD5 | 70fa7ba6508d097bd56525e5a287d465 |
|
BLAKE2b-256 | fc372b0ee417a9de25910521ceca235bfcacae5400f9baf6c1f0675401800638 |
Close
Hashes for limedriver-0.4.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2f562c65993b7cc9f0b34f120cefff7131855d595e258fce894d5b1888ea8ab |
|
MD5 | a2a58ed8cc842ccf6eb861f7a413194e |
|
BLAKE2b-256 | 06d05322b3da1a6d1833b4928ae2a10d2e6b50745aa257fe6ad736b7f75ba6fb |
Close
Hashes for limedriver-0.4.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73431e50dff241db40f167f2d420c1556b8b3a8d187d565ec96ae8628642dbcd |
|
MD5 | e41bc899ca0fd761ec3a6bfc7b3f1671 |
|
BLAKE2b-256 | 73c436c3ac79d8d47dd9f640ca8bc503f82a3808ce673717b3a20dc3577b8db7 |
Close
Hashes for limedriver-0.4.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4eecce4ebbbad9dd24c79bd3e5a2a071bc3e2d42f159e40951a4459581beac76 |
|
MD5 | 480e7303e90fd18b71ad5b2d5701545c |
|
BLAKE2b-256 | 815bf8d1c39a322993516e7044047ba34de59d76b4de2d49ca8e1e2a444a3cec |
Close
Hashes for limedriver-0.4.0-cp310-cp310-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6295987f78636f9af4c0840400a3dc6fa7d84ec295fea4e6f19b1867e06a89e |
|
MD5 | c444896d92d6edb19d5b42263f724416 |
|
BLAKE2b-256 | c3a0459458383dbdcd2f8528063b23dd54dbef57b773553a369ae0b802eab692 |
Close
Hashes for limedriver-0.4.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 428099238c1317129803890c97a6251a937aef8f2dfa11cd479c434f21582038 |
|
MD5 | 3ebee52774bd84d401cbb086d5bb918d |
|
BLAKE2b-256 | 2994c35b9988c74a494371b078600d254e68787cca2d8506b445d3ce319d1dec |
Close
Hashes for limedriver-0.4.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51cb57219f753850aeb2b124f48641fb7db6bb170af4b81377ff1d0814b52cac |
|
MD5 | 9a3656f408b2fa6f76389d639369df10 |
|
BLAKE2b-256 | be6e5cf1a4233f51a619c575524e9d8e0cd447fcae6376bab0199bd2425c586c |