Skip to content

Commit

Permalink
main.
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Dec 8, 2023
1 parent b4c7977 commit db17369
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 19 deletions.
18 changes: 12 additions & 6 deletions gamutrf/__main__.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
"""Main entrypoint for GamutRF"""
from gamutrf.worker import main as worker_main
from gamutrf.compress_dirs import main as compress_dirs_main
from gamutrf.freqxlator import main as freqxlator_main
from gamutrf.offline import main as offline_main
from gamutrf.samples2raw import main as samples2raw_main
from gamutrf.scan import main as scan_main
from gamutrf.sigfinder import main as sigfinder_main
from gamutrf.specgram import main as specgram_main
from gamutrf.waterfall import main as waterfall_main


def worker():
"""Entrypoint for worker"""
worker_main()
from gamutrf.worker import main as worker_main


def compress_dirs():
Expand All @@ -24,6 +20,11 @@ def freqxlator():
freqxlator_main()


def offline():
"""Entrypoint for offline"""
offline_main()


def samples2raw():
"""Entrypoint for samples2raw"""
samples2raw_main()
Expand All @@ -47,3 +48,8 @@ def specgram():
def waterfall():
"""Entrypoint for waterfall"""
waterfall_main()


def worker():
"""Entrypoint for worker"""
worker_main()
25 changes: 12 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,51 +10,50 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.9,<3.13"
"RPi.GPIO" = {version = "0.7.1", markers = "platform_machine != 'aarch64'"}
Flask = "3.0.0"
Jinja2 = "3.1.2"
bjoern = "3.2.2"
cairocffi = "^1.3.0"
falcon = "3.1.3"
falcon-cors = "1.1.7"
gpsd-py3 = "0.3.0"
Jinja2 = "3.1.2"
matplotlib = "3.8.2"
numpy = "1.26.2"
paho-mqtt = "1.6.1"
pandas = "2.1.3"
prometheus_client = "0.19.0"
pycairo = "^1.21.0"
python = ">=3.9,<3.13"
pyzmq = "^25.1.0"
requests = "2.31.0"
"RPi.GPIO" = {version = "0.7.1", markers = "platform_machine != 'aarch64'"}
schedule = "1.2.1"
scipy = "1.11.4"
sigmf = "1.1.3"
zstandard = "0.22.0"
pycairo = "^1.21.0"
cairocffi = "^1.3.0"
Flask = "3.0.0"
sysrsync = "^1.1.1"
pyzmq = "^25.1.0"
zstandard = "0.22.0"

[tool.poetry.dev-dependencies]
attr = "0.3.2"
attrs = "23.1.0"
black = "23.11.0"
docker = "6.1.3"
pdbpp = "^0.10.3"
pylint = "3.0.2"
pytest = "7.4.3"
pytest-cov = "4.1.0"
pytype = "2023.12.7"
pdbpp = "^0.10.3"

[tool.poetry.scripts]
gamutrf-worker = 'gamutrf.__main__:worker'
gamutrf-compress_dirs = 'gamutrf.__main__:compress_dirs'
gamutrf-freqxlator = 'gamutrf.__main__:freqxlator'
gamutrf-offline= 'gamutrf.__main__:offline'
gamutrf-samples2raw = 'gamutrf.__main__:samples2raw'
gamutrf-scan = 'gamutrf.__main__:scan'

gamutrf-sigfinder = 'gamutrf.__main__:sigfinder'
gamutrf-specgram = 'gamutrf.__main__:specgram'
gamutrf-compress_dirs = 'gamutrf.__main__:compress_dirs'

gamutrf-waterfall = 'gamutrf.__main__:waterfall'
gamutrf-worker = 'gamutrf.__main__:worker'

[tool.poetry.urls]
homepage = "https://github.com/IQTLabs/gamutRF"
Expand Down

0 comments on commit db17369

Please sign in to comment.