APRS Assistant
An LLM-based assistant for the Automatic Packet Reporting System (APRS).
For local development, or to integrate APRS Assistant into other frameworks, read on. For running APRS Assistant, heed the above advice and go to aprs-assistant-plugin now.
Installation
pip install aprs-assistant
Callsign
Your bot needs a callsign! Set with the APRS_ASSISTANT_CALLSIGN environment variable.
export APRS_ASSISTANT_CALLSIGN=<CLEVER_CALLSIGN>
API Keys
At a minimum, this library requires setting an OpenAI API key. Bing and APRS.fi API keys are also used to support various tools and services. Set the, as environment variable in bash, as follows:
export OPENAI_API_KEY=<YOUR_KEY>
export BING_API_KEY=<YOUR_KEY>
export APRSFI_API_KEY=<YOUR_KEY>
Running Local Chat
The library supports local chats (e.g., for debugging) as follows:
python -m aprs_assistant <YOUR_CALLSIGN>
Type exit or press Ctrl-D to exit.
FCC ULS Integration
APRS Assistant supports basic callsign lookups using a local copy of the FCC ULS database. This database is about 325 MB and is easily created.
cd ./tools/parse_fcc_uls
bash create_db.bash
cd ../..
mkdir data
mv ./tools/parse_fcc_uls/fcc_uls.db data/.
This step only needs to be done once (or when you wish to update the database with new records!)
See ./tools/parse_fcc_uls/README for more details.
Integration
To integrate aprs-assistant into your application, simply use:
from aprs_assistant import generate_reply
sender_callsign = "NOCALL"
message = "What's the weather?"
response = generate_reply(sender_callsign, message)
print(response)
Note: response can be None
License
aprs-assistant is distributed under the terms of the MIT license.
Metadata
Release files for aprs-assistant 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aprs_assistant-0.0.4.tar.gz | 21.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aprs_assistant-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.7 kB
Release files / aprs_assistant-0.0.4.tar.gz
| Download URL | aprs_assistant-0.0.4.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f65d923a5f6f9484193b2e6736eaedf98873eeb4e0c73b3e0d22ddae991847a
|
|
BLAKE2b-256 checksum How to use checksums |
12b39d4128a52deffc7cce3ee87f2ce740fb8bde1d503f4b13a6a44acc314fc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.26.0
|
Release files / aprs_assistant-0.0.4-py3-none-any.whl
| Download URL | aprs_assistant-0.0.4-py3-none-any.whl |
|---|---|
| Size | 24.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bad314d04cc2480f826db1d2284a62b71163f953937b58604c0cb8f811541f2e
|
|
BLAKE2b-256 checksum How to use checksums |
719420b427133a893e9688e7eebcd5c41d385be3ac9c8f260f8a174430ddfc86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.26.0
|
Security for aprs-assistant 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.