pyfastnet 2.0.15__tar.gz → 2.0.17__tar.gz
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.
- {pyfastnet-2.0.15/pyfastnet.egg-info → pyfastnet-2.0.17}/PKG-INFO +44 -16
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/README.md +2 -3
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/fastnet_decoder/__init__.py +2 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/fastnet_decoder/decode_fastnet.py +76 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/fastnet_decoder/frame_buffer.py +17 -4
- {pyfastnet-2.0.15 → pyfastnet-2.0.17/pyfastnet.egg-info}/PKG-INFO +44 -16
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/pyfastnet.egg-info/SOURCES.txt +2 -2
- pyfastnet-2.0.17/pyfastnet.egg-info/requires.txt +3 -0
- pyfastnet-2.0.17/pyproject.toml +44 -0
- pyfastnet-2.0.15/MANIFEST.in +0 -17
- pyfastnet-2.0.15/setup.py +0 -20
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/LICENSE +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/fastnet_decoder/logger.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/fastnet_decoder/mappings.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/fastnet_decoder/utils.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/pyfastnet.egg-info/dependency_links.txt +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/pyfastnet.egg-info/top_level.txt +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/setup.cfg +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_autopilot.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_awa.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_aws.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_battery.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_boatspeed.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_depth_frame.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_format07_msb_regression.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_format08_layout.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_heading.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_heel_trim.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_latlon_frame.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_sea_temp.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_sog.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_tidal.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_timer.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_twa.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_twd.py +0 -0
- {pyfastnet-2.0.15 → pyfastnet-2.0.17}/tests/test_tws.py +0 -0
|
@@ -1,25 +1,54 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyfastnet
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.17
|
|
4
4
|
Summary: A Python library for decoding FastNet protocol data streams.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
Author-email: Alex Salmon <alex@ivila.net>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2025 ghotihook
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Project-URL: Homepage, https://github.com/ghotihook/pyfastnet
|
|
29
|
+
Project-URL: Repository, https://github.com/ghotihook/pyfastnet
|
|
30
|
+
Project-URL: Issues, https://github.com/ghotihook/pyfastnet/issues
|
|
31
|
+
Keywords: fastnet,bandg,hydra,h2000,marine,sailing,decoder
|
|
32
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
33
|
+
Classifier: Intended Audience :: Developers
|
|
9
34
|
Classifier: License :: OSI Approved :: MIT License
|
|
10
35
|
Classifier: Operating System :: OS Independent
|
|
36
|
+
Classifier: Programming Language :: Python :: 3
|
|
37
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
41
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
43
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
44
|
+
Classifier: Topic :: Communications
|
|
45
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
11
46
|
Requires-Python: >=3.7
|
|
12
47
|
Description-Content-Type: text/markdown
|
|
13
48
|
License-File: LICENSE
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
Dynamic: classifier
|
|
17
|
-
Dynamic: description
|
|
18
|
-
Dynamic: description-content-type
|
|
19
|
-
Dynamic: home-page
|
|
49
|
+
Provides-Extra: test
|
|
50
|
+
Requires-Dist: pytest>=7.0; extra == "test"
|
|
20
51
|
Dynamic: license-file
|
|
21
|
-
Dynamic: requires-python
|
|
22
|
-
Dynamic: summary
|
|
23
52
|
|
|
24
53
|
# pyfastnet
|
|
25
54
|
|
|
@@ -153,10 +182,9 @@ fb.get_buffer_contents() # hex string of buffer contents
|
|
|
153
182
|
|
|
154
183
|
## Companion apps
|
|
155
184
|
|
|
156
|
-
- [fastnet2ip](https://github.com/ghotihook/fastnet2ip) — reads FastNet from serial
|
|
157
|
-
- [fastnet2ip_n2k](https://github.com/ghotihook/fastnet2ip_n2k) — reads FastNet from serial, broadcasts NMEA 2000 via UDP
|
|
185
|
+
- [fastnet2ip](https://github.com/ghotihook/fastnet2ip) — reads FastNet from serial and broadcasts it over UDP as either NMEA 0183 or NMEA 2000 (selected with `--output`). Install with `pipx install fastnet2ip`.
|
|
158
186
|
|
|
159
|
-
|
|
187
|
+
Runs on Raspberry Pi, macOS, or Linux.
|
|
160
188
|
|
|
161
189
|
## Acknowledgments
|
|
162
190
|
|
|
@@ -130,10 +130,9 @@ fb.get_buffer_contents() # hex string of buffer contents
|
|
|
130
130
|
|
|
131
131
|
## Companion apps
|
|
132
132
|
|
|
133
|
-
- [fastnet2ip](https://github.com/ghotihook/fastnet2ip) — reads FastNet from serial
|
|
134
|
-
- [fastnet2ip_n2k](https://github.com/ghotihook/fastnet2ip_n2k) — reads FastNet from serial, broadcasts NMEA 2000 via UDP
|
|
133
|
+
- [fastnet2ip](https://github.com/ghotihook/fastnet2ip) — reads FastNet from serial and broadcasts it over UDP as either NMEA 0183 or NMEA 2000 (selected with `--output`). Install with `pipx install fastnet2ip`.
|
|
135
134
|
|
|
136
|
-
|
|
135
|
+
Runs on Raspberry Pi, macOS, or Linux.
|
|
137
136
|
|
|
138
137
|
## Acknowledgments
|
|
139
138
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import datetime
|
|
2
|
+
import logging
|
|
2
3
|
from .mappings import ADDRESS_LOOKUP, COMMAND_LOOKUP, CHANNEL_LOOKUP, FORMAT_SIZE_MAP
|
|
3
4
|
from .mappings import SEGMENT_A, SEGMENT_B, AUTOPILOT_MODES
|
|
4
5
|
from .logger import logger
|
|
@@ -109,6 +110,81 @@ def decode_frame(frame: bytes) -> dict:
|
|
|
109
110
|
return {"error": "Decoding failure"}
|
|
110
111
|
|
|
111
112
|
|
|
113
|
+
def probe_frame(frame: bytes) -> None:
|
|
114
|
+
"""
|
|
115
|
+
Speculatively unpack a non-broadcast frame using the same channel-record
|
|
116
|
+
assembly as Broadcast frames, for reverse-engineering only.
|
|
117
|
+
|
|
118
|
+
The body layout of non-broadcast commands (pilot messages, NMEA-sourced
|
|
119
|
+
data, etc.) is NOT known to match the Broadcast channel-record format, so
|
|
120
|
+
everything decoded here is a guess: results are logged at DEBUG and are
|
|
121
|
+
never queued or assigned to channels. The point is to eyeball whether the
|
|
122
|
+
same (channel_id, format_byte, data...) structure holds for these frames.
|
|
123
|
+
"""
|
|
124
|
+
if not logger.isEnabledFor(logging.DEBUG):
|
|
125
|
+
return
|
|
126
|
+
try:
|
|
127
|
+
to_address = frame[0]
|
|
128
|
+
from_address = frame[1]
|
|
129
|
+
command = frame[3]
|
|
130
|
+
body = frame[5:-1]
|
|
131
|
+
|
|
132
|
+
to_name = ADDRESS_LOOKUP.get(to_address, f"Unknown (0x{to_address:02X})")
|
|
133
|
+
from_name = ADDRESS_LOOKUP.get(from_address, f"Unknown (0x{from_address:02X})")
|
|
134
|
+
cmd_name = COMMAND_LOOKUP.get(command, f"Unknown (0x{command:02X})")
|
|
135
|
+
|
|
136
|
+
logger.debug(
|
|
137
|
+
f" PROBE cmd={cmd_name} {to_name}←{from_name} body=[{body.hex()}]"
|
|
138
|
+
)
|
|
139
|
+
|
|
140
|
+
index = 0
|
|
141
|
+
while index < len(body):
|
|
142
|
+
if index + 1 >= len(body):
|
|
143
|
+
logger.debug(f" PROBE trailing byte [{body[index:].hex()}]")
|
|
144
|
+
break
|
|
145
|
+
|
|
146
|
+
channel_id = body[index]
|
|
147
|
+
format_byte = body[index + 1]
|
|
148
|
+
channel_name = CHANNEL_LOOKUP.get(channel_id, f"Unknown (0x{channel_id:02X})")
|
|
149
|
+
index += 2
|
|
150
|
+
|
|
151
|
+
data_length = FORMAT_SIZE_MAP.get(format_byte & 0x0F, 0)
|
|
152
|
+
if data_length == 0:
|
|
153
|
+
logger.debug(
|
|
154
|
+
f" PROBE 0x{channel_id:02X} {channel_name} "
|
|
155
|
+
f"fmt=0x{format_byte:02X} unknown format, stop "
|
|
156
|
+
f"remaining=[{body[index:].hex()}]"
|
|
157
|
+
)
|
|
158
|
+
break
|
|
159
|
+
if index + data_length > len(body):
|
|
160
|
+
logger.debug(
|
|
161
|
+
f" PROBE 0x{channel_id:02X} {channel_name} "
|
|
162
|
+
f"fmt=0x{format_byte:02X} incomplete need={data_length}B "
|
|
163
|
+
f"have={len(body) - index}B remaining=[{body[index:].hex()}]"
|
|
164
|
+
)
|
|
165
|
+
break
|
|
166
|
+
|
|
167
|
+
data_bytes = body[index:index + data_length]
|
|
168
|
+
index += data_length
|
|
169
|
+
|
|
170
|
+
decoded = decode_format_and_data(channel_id, format_byte, data_bytes)
|
|
171
|
+
if decoded:
|
|
172
|
+
logger.debug(
|
|
173
|
+
f" PROBE 0x{channel_id:02X} {channel_name} "
|
|
174
|
+
f"fmt=0x{format_byte:02X} data=[{data_bytes.hex()}] "
|
|
175
|
+
f"value={decoded['value']} display='{decoded['display_text']}' "
|
|
176
|
+
f"layout={decoded['layout']}"
|
|
177
|
+
)
|
|
178
|
+
else:
|
|
179
|
+
logger.debug(
|
|
180
|
+
f" PROBE 0x{channel_id:02X} {channel_name} "
|
|
181
|
+
f"fmt=0x{format_byte:02X} data=[{data_bytes.hex()}] (no decode)"
|
|
182
|
+
)
|
|
183
|
+
|
|
184
|
+
except Exception as e:
|
|
185
|
+
logger.debug(f" PROBE error: {e} [{frame.hex()}]")
|
|
186
|
+
|
|
187
|
+
|
|
112
188
|
def decode_ascii_frame(frame: bytes) -> dict:
|
|
113
189
|
try:
|
|
114
190
|
to_address = frame[0]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import logging
|
|
2
2
|
from .utils import calculate_checksum
|
|
3
3
|
from .mappings import COMMAND_LOOKUP, IGNORED_COMMANDS
|
|
4
|
-
from .decode_fastnet import decode_frame, decode_ascii_frame
|
|
4
|
+
from .decode_fastnet import decode_frame, decode_ascii_frame, probe_frame
|
|
5
5
|
from .logger import logger
|
|
6
6
|
from queue import Queue, Full
|
|
7
7
|
|
|
@@ -84,9 +84,22 @@ class FrameBuffer:
|
|
|
84
84
|
self.decode_and_queue_frame(frame, command_name)
|
|
85
85
|
|
|
86
86
|
def decode_and_queue_frame(self, frame, command_name):
|
|
87
|
-
"""
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
"""
|
|
88
|
+
Decode a frame and add it to the queue if valid.
|
|
89
|
+
|
|
90
|
+
Only Broadcast frames carry the channel-record body layout, and LatLon
|
|
91
|
+
frames carry ASCII; those are decoded and queued. Every other command
|
|
92
|
+
(pilot messages, NMEA-sourced data, etc.) has an unknown body structure,
|
|
93
|
+
so it is never queued — it is only probed speculatively for debugging.
|
|
94
|
+
"""
|
|
95
|
+
if command_name == "Broadcast":
|
|
96
|
+
decoded_frame = decode_frame(frame)
|
|
97
|
+
elif command_name == "LatLon":
|
|
98
|
+
decoded_frame = decode_ascii_frame(frame)
|
|
99
|
+
else:
|
|
100
|
+
probe_frame(frame)
|
|
101
|
+
return
|
|
102
|
+
|
|
90
103
|
if decoded_frame and "values" in decoded_frame:
|
|
91
104
|
try:
|
|
92
105
|
self.frame_queue.put_nowait(decoded_frame)
|
|
@@ -1,25 +1,54 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyfastnet
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.17
|
|
4
4
|
Summary: A Python library for decoding FastNet protocol data streams.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
Author-email: Alex Salmon <alex@ivila.net>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2025 ghotihook
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Project-URL: Homepage, https://github.com/ghotihook/pyfastnet
|
|
29
|
+
Project-URL: Repository, https://github.com/ghotihook/pyfastnet
|
|
30
|
+
Project-URL: Issues, https://github.com/ghotihook/pyfastnet/issues
|
|
31
|
+
Keywords: fastnet,bandg,hydra,h2000,marine,sailing,decoder
|
|
32
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
33
|
+
Classifier: Intended Audience :: Developers
|
|
9
34
|
Classifier: License :: OSI Approved :: MIT License
|
|
10
35
|
Classifier: Operating System :: OS Independent
|
|
36
|
+
Classifier: Programming Language :: Python :: 3
|
|
37
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
41
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
43
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
44
|
+
Classifier: Topic :: Communications
|
|
45
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
11
46
|
Requires-Python: >=3.7
|
|
12
47
|
Description-Content-Type: text/markdown
|
|
13
48
|
License-File: LICENSE
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
Dynamic: classifier
|
|
17
|
-
Dynamic: description
|
|
18
|
-
Dynamic: description-content-type
|
|
19
|
-
Dynamic: home-page
|
|
49
|
+
Provides-Extra: test
|
|
50
|
+
Requires-Dist: pytest>=7.0; extra == "test"
|
|
20
51
|
Dynamic: license-file
|
|
21
|
-
Dynamic: requires-python
|
|
22
|
-
Dynamic: summary
|
|
23
52
|
|
|
24
53
|
# pyfastnet
|
|
25
54
|
|
|
@@ -153,10 +182,9 @@ fb.get_buffer_contents() # hex string of buffer contents
|
|
|
153
182
|
|
|
154
183
|
## Companion apps
|
|
155
184
|
|
|
156
|
-
- [fastnet2ip](https://github.com/ghotihook/fastnet2ip) — reads FastNet from serial
|
|
157
|
-
- [fastnet2ip_n2k](https://github.com/ghotihook/fastnet2ip_n2k) — reads FastNet from serial, broadcasts NMEA 2000 via UDP
|
|
185
|
+
- [fastnet2ip](https://github.com/ghotihook/fastnet2ip) — reads FastNet from serial and broadcasts it over UDP as either NMEA 0183 or NMEA 2000 (selected with `--output`). Install with `pipx install fastnet2ip`.
|
|
158
186
|
|
|
159
|
-
|
|
187
|
+
Runs on Raspberry Pi, macOS, or Linux.
|
|
160
188
|
|
|
161
189
|
## Acknowledgments
|
|
162
190
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
LICENSE
|
|
2
|
-
MANIFEST.in
|
|
3
2
|
README.md
|
|
4
|
-
|
|
3
|
+
pyproject.toml
|
|
5
4
|
fastnet_decoder/__init__.py
|
|
6
5
|
fastnet_decoder/decode_fastnet.py
|
|
7
6
|
fastnet_decoder/frame_buffer.py
|
|
@@ -11,6 +10,7 @@ fastnet_decoder/utils.py
|
|
|
11
10
|
pyfastnet.egg-info/PKG-INFO
|
|
12
11
|
pyfastnet.egg-info/SOURCES.txt
|
|
13
12
|
pyfastnet.egg-info/dependency_links.txt
|
|
13
|
+
pyfastnet.egg-info/requires.txt
|
|
14
14
|
pyfastnet.egg-info/top_level.txt
|
|
15
15
|
tests/test_autopilot.py
|
|
16
16
|
tests/test_awa.py
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "pyfastnet"
|
|
7
|
+
dynamic = ["version"]
|
|
8
|
+
description = "A Python library for decoding FastNet protocol data streams."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.7"
|
|
11
|
+
license = { file = "LICENSE" }
|
|
12
|
+
authors = [{ name = "Alex Salmon", email = "alex@ivila.net" }]
|
|
13
|
+
keywords = ["fastnet", "bandg", "hydra", "h2000", "marine", "sailing", "decoder"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 5 - Production/Stable",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
"License :: OSI Approved :: MIT License",
|
|
18
|
+
"Operating System :: OS Independent",
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"Programming Language :: Python :: 3.7",
|
|
21
|
+
"Programming Language :: Python :: 3.8",
|
|
22
|
+
"Programming Language :: Python :: 3.9",
|
|
23
|
+
"Programming Language :: Python :: 3.10",
|
|
24
|
+
"Programming Language :: Python :: 3.11",
|
|
25
|
+
"Programming Language :: Python :: 3.12",
|
|
26
|
+
"Programming Language :: Python :: 3.13",
|
|
27
|
+
"Topic :: Communications",
|
|
28
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
29
|
+
]
|
|
30
|
+
dependencies = []
|
|
31
|
+
|
|
32
|
+
[project.urls]
|
|
33
|
+
Homepage = "https://github.com/ghotihook/pyfastnet"
|
|
34
|
+
Repository = "https://github.com/ghotihook/pyfastnet"
|
|
35
|
+
Issues = "https://github.com/ghotihook/pyfastnet/issues"
|
|
36
|
+
|
|
37
|
+
[project.optional-dependencies]
|
|
38
|
+
test = ["pytest>=7.0"]
|
|
39
|
+
|
|
40
|
+
[tool.setuptools.packages.find]
|
|
41
|
+
include = ["fastnet_decoder*"]
|
|
42
|
+
|
|
43
|
+
[tool.setuptools.dynamic]
|
|
44
|
+
version = { attr = "fastnet_decoder.__version__" }
|
pyfastnet-2.0.15/MANIFEST.in
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Include README, LICENSE, and other important files
|
|
2
|
-
include README.md
|
|
3
|
-
include LICENSE
|
|
4
|
-
|
|
5
|
-
# Include all Python source files
|
|
6
|
-
recursive-include pyfastnet *.py
|
|
7
|
-
|
|
8
|
-
# Include tests directory
|
|
9
|
-
recursive-include tests *.py
|
|
10
|
-
|
|
11
|
-
# Include any data files, if applicable
|
|
12
|
-
include pyfastnet/data/*
|
|
13
|
-
|
|
14
|
-
# Exclude unwanted files (e.g., caches, temp files, etc.)
|
|
15
|
-
global-exclude __pycache__/*
|
|
16
|
-
global-exclude *.py[cod]
|
|
17
|
-
global-exclude .DS_Store
|
pyfastnet-2.0.15/setup.py
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
from setuptools import setup, find_packages
|
|
2
|
-
|
|
3
|
-
setup(
|
|
4
|
-
name="pyfastnet",
|
|
5
|
-
version="2.0.15",
|
|
6
|
-
author="Alex Salmon",
|
|
7
|
-
author_email="alex@ivila.net",
|
|
8
|
-
description="A Python library for decoding FastNet protocol data streams.",
|
|
9
|
-
long_description=open("README.md").read(),
|
|
10
|
-
long_description_content_type="text/markdown",
|
|
11
|
-
url="https://github.com/ghotihook/pyfastnet",
|
|
12
|
-
packages=find_packages(),
|
|
13
|
-
classifiers=[
|
|
14
|
-
"Programming Language :: Python :: 3",
|
|
15
|
-
"License :: OSI Approved :: MIT License",
|
|
16
|
-
"Operating System :: OS Independent",
|
|
17
|
-
],
|
|
18
|
-
python_requires=">=3.7",
|
|
19
|
-
install_requires=[] # Add dependencies if required
|
|
20
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|