Compare commits
No commits in common. "c043eb0377edb6bc25df6f771715317b0ecfc588" and "22b035dbeea70003da6d6afc747ccf9d34f3f8aa" have entirely different histories.
c043eb0377
...
22b035dbee
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -52,7 +52,6 @@ tests/sdr/
|
|||
|
||||
# Sphinx documentation
|
||||
docs/build/
|
||||
docs/_build/
|
||||
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
|
|
|||
1083
docs/_build/html/_sources/intro/getting_started.rst.txt
vendored
1083
docs/_build/html/_sources/intro/getting_started.rst.txt
vendored
File diff suppressed because it is too large
Load Diff
|
|
@ -1,29 +0,0 @@
|
|||
/* Change the hex values below to customize heading colours */
|
||||
|
||||
.rst-content h1 { color: #2c3e50; }
|
||||
.rst-content h2,
|
||||
.rst-content h2 a { color: #ffffff !important; font-size: 22px !important; }
|
||||
|
||||
.rst-content h3,
|
||||
.rst-content h3 a { color: #ffffff !important; font-size: 16px !important; }
|
||||
|
||||
.rst-content h3 code { font-size: inherit !important; }
|
||||
|
||||
.rst-content .admonition.warning {
|
||||
background: #1a1a2e !important;
|
||||
border-left: 4px solid #c0392b !important;
|
||||
}
|
||||
|
||||
.rst-content .admonition.warning .admonition-title {
|
||||
background: #c0392b !important;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
|
||||
.rst-content .admonition.warning p {
|
||||
color: #ffffff !important;
|
||||
}
|
||||
.rst-content h4 { color: #404040; }
|
||||
|
||||
.highlight * { color: #ffffff !important; }
|
||||
|
||||
.ria-cmd { color: #2980b9 !important; }
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
document.addEventListener('DOMContentLoaded', function () {
|
||||
document.querySelectorAll('.highlight pre').forEach(function (pre) {
|
||||
pre.innerHTML = pre.innerHTML.replace(
|
||||
/((?:^|\n|>))(ria)(?=[ \t]|<)/g,
|
||||
'$1<span class="ria-cmd">$2</span>'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
@ -14,7 +14,7 @@ sys.path.insert(0, os.path.abspath(os.path.join('..', '..')))
|
|||
project = 'ria-toolkit-oss'
|
||||
copyright = '2025, Qoherent Inc'
|
||||
author = 'Qoherent Inc.'
|
||||
release = '0.1.5'
|
||||
release = '0.1.4'
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
||||
|
|
@ -73,6 +73,3 @@ def setup(app):
|
|||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
||||
|
||||
html_theme = 'sphinx_rtd_theme'
|
||||
html_static_path = ['_static']
|
||||
html_css_files = ['custom.css']
|
||||
html_js_files = ['custom.js']
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
901
poetry.lock
generated
901
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
2
poetry.toml
Normal file
2
poetry.toml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[virtualenvs.options]
|
||||
system-site-packages = true
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "ria-toolkit-oss"
|
||||
version = "0.1.5"
|
||||
version = "0.1.4"
|
||||
description = "An open-source version of the RIA Toolkit, including the fundamental tools to get started developing, testing, and deploying radio intelligence applications"
|
||||
license = { text = "AGPL-3.0-only" }
|
||||
readme = "README.md"
|
||||
|
|
@ -49,8 +49,7 @@ dependencies = [
|
|||
"pyzmq (>=27.1.0,<28.0.0)",
|
||||
"pyyaml (>=6.0.3,<7.0.0)",
|
||||
"click (>=8.1.0,<9.0.0)",
|
||||
"matplotlib (>=3.8.0,<4.0.0)",
|
||||
"paramiko (>=4.0.0)"
|
||||
"matplotlib (>=3.8.0,<4.0.0)"
|
||||
]
|
||||
|
||||
# [project.optional-dependencies] Commented out to prevent Tox tests from failing
|
||||
|
|
@ -88,7 +87,7 @@ pytest = "^8.0.0"
|
|||
tox = "^4.19.0"
|
||||
fastapi = ">=0.111,<1.0"
|
||||
uvicorn = {version = ">=0.29,<1.0", extras = ["standard"]}
|
||||
onnxruntime = {version = ">=1.17,<2.0", python = ">=3.11"}
|
||||
onnxruntime = ">=1.17,<2.0"
|
||||
httpx = ">=0.27,<1.0"
|
||||
|
||||
[tool.poetry.group.docs.dependencies]
|
||||
|
|
@ -124,7 +123,7 @@ ria-app = "ria_toolkit_oss.app.cli:main"
|
|||
[tool.poetry.group.server.dependencies]
|
||||
fastapi = ">=0.111,<1.0"
|
||||
uvicorn = {version = ">=0.29,<1.0", extras = ["standard"]}
|
||||
onnxruntime = {version = ">=1.17,<2.0", python = ">=3.11"}
|
||||
onnxruntime = ">=1.17,<2.0"
|
||||
|
||||
[tool.black]
|
||||
line-length = 119
|
||||
|
|
|
|||
|
|
@ -19,9 +19,6 @@ if TYPE_CHECKING:
|
|||
import paramiko
|
||||
import zmq
|
||||
|
||||
import paramiko
|
||||
import zmq
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
_STARTUP_WAIT_S = 2.0 # seconds to wait for remote ZMQ server to bind
|
||||
|
|
|
|||
|
|
@ -62,18 +62,14 @@ class TestSetRadio:
|
|||
def test_hackrf_alias(self):
|
||||
tx = RemoteTransmitter()
|
||||
mock_sdr = _make_mock_sdr()
|
||||
mock_module = MagicMock()
|
||||
mock_module.HackRF = MagicMock(return_value=mock_sdr)
|
||||
with patch.dict("sys.modules", {"ria_toolkit_oss.sdr.hackrf": mock_module}):
|
||||
with patch("ria_toolkit_oss.sdr.hackrf.HackRF", return_value=mock_sdr):
|
||||
tx.set_radio("hackrf", "")
|
||||
assert tx._sdr is mock_sdr
|
||||
|
||||
def test_hackrf_one_alias(self):
|
||||
tx = RemoteTransmitter()
|
||||
mock_sdr = _make_mock_sdr()
|
||||
mock_module = MagicMock()
|
||||
mock_module.HackRF = MagicMock(return_value=mock_sdr)
|
||||
with patch.dict("sys.modules", {"ria_toolkit_oss.sdr.hackrf": mock_module}):
|
||||
with patch("ria_toolkit_oss.sdr.hackrf.HackRF", return_value=mock_sdr):
|
||||
tx.set_radio("hackrf_one", "")
|
||||
assert tx._sdr is mock_sdr
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user