aprsd 4.0.0__py3-none-any.whl → 4.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,748 @@
1
+ Metadata-Version: 2.2
2
+ Name: aprsd
3
+ Version: 4.0.2
4
+ Summary: APRSd is a APRS-IS server that can be used to connect to APRS-IS and send and receive APRS packets.
5
+ Author-email: Craig Lamparter <craig@craiger.org>, "Walter A. Boring IV" <waboring@hemna.com>, Emre Saglam <emresaglam@gmail.com>, Jason Martin <jhmartin@toger.us>, John <johng42@users.noreply.github.com>, Martiros Shakhzadyan <vrzh@vrzh.net>, Zoe Moore <zoenb@mailbox.org>, ranguli <hello@joshmurphy.ca>
6
+ Maintainer-email: Craig Lamparter <craig@craiger.org>, "Walter A. Boring IV" <waboring@hemna.com>
7
+ License:
8
+ Apache License
9
+ Version 2.0, January 2004
10
+ http://www.apache.org/licenses/
11
+
12
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
13
+
14
+ 1. Definitions.
15
+
16
+ "License" shall mean the terms and conditions for use, reproduction,
17
+ and distribution as defined by Sections 1 through 9 of this document.
18
+
19
+ "Licensor" shall mean the copyright owner or entity authorized by
20
+ the copyright owner that is granting the License.
21
+
22
+ "Legal Entity" shall mean the union of the acting entity and all
23
+ other entities that control, are controlled by, or are under common
24
+ control with that entity. For the purposes of this definition,
25
+ "control" means (i) the power, direct or indirect, to cause the
26
+ direction or management of such entity, whether by contract or
27
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
28
+ outstanding shares, or (iii) beneficial ownership of such entity.
29
+
30
+ "You" (or "Your") shall mean an individual or Legal Entity
31
+ exercising permissions granted by this License.
32
+
33
+ "Source" form shall mean the preferred form for making modifications,
34
+ including but not limited to software source code, documentation
35
+ source, and configuration files.
36
+
37
+ "Object" form shall mean any form resulting from mechanical
38
+ transformation or translation of a Source form, including but
39
+ not limited to compiled object code, generated documentation,
40
+ and conversions to other media types.
41
+
42
+ "Work" shall mean the work of authorship, whether in Source or
43
+ Object form, made available under the License, as indicated by a
44
+ copyright notice that is included in or attached to the work
45
+ (an example is provided in the Appendix below).
46
+
47
+ "Derivative Works" shall mean any work, whether in Source or Object
48
+ form, that is based on (or derived from) the Work and for which the
49
+ editorial revisions, annotations, elaborations, or other modifications
50
+ represent, as a whole, an original work of authorship. For the purposes
51
+ of this License, Derivative Works shall not include works that remain
52
+ separable from, or merely link (or bind by name) to the interfaces of,
53
+ the Work and Derivative Works thereof.
54
+
55
+ "Contribution" shall mean any work of authorship, including
56
+ the original version of the Work and any modifications or additions
57
+ to that Work or Derivative Works thereof, that is intentionally
58
+ submitted to Licensor for inclusion in the Work by the copyright owner
59
+ or by an individual or Legal Entity authorized to submit on behalf of
60
+ the copyright owner. For the purposes of this definition, "submitted"
61
+ means any form of electronic, verbal, or written communication sent
62
+ to the Licensor or its representatives, including but not limited to
63
+ communication on electronic mailing lists, source code control systems,
64
+ and issue tracking systems that are managed by, or on behalf of, the
65
+ Licensor for the purpose of discussing and improving the Work, but
66
+ excluding communication that is conspicuously marked or otherwise
67
+ designated in writing by the copyright owner as "Not a Contribution."
68
+
69
+ "Contributor" shall mean Licensor and any individual or Legal Entity
70
+ on behalf of whom a Contribution has been received by Licensor and
71
+ subsequently incorporated within the Work.
72
+
73
+ 2. Grant of Copyright License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ copyright license to reproduce, prepare Derivative Works of,
77
+ publicly display, publicly perform, sublicense, and distribute the
78
+ Work and such Derivative Works in Source or Object form.
79
+
80
+ 3. Grant of Patent License. Subject to the terms and conditions of
81
+ this License, each Contributor hereby grants to You a perpetual,
82
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
83
+ (except as stated in this section) patent license to make, have made,
84
+ use, offer to sell, sell, import, and otherwise transfer the Work,
85
+ where such license applies only to those patent claims licensable
86
+ by such Contributor that are necessarily infringed by their
87
+ Contribution(s) alone or by combination of their Contribution(s)
88
+ with the Work to which such Contribution(s) was submitted. If You
89
+ institute patent litigation against any entity (including a
90
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
91
+ or a Contribution incorporated within the Work constitutes direct
92
+ or contributory patent infringement, then any patent licenses
93
+ granted to You under this License for that Work shall terminate
94
+ as of the date such litigation is filed.
95
+
96
+ 4. Redistribution. You may reproduce and distribute copies of the
97
+ Work or Derivative Works thereof in any medium, with or without
98
+ modifications, and in Source or Object form, provided that You
99
+ meet the following conditions:
100
+
101
+ (a) You must give any other recipients of the Work or
102
+ Derivative Works a copy of this License; and
103
+
104
+ (b) You must cause any modified files to carry prominent notices
105
+ stating that You changed the files; and
106
+
107
+ (c) You must retain, in the Source form of any Derivative Works
108
+ that You distribute, all copyright, patent, trademark, and
109
+ attribution notices from the Source form of the Work,
110
+ excluding those notices that do not pertain to any part of
111
+ the Derivative Works; and
112
+
113
+ (d) If the Work includes a "NOTICE" text file as part of its
114
+ distribution, then any Derivative Works that You distribute must
115
+ include a readable copy of the attribution notices contained
116
+ within such NOTICE file, excluding those notices that do not
117
+ pertain to any part of the Derivative Works, in at least one
118
+ of the following places: within a NOTICE text file distributed
119
+ as part of the Derivative Works; within the Source form or
120
+ documentation, if provided along with the Derivative Works; or,
121
+ within a display generated by the Derivative Works, if and
122
+ wherever such third-party notices normally appear. The contents
123
+ of the NOTICE file are for informational purposes only and
124
+ do not modify the License. You may add Your own attribution
125
+ notices within Derivative Works that You distribute, alongside
126
+ or as an addendum to the NOTICE text from the Work, provided
127
+ that such additional attribution notices cannot be construed
128
+ as modifying the License.
129
+
130
+ You may add Your own copyright statement to Your modifications and
131
+ may provide additional or different license terms and conditions
132
+ for use, reproduction, or distribution of Your modifications, or
133
+ for any such Derivative Works as a whole, provided Your use,
134
+ reproduction, and distribution of the Work otherwise complies with
135
+ the conditions stated in this License.
136
+
137
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
138
+ any Contribution intentionally submitted for inclusion in the Work
139
+ by You to the Licensor shall be under the terms and conditions of
140
+ this License, without any additional terms or conditions.
141
+ Notwithstanding the above, nothing herein shall supersede or modify
142
+ the terms of any separate license agreement you may have executed
143
+ with Licensor regarding such Contributions.
144
+
145
+ 6. Trademarks. This License does not grant permission to use the trade
146
+ names, trademarks, service marks, or product names of the Licensor,
147
+ except as required for reasonable and customary use in describing the
148
+ origin of the Work and reproducing the content of the NOTICE file.
149
+
150
+ 7. Disclaimer of Warranty. Unless required by applicable law or
151
+ agreed to in writing, Licensor provides the Work (and each
152
+ Contributor provides its Contributions) on an "AS IS" BASIS,
153
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
154
+ implied, including, without limitation, any warranties or conditions
155
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
156
+ PARTICULAR PURPOSE. You are solely responsible for determining the
157
+ appropriateness of using or redistributing the Work and assume any
158
+ risks associated with Your exercise of permissions under this License.
159
+
160
+ 8. Limitation of Liability. In no event and under no legal theory,
161
+ whether in tort (including negligence), contract, or otherwise,
162
+ unless required by applicable law (such as deliberate and grossly
163
+ negligent acts) or agreed to in writing, shall any Contributor be
164
+ liable to You for damages, including any direct, indirect, special,
165
+ incidental, or consequential damages of any character arising as a
166
+ result of this License or out of the use or inability to use the
167
+ Work (including but not limited to damages for loss of goodwill,
168
+ work stoppage, computer failure or malfunction, or any and all
169
+ other commercial damages or losses), even if such Contributor
170
+ has been advised of the possibility of such damages.
171
+
172
+ 9. Accepting Warranty or Additional Liability. While redistributing
173
+ the Work or Derivative Works thereof, You may choose to offer,
174
+ and charge a fee for, acceptance of support, warranty, indemnity,
175
+ or other liability obligations and/or rights consistent with this
176
+ License. However, in accepting such obligations, You may act only
177
+ on Your own behalf and on Your sole responsibility, not on behalf
178
+ of any other Contributor, and only if You agree to indemnify,
179
+ defend, and hold each Contributor harmless for any liability
180
+ incurred by, or claims asserted against, such Contributor by reason
181
+ of your accepting any such warranty or additional liability.
182
+
183
+ Project-URL: Homepage, https://github.com/craigerl/aprsd
184
+ Project-URL: Bug Reports, https://github.com/craigerl/aprsd/issues
185
+ Project-URL: Source, https://github.com/craigerl/aprsd
186
+ Keywords: aprs,aprs-is,aprsd,aprsd-server,aprsd-client,aprsd-socket,aprsd-socket-server,aprsd-socket-client
187
+ Classifier: Development Status :: 5 - Production/Stable
188
+ Classifier: Environment :: Console
189
+ Classifier: Intended Audience :: Developers
190
+ Classifier: Intended Audience :: End Users/Desktop
191
+ Classifier: Intended Audience :: Information Technology
192
+ Classifier: Topic :: Communications :: Ham Radio
193
+ Classifier: Topic :: Internet
194
+ Classifier: Programming Language :: Python :: 3 :: Only
195
+ Classifier: Programming Language :: Python :: 3
196
+ Classifier: Programming Language :: Python :: 3.8
197
+ Classifier: Programming Language :: Python :: 3.9
198
+ Classifier: Programming Language :: Python :: 3.10
199
+ Classifier: Programming Language :: Python :: 3.11
200
+ Requires-Python: >=3.10
201
+ Description-Content-Type: text/markdown
202
+ License-File: LICENSE
203
+ License-File: AUTHORS
204
+ Requires-Dist: aprslib==0.7.2
205
+ Requires-Dist: attrs==24.3.0
206
+ Requires-Dist: ax253==0.1.5.post1
207
+ Requires-Dist: bitarray==3.0.0
208
+ Requires-Dist: certifi==2024.12.14
209
+ Requires-Dist: charset-normalizer==3.4.1
210
+ Requires-Dist: click==8.1.8
211
+ Requires-Dist: commonmark==0.9.1
212
+ Requires-Dist: dataclasses-json==0.6.7
213
+ Requires-Dist: debtcollector==3.0.0
214
+ Requires-Dist: haversine==2.9.0
215
+ Requires-Dist: idna==3.10
216
+ Requires-Dist: importlib-metadata==8.6.1
217
+ Requires-Dist: kiss3==8.0.0
218
+ Requires-Dist: loguru==0.7.3
219
+ Requires-Dist: marshmallow==3.26.0
220
+ Requires-Dist: mypy-extensions==1.0.0
221
+ Requires-Dist: netaddr==1.3.0
222
+ Requires-Dist: oslo-config==9.7.0
223
+ Requires-Dist: oslo-i18n==6.5.0
224
+ Requires-Dist: packaging==24.2
225
+ Requires-Dist: pbr==6.1.0
226
+ Requires-Dist: pluggy==1.5.0
227
+ Requires-Dist: pygments==2.19.1
228
+ Requires-Dist: pyserial==3.5
229
+ Requires-Dist: pyserial-asyncio==0.6
230
+ Requires-Dist: pytz==2024.2
231
+ Requires-Dist: pyyaml==6.0.2
232
+ Requires-Dist: requests==2.32.3
233
+ Requires-Dist: rfc3986==2.0.0
234
+ Requires-Dist: rich==12.6.0
235
+ Requires-Dist: rush==2021.4.0
236
+ Requires-Dist: stevedore==5.4.0
237
+ Requires-Dist: thesmuggler==1.0.1
238
+ Requires-Dist: timeago==1.0.16
239
+ Requires-Dist: typing-extensions==4.12.2
240
+ Requires-Dist: typing-inspect==0.9.0
241
+ Requires-Dist: tzlocal==5.2
242
+ Requires-Dist: update-checker==0.18.0
243
+ Requires-Dist: urllib3==2.3.0
244
+ Requires-Dist: wrapt==1.17.2
245
+ Requires-Dist: zipp==3.21.0
246
+ Provides-Extra: dev
247
+ Requires-Dist: alabaster==1.0.0; extra == "dev"
248
+ Requires-Dist: babel==2.16.0; extra == "dev"
249
+ Requires-Dist: build==1.2.2.post1; extra == "dev"
250
+ Requires-Dist: cachetools==5.5.1; extra == "dev"
251
+ Requires-Dist: certifi==2024.12.14; extra == "dev"
252
+ Requires-Dist: cfgv==3.4.0; extra == "dev"
253
+ Requires-Dist: chardet==5.2.0; extra == "dev"
254
+ Requires-Dist: charset-normalizer==3.4.1; extra == "dev"
255
+ Requires-Dist: click==8.1.8; extra == "dev"
256
+ Requires-Dist: colorama==0.4.6; extra == "dev"
257
+ Requires-Dist: distlib==0.3.9; extra == "dev"
258
+ Requires-Dist: docutils==0.21.2; extra == "dev"
259
+ Requires-Dist: filelock==3.17.0; extra == "dev"
260
+ Requires-Dist: identify==2.6.6; extra == "dev"
261
+ Requires-Dist: idna==3.10; extra == "dev"
262
+ Requires-Dist: imagesize==1.4.1; extra == "dev"
263
+ Requires-Dist: jinja2==3.1.5; extra == "dev"
264
+ Requires-Dist: m2r==0.3.1; extra == "dev"
265
+ Requires-Dist: markupsafe==3.0.2; extra == "dev"
266
+ Requires-Dist: mistune==0.8.4; extra == "dev"
267
+ Requires-Dist: nodeenv==1.9.1; extra == "dev"
268
+ Requires-Dist: packaging==24.2; extra == "dev"
269
+ Requires-Dist: pip==24.3.1; extra == "dev"
270
+ Requires-Dist: pip-tools==7.4.1; extra == "dev"
271
+ Requires-Dist: platformdirs==4.3.6; extra == "dev"
272
+ Requires-Dist: pluggy==1.5.0; extra == "dev"
273
+ Requires-Dist: pre-commit==4.1.0; extra == "dev"
274
+ Requires-Dist: pygments==2.19.1; extra == "dev"
275
+ Requires-Dist: pyproject-api==1.9.0; extra == "dev"
276
+ Requires-Dist: pyproject-hooks==1.2.0; extra == "dev"
277
+ Requires-Dist: pyyaml==6.0.2; extra == "dev"
278
+ Requires-Dist: requests==2.32.3; extra == "dev"
279
+ Requires-Dist: setuptools==75.8.0; extra == "dev"
280
+ Requires-Dist: snowballstemmer==2.2.0; extra == "dev"
281
+ Requires-Dist: sphinx==8.1.3; extra == "dev"
282
+ Requires-Dist: sphinxcontrib-applehelp==2.0.0; extra == "dev"
283
+ Requires-Dist: sphinxcontrib-devhelp==2.0.0; extra == "dev"
284
+ Requires-Dist: sphinxcontrib-htmlhelp==2.1.0; extra == "dev"
285
+ Requires-Dist: sphinxcontrib-jsmath==1.0.1; extra == "dev"
286
+ Requires-Dist: sphinxcontrib-qthelp==2.0.0; extra == "dev"
287
+ Requires-Dist: sphinxcontrib-serializinghtml==2.0.0; extra == "dev"
288
+ Requires-Dist: tomli==2.2.1; extra == "dev"
289
+ Requires-Dist: tox==4.24.1; extra == "dev"
290
+ Requires-Dist: typing-extensions==4.12.2; extra == "dev"
291
+ Requires-Dist: urllib3==2.3.0; extra == "dev"
292
+ Requires-Dist: virtualenv==20.29.1; extra == "dev"
293
+ Requires-Dist: wheel==0.45.1; extra == "dev"
294
+
295
+ # APRSD - Ham radio APRS-IS Message platform software
296
+
297
+ ## KM6LYW and WB4BOR
298
+
299
+ [![pypi](https://badge.fury.io/py/aprsd.svg)](https://badge.fury.io/py/aprsd)
300
+ [![versions](https://img.shields.io/pypi/pyversions/aprsd.svg)](https://pypi.org/pypi/aprsd)
301
+ [![slack](https://img.shields.io/badge/slack-@hemna/aprsd-blue.svg?logo=slack)](https://hemna.slack.com/app_redirect?channel=C01KQSCP5RP)
302
+ ![issues](https://img.shields.io/github/issues/craigerl/aprsd)
303
+ ![commit](https://img.shields.io/github/last-commit/craigerl/aprsd)
304
+ [![imports](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336)](https://timothycrosley.github.io/isort/)
305
+ [![down](https://static.pepy.tech/personalized-badge/aprsd?period=month&units=international_system&left_color=black&right_color=orange&left_text=Downloads)](https://pepy.tech/project/aprsd)
306
+
307
+ [APRSD](http://github.com/craigerl/aprsd) is a Ham radio
308
+ [APRS](http://aprs.org) message platform built with python.
309
+
310
+ ![image](./aprsd_logo.png)
311
+
312
+ # Table of Contents
313
+
314
+ 1. [APRSD - Ham radio APRS-IS Message platform software](#aprsd---ham-radio-aprs-is-message-platform-software)
315
+ 2. [What is APRSD](#what-is-aprsd)
316
+ 3. [APRSD Plugins/Extensions](#aprsd-pluginsextensions)
317
+ 4. [List of existing plugins - APRS Message processing/responders](#list-of-existing-plugins---aprs-message-processingresponders)
318
+ 5. [List of existing extensions - Add new capabilities to APRSD](#list-of-existing-extensions---add-new-capabilities-to-aprsd)
319
+ 6. [APRSD Overview Diagram](#aprsd-overview-diagram)
320
+ 7. [Typical use case](#typical-use-case)
321
+ 8. [Installation](#installation)
322
+ 9. [Example usage](#example-usage)
323
+ 10. [Help](#help)
324
+ 11. [Commands](#commands)
325
+ 12. [Configuration](#configuration)
326
+ 13. [server](#server)
327
+ 14. [Current list plugins](#current-list-plugins)
328
+ 15. [Current list extensions](#current-list-extensions)
329
+ 16. [send-message](#send-message)
330
+ 17. [Development](#development)
331
+ 18. [Release](#release)
332
+ 19. [Building your own APRSD plugins](#building-your-own-aprsd-plugins)
333
+ 20. [Overview](#overview)
334
+ 21. [Docker Container](#docker-container)
335
+ 22. [Building](#building)
336
+ 23. [Official Build](#official-build)
337
+ 24. [Development Build](#development-build)
338
+ 25. [Running the container](#running-the-container)
339
+ 26. [Activity](#activity)
340
+ 27. [Star History](#star-history)
341
+
342
+ ---
343
+
344
+ > [!WARNING]
345
+ > Legal operation of this software requires an amateur radio license and a valid call sign.
346
+
347
+ > [!NOTE]
348
+ > Star this repo to follow our progress! This code is under active development, and contributions are both welcomed and appreciated. See [CONTRIBUTING.md](<https://github.com/craigerl/aprsd/blob/master/CONTRIBUTING.md>) for details.
349
+
350
+ ### What is APRSD
351
+
352
+ APRSD is a python application for interacting with the APRS network and Ham radios with KISS interfaces and
353
+ providing APRS services for HAM radio operators.
354
+
355
+ APRSD currently has 4 main commands to use.
356
+
357
+ - server - Connect to APRS and listen/respond to APRS messages
358
+ - send-message - Send a message to a callsign via APRS_IS.
359
+ - listen - Listen to packets on the APRS-IS Network based on FILTER.
360
+ - check-version - check the version of aprsd
361
+ - sample-config - generate a sample config file
362
+ - dev - helpful for testing new aprsd plugins under development
363
+ - dump-stats - output the stats of a running aprsd server command
364
+ - list-plugins - list the built in plugins, available plugins on pypi.org and installed plugins
365
+ - list-extensions - list the available extensions on pypi.org and installed extensions
366
+
367
+ Each of those commands can connect to the APRS-IS network if internet
368
+ connectivity is available. If internet is not available, then APRS can
369
+ be configured to talk to a TCP KISS TNC for radio connectivity directly.
370
+
371
+ Please [read the docs](https://aprsd.readthedocs.io) to learn more!
372
+
373
+
374
+ ### APRSD Plugins/Extensions
375
+
376
+ APRSD Has the ability to add plugins and extensions. Plugins add new message filters that can look for specific messages and respond. For example, the aprsd-email-plugin adds the ability to send/recieve email to/from an APRS callsign. Extensions add new unique capabilities to APRSD itself. For example the aprsd-admin-extension adds a web interface command that shows the running status of the aprsd server command. aprsd-webchat-extension is a new web based APRS 'chat' command.
377
+
378
+ You can see the [available plugins/extensions on pypi here:](https://pypi.org/search/?q=aprsd) [https://pypi.org/search/?q=aprsd](https://pypi.org/search/?q=aprsd)
379
+
380
+ > [!NOTE]
381
+ > aprsd admin and webchat commands have been extracted into separate extensions.
382
+ * [See admin extension here](https://github.com/hemna/aprsd-admin-extension) <div id="admin logo" align="left"><img src="https://raw.githubusercontent.com/hemna/aprsd-admin-extension/refs/heads/master/screenshot.png" alt="Web Admin" width="340"/></div>
383
+
384
+ * [See webchat extension here](https://github.com/hemna/aprsd-webchat-extension) <div id="webchat logo" align="left"><img src="https://raw.githubusercontent.com/hemna/aprsd-webchat-extension/master/screenshot.png" alt="Webchat" width="340"/></div>
385
+
386
+
387
+ ### List of existing plugins - APRS Message processing/responders
388
+
389
+ - [aprsd-email-plugin](https://github.com/hemna/aprsd-email-plugin) - send/receive email!
390
+ - [aprsd-location-plugin](https://github.com/hemna/aprsd-location-plugin) - get latest GPS location.
391
+ - [aprsd-locationdata-plugin](https://github.com/hemna/aprsd-locationdata-plugin) - get latest GPS location
392
+ - [aprsd-digipi-plugin](https://github.com/hemna/aprsd-digipi-plugin) - Look for digipi beacon packets
393
+ - [aprsd-w3w-plugin](https://github.com/hemna/aprsd-w3w-plugin) - get your w3w coordinates
394
+ - [aprsd-mqtt-plugin](https://github.com/hemna/aprsd-mqtt-plugin) - send aprs packets to an MQTT topic
395
+ - [aprsd-telegram-plugin](https://github.com/hemna/aprsd-telegram-plugin) - send/receive messages to telegram
396
+ - [aprsd-borat-plugin](https://github.com/hemna/aprsd-borat-plugin) - get Borat quotes
397
+ - [aprsd-wxnow-plugin](https://github.com/hemna/aprsd-wxnow-plugin) - get closest N weather station reports
398
+ - [aprsd-weewx-plugin](https://github.com/hemna/aprsd-weewx-plugin) - get weather from your weewx weather station
399
+ - [aprsd-slack-plugin](https://github.com/hemna/aprsd-slack-plugin) - send/receive messages to a slack channel
400
+ - [aprsd-sentry-plugin](https://github.com/hemna/aprsd-sentry-plugin) -
401
+ - [aprsd-repeat-plugins](https://github.com/hemna/aprsd-repeat-plugins) - plugins for the REPEAT service. Get nearest Ham radio repeaters!
402
+ - [aprsd-twitter-plugin](https://github.com/hemna/aprsd-twitter-plugin) - make tweets from your Ham Radio!
403
+ - [aprsd-timeopencage-plugin](https://github.com/hemna/aprsd-timeopencage-plugin) - Get local time for a callsign
404
+ - [aprsd-stock-plugin](https://github.com/hemna/aprsd-stock-plugin) - get stock quotes from your Ham radio
405
+
406
+ ### List of existing extensions - Add new capabilities to APRSD
407
+
408
+ - [aprsd-admin-extension](https://github.com/hemna/aprsd-admin-extension) - Web Administration page for APRSD
409
+ - [aprsd-webchat-extension](https://github.com/hemna/aprsd-webchat-extension) - Web page for APRS Messaging
410
+ - [aprsd-irc-extension](https://github.com/hemna/aprsd-irc-extension) - an IRC like server command for APRS
411
+
412
+ ### APRSD Overview Diagram
413
+
414
+ ![image](https://raw.githubusercontent.com/craigerl/aprsd/master/docs/_static/aprsd_overview.svg?sanitize=true)
415
+
416
+ ### Typical use case
417
+
418
+ APRSD\'s typical use case is that of providing an APRS wide service to
419
+ all HAM radio operators. For example the callsign \'REPEAT\' on the APRS
420
+ network is actually an instance of APRSD that can provide a list of HAM
421
+ repeaters in the area of the callsign that sent the message.
422
+
423
+ Ham radio operator using an APRS enabled HAM radio sends a message to
424
+ check the weather. An APRS message is sent, and then picked up by APRSD.
425
+ The APRS packet is decoded, and the message is sent through the list of
426
+ plugins for processing. For example, the WeatherPlugin picks up the
427
+ message, fetches the weather for the area around the user who sent the
428
+ request, and then responds with the weather conditions in that area.
429
+ Also includes a watch list of HAM callsigns to look out for. The watch
430
+ list can notify you when a HAM callsign in the list is seen and now
431
+ available to message on the APRS network.
432
+
433
+ ### Installation
434
+
435
+ To install `aprsd`, use Pip:
436
+
437
+ `pip install aprsd`
438
+
439
+ ### Example usage
440
+
441
+ `aprsd -h`
442
+
443
+ ### Help
444
+
445
+ :
446
+
447
+ └─> aprsd -h
448
+ Usage: aprsd [OPTIONS] COMMAND [ARGS]...
449
+
450
+ Options:
451
+ --version Show the version and exit.
452
+ -h, --help Show this message and exit.
453
+
454
+ Commands:
455
+ check-version Check this version against the latest in pypi.org.
456
+ completion Show the shell completion code
457
+ dev Development type subcommands
458
+ fetch-stats Fetch stats from a APRSD admin web interface.
459
+ healthcheck Check the health of the running aprsd server.
460
+ list-extensions List the built in plugins available to APRSD.
461
+ list-plugins List the built in plugins available to APRSD.
462
+ listen Listen to packets on the APRS-IS Network based on FILTER.
463
+ sample-config Generate a sample Config file from aprsd and all...
464
+ send-message Send a message to a callsign via APRS_IS.
465
+ server Start the aprsd server gateway process.
466
+ version Show the APRSD version.
467
+
468
+ ### Commands
469
+
470
+ ### Configuration
471
+
472
+ This command outputs a sample config yml formatted block that you can
473
+ edit and use to pass in to `aprsd` with `-c`. By default aprsd looks in
474
+ `~/.config/aprsd/aprsd.yml`
475
+
476
+ `aprsd sample-config`
477
+
478
+ └─> aprsd sample-config
479
+ ...
480
+
481
+ ### server
482
+
483
+ This is the main server command that will listen to APRS-IS servers and
484
+ look for incomming commands to the callsign configured in the config
485
+ file
486
+
487
+ └─[$] > aprsd server --help
488
+ Usage: aprsd server [OPTIONS]
489
+
490
+ Start the aprsd server gateway process.
491
+
492
+ Options:
493
+ --loglevel [CRITICAL|ERROR|WARNING|INFO|DEBUG]
494
+ The log level to use for aprsd.log
495
+ [default: INFO]
496
+ -c, --config TEXT The aprsd config file to use for options.
497
+ [default:
498
+ /Users/i530566/.config/aprsd/aprsd.yml]
499
+ --quiet Don't log to stdout
500
+ -f, --flush Flush out all old aged messages on disk.
501
+ [default: False]
502
+ -h, --help Show this message and exit.
503
+
504
+ └─> aprsd server
505
+ Registering LogMonitorThread
506
+ 2025-01-06 16:27:12.398 | MainThread | INFO | APRSD is up to date | aprsd.cmds.server:server:82
507
+ 2025-01-06 16:27:12.398 | MainThread | INFO | APRSD Started version: 3.5.1.dev0+g72d068c.d20250102 | aprsd.cmds.server:server:83
508
+ 2025-01-06 16:27:12.398 | MainThread | INFO | Creating client connection | aprsd.cmds.server:server:101
509
+ 2025-01-06 16:27:12.398 | MainThread | INFO | Creating aprslib client(noam.aprs2.net:14580) and logging in WB4BOR-1. | aprsd.client.aprsis:setup_connection:136
510
+ 2025-01-06 16:27:12.398 | MainThread | INFO | Attempting connection to noam.aprs2.net:14580 | aprslib.inet:_connect:226
511
+ 2025-01-06 16:27:12.473 | MainThread | INFO | Connected to ('44.135.208.225', 14580) | aprslib.inet:_connect:233
512
+ 2025-01-06 16:27:12.617 | MainThread | INFO | Login successful | aprsd.client.drivers.aprsis:_send_login:154
513
+ 2025-01-06 16:27:12.618 | MainThread | INFO | Connected to T2BC | aprsd.client.drivers.aprsis:_send_login:156
514
+ 2025-01-06 16:27:12.618 | MainThread | INFO | <aprsd.client.aprsis.APRSISClient object at 0x103a36480> | aprsd.cmds.server:server:103
515
+ 2025-01-06 16:27:12.618 | MainThread | INFO | Loading Plugin Manager and registering plugins | aprsd.cmds.server:server:117
516
+ 2025-01-06 16:27:12.619 | MainThread | INFO | Loading APRSD Plugins | aprsd.plugin:setup_plugins:492
517
+
518
+
519
+ #### Current list plugins
520
+
521
+ └─> aprsd list-plugins
522
+ 🐍 APRSD Built-in Plugins 🐍
523
+ ┏━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
524
+ ┃ Plugin Name ┃ Info ┃ Type ┃ Plugin Path ┃
525
+ ┡━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
526
+ │ AVWXWeatherPlugin │ AVWX weather of GPS Beacon location │ RegexCommand │ aprsd.plugins.weather.AVWXWeatherPlugin │
527
+ │ FortunePlugin │ Give me a fortune │ RegexCommand │ aprsd.plugins.fortune.FortunePlugin │
528
+ │ NotifySeenPlugin │ Notify me when a CALLSIGN is recently seen on APRS-IS │ WatchList │ aprsd.plugins.notify.NotifySeenPlugin │
529
+ │ OWMWeatherPlugin │ OpenWeatherMap weather of GPS Beacon location │ RegexCommand │ aprsd.plugins.weather.OWMWeatherPlugin │
530
+ │ PingPlugin │ reply with a Pong! │ RegexCommand │ aprsd.plugins.ping.PingPlugin │
531
+ │ TimeOWMPlugin │ Current time of GPS beacon's timezone. Uses OpenWeatherMap │ RegexCommand │ aprsd.plugins.time.TimeOWMPlugin │
532
+ │ TimePlugin │ What is the current local time. │ RegexCommand │ aprsd.plugins.time.TimePlugin │
533
+ │ USMetarPlugin │ USA only METAR of GPS Beacon location │ RegexCommand │ aprsd.plugins.weather.USMetarPlugin │
534
+ │ USWeatherPlugin │ Provide USA only weather of GPS Beacon location │ RegexCommand │ aprsd.plugins.weather.USWeatherPlugin │
535
+ │ VersionPlugin │ What is the APRSD Version │ RegexCommand │ aprsd.plugins.version.VersionPlugin │
536
+ └───────────────────┴────────────────────────────────────────────────────────────┴──────────────┴─────────────────────────────────────────┘
537
+
538
+
539
+ Pypi.org APRSD Installable Plugin Packages
540
+
541
+ Install any of the following plugins with
542
+ 'pip install <Plugin Package Name>'
543
+ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
544
+ ┃ Plugin Package Name ┃ Description ┃ Version ┃ Released ┃ Installed? ┃
545
+ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
546
+ │ 📂 aprsd-assistant-plugin │ APRSd plugin for hosting the APRS Assistant chatbot │ 0.0.3 │ 2024-10-20T02:59:39 │ No │
547
+ │ │ (aprs-assistant) │ │ │ │
548
+ │ 📂 aprsd-borat-plugin │ Borat quotes for aprsd plugin │ 0.1.1.dev1 │ 2024-01-19T16:04:38 │ No │
549
+ │ 📂 aprsd-locationdata-plugin │ Fetch location information from a callsign │ 0.3.0 │ 2024-02-06T17:20:43 │ No │
550
+ │ 📂 aprsd-mqtt-plugin │ APRSD MQTT Plugin sends APRS packets to mqtt queue │ 0.2.0 │ 2023-04-17T16:01:50 │ No │
551
+ │ 📂 aprsd-repeat-plugins │ APRSD Plugins for the REPEAT service │ 1.2.0 │ 2023-01-10T17:15:36 │ No │
552
+ │ 📂 aprsd-sentry-plugin │ Ham radio APRSD plugin that does.... │ 0.1.2 │ 2022-12-02T19:07:33 │ No │
553
+ │ 📂 aprsd-slack-plugin │ Amateur radio APRS daemon which listens for messages and │ 1.2.0 │ 2023-01-10T19:21:33 │ No │
554
+ │ │ responds │ │ │ │
555
+ │ 📂 aprsd-stock-plugin │ Ham Radio APRSD Plugin for fetching stock quotes │ 0.1.3 │ 2022-12-02T18:56:19 │ Yes │
556
+ │ 📂 aprsd-telegram-plugin │ Ham Radio APRS APRSD plugin for Telegram IM service │ 0.1.3 │ 2022-12-02T19:07:15 │ No │
557
+ │ 📂 aprsd-timeopencage-plugin │ APRSD plugin for fetching time based on GPS location │ 0.2.0 │ 2023-01-10T17:07:11 │ No │
558
+ │ 📂 aprsd-twitter-plugin │ Python APRSD plugin to send tweets │ 0.5.0 │ 2023-01-10T16:51:47 │ No │
559
+ │ 📂 aprsd-weewx-plugin │ HAM Radio APRSD that reports weather from a weewx weather │ 0.3.2 │ 2023-04-20T20:16:19 │ No │
560
+ │ │ station. │ │ │ │
561
+ │ 📂 aprsd-wxnow-plugin │ APRSD Plugin for getting the closest wx reports to last │ 0.2.0 │ 2023-10-08T01:27:29 │ Yes │
562
+ │ │ beacon │ │ │ │
563
+ └──────────────────────────────┴──────────────────────────────────────────────────────────────┴────────────┴─────────────────────┴────────────┘
564
+
565
+
566
+ 🐍 APRSD Installed 3rd party Plugins 🐍
567
+ ┏━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
568
+ ┃ Package Name ┃ Plugin Name ┃ Version ┃ Type ┃ Plugin Path ┃
569
+ ┡━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
570
+ │ aprsd-stock-plugin │ YahooStockQuote │ 0.1.3 │ RegexCommand │ aprsd_stock_plugin.stock.YahooStockQuote │
571
+ │ aprsd-wxnow-plugin │ WXNowPlugin │ 0.2.0 │ RegexCommand │ aprsd_wxnow_plugin.conf.opts.WXNowPlugin │
572
+ └────────────────────┴─────────────────┴─────────┴──────────────┴──────────────────────────────────────────┘
573
+
574
+ #### Current list extensions
575
+ └─> aprsd list-extensions
576
+
577
+
578
+ Pypi.org APRSD Installable Extension Packages
579
+
580
+ Install any of the following extensions by running
581
+ 'pip install <Plugin Package Name>'
582
+ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
583
+ ┃ Extension Package Name ┃ Description ┃ Version ┃ Released ┃ Installed? ┃
584
+ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
585
+ │ 📂 aprsd-admin-extension │ Administration extension for the Ham radio APRSD Server │ 1.0.1 │ 2025-01-06T21:57:24 │ Yes │
586
+ │ 📂 aprsd-irc-extension │ An Extension to Ham radio APRSD Daemon to act like an irc server │ 0.0.5 │ 2024-04-09T11:28:47 │ No │
587
+ │ │ for APRS │ │ │ │
588
+ └──────────────────────────┴─────────────────────────────────────────────────────────────────────┴─────────┴─────────────────────┴────────────┘
589
+
590
+ ### send-message
591
+
592
+ This command is typically used for development to send another aprsd
593
+ instance test messages
594
+
595
+ └─[$] > aprsd send-message -h
596
+ Usage: aprsd send-message [OPTIONS] TOCALLSIGN COMMAND...
597
+
598
+ Send a message to a callsign via APRS_IS.
599
+
600
+ Options:
601
+ --loglevel [CRITICAL|ERROR|WARNING|INFO|DEBUG]
602
+ The log level to use for aprsd.log
603
+ [default: INFO]
604
+ -c, --config TEXT The aprsd config file to use for options.
605
+ [default:
606
+ /Users/i530566/.config/aprsd/aprsd.yml]
607
+ --quiet Don't log to stdout
608
+ --aprs-login TEXT What callsign to send the message from.
609
+ [env var: APRS_LOGIN]
610
+ --aprs-password TEXT the APRS-IS password for APRS_LOGIN [env
611
+ var: APRS_PASSWORD]
612
+ -n, --no-ack Don't wait for an ack, just sent it to APRS-
613
+ IS and bail. [default: False]
614
+ -w, --wait-response Wait for a response to the message?
615
+ [default: False]
616
+ --raw TEXT Send a raw message. Implies --no-ack
617
+ -h, --help Show this message and exit.
618
+
619
+ ### Development
620
+
621
+ - `git clone git@github.com:craigerl/aprsd.git`
622
+ - `cd aprsd`
623
+ - `make`
624
+
625
+ #### Workflow
626
+
627
+ While working aprsd, The workflow is as follows:
628
+
629
+ - Checkout a new branch to work on by running
630
+
631
+ `git checkout -b mybranch`
632
+
633
+ - Make your changes to the code
634
+
635
+ - Run Tox with the following options:
636
+
637
+ - `tox -epep8`
638
+ - `tox -efmt`
639
+ - `tox -p`
640
+
641
+ - Commit your changes. This will run the pre-commit hooks which does
642
+ checks too
643
+
644
+ `git commit`
645
+
646
+ - Once you are done with all of your commits, then push up the branch
647
+ to github with:
648
+
649
+ `git push -u origin mybranch`
650
+
651
+ - Create a pull request from your branch so github tests can run and
652
+ we can do a code review.
653
+
654
+ #### Release
655
+
656
+ To do release to pypi:
657
+
658
+ - Tag release with:
659
+
660
+ `git tag -v1.XX -m "New release"`
661
+
662
+ - Push release tag:
663
+
664
+ `git push origin master --tags`
665
+
666
+ - Do a test build and verify build is valid by running:
667
+
668
+ `make build`
669
+
670
+ - Once twine is happy, upload release to pypi:
671
+
672
+ `make upload`
673
+
674
+ #### Building your own APRSD plugins
675
+
676
+ APRSD plugins are the mechanism by which APRSD can respond to APRS
677
+ Messages. The plugins are loaded at server startup and can also be
678
+ loaded at listen startup. When a packet is received by APRSD, it is
679
+ passed to each of the plugins in the order they were registered in the
680
+ config file. The plugins can then decide what to do with the packet.
681
+ When a plugin is called, it is passed a APRSD Packet object. The plugin
682
+ can then do something with the packet and return a reply message if
683
+ desired. If a plugin does not want to reply to the packet, it can just
684
+ return None. When a plugin does return a reply message, APRSD will send
685
+ the reply message to the appropriate destination.
686
+
687
+ For example, when a \'ping\' message is received, the PingPlugin will
688
+ return a reply message of \'pong\'. When APRSD receives the \'pong\'
689
+ message, it will be sent back to the original caller of the ping
690
+ message.
691
+
692
+ APRSD plugins are simply python packages that can be installed from
693
+ pypi.org. They are installed into the aprsd virtualenv and can be
694
+ imported by APRSD at runtime. The plugins are registered in the config
695
+ file and loaded at startup of the aprsd server command or the aprsd
696
+ listen command.
697
+
698
+ #### Overview
699
+
700
+ You can build your own plugins by following the instructions in the
701
+ [Building your own APRSD plugins](#building-your-own-aprsd-plugins)
702
+ section.
703
+
704
+ Plugins are called by APRSD when packe
705
+
706
+ ### Docker Container
707
+
708
+ ### Building
709
+
710
+ There are 2 versions of the container Dockerfile that can be used. The
711
+ main Dockerfile, which is for building the official release container
712
+ based off of the pip install version of aprsd and the Dockerfile-dev,
713
+ which is used for building a container based off of a git branch of the
714
+ repo.
715
+
716
+ ### Official Build
717
+
718
+ `docker build -t hemna6969/aprsd:latest .`
719
+
720
+ ### Development Build
721
+
722
+ `docker build -t hemna6969/aprsd:latest -f Dockerfile-dev .`
723
+
724
+ ### Running the container
725
+
726
+ There is a `docker-compose.yml` file in the `docker/` directory that can
727
+ be used to run your container. To provide the container an `aprsd.conf`
728
+ configuration file, change your `docker-compose.yml` as shown below:
729
+
730
+ volumes:
731
+ - $HOME/.config/aprsd:/config
732
+
733
+ To install plugins at container start time, pass in a list of
734
+ comma-separated list of plugins on PyPI using the `APRSD_PLUGINS`
735
+ environment variable in the `docker-compose.yml` file. Note that version
736
+ constraints may also be provided. For example:
737
+
738
+ environment:
739
+ - APRSD_PLUGINS=aprsd-slack-plugin>=1.0.2,aprsd-twitter-plugin
740
+
741
+
742
+ ### Activity
743
+
744
+ ![Alt](https://repobeats.axiom.co/api/embed/8b96657861770a15f0b851a5eebafb34d0e0b3d3.svg "Repobeats analytics image")
745
+
746
+ ## Star History
747
+
748
+ [![Star History Chart](https://api.star-history.com/svg?repos=craigerl/aprsd&type=Date)](https://star-history.com/#craigerl/aprsd&Date)