Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | python: Add find() to the Python API | Martin Braun | 2020-12-07 | 1 | -0/+19 |
This a mapping of uhd::device::find() into uhd.find() on the Python side. The uhd::device is intentionally not mapped into Python (prefer MultiUSRP or RfnocGraph instead), so the namespace is moved up one level. Example: >>> import uhd >>> # Now print the device args for all found B200s: >>> for dev_args in uhd.find("type=b200")): print(dev_args.to_string()) |