diff --git a/README.md b/README.md index 04b4975..1e1d2e8 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,6 @@ To install `aprsd`, use Pip: send-message Send a message to a callsign via APRS_IS. server Start the aprsd server gateway process. version Show the APRSD version. - webchat Web based HAM Radio chat program! ### Commands diff --git a/aprsd/cmds/list_plugins.py b/aprsd/cmds/list_plugins.py index af82a93..bb5f866 100644 --- a/aprsd/cmds/list_plugins.py +++ b/aprsd/cmds/list_plugins.py @@ -9,7 +9,6 @@ from traceback import print_tb import click import requests -from bs4 import BeautifulSoup from rich.console import Console from rich.table import Table from rich.text import Text @@ -158,23 +157,6 @@ def show_built_in_plugins(console): console.print(table) -def _get_pypi_packages_OLD(): - query = "aprsd" - snippets = [] - s = requests.Session() - c = Console() - for page in range(1, 3): - params = {"q": query, "page": page} - r = s.get(PYPI_URL, params=params) - c.print(f"r = {r.text}") - soup = BeautifulSoup(r.text, "html.parser") - snippets += soup.select('a[class*="snippet"]') - if not hasattr(s, "start_url"): - s.start_url = r.url.rsplit("&page", maxsplit=1).pop(0) - - return snippets - - def _get_pypi_packages(): if simple_r := requests.get( "https://pypi.org/simple",