1 Commits

Author SHA1 Message Date
Xavier Olive
b1f8f6ed62 Some annotations for quantities 2023-06-14 22:50:33 +02:00
4 changed files with 5 additions and 9 deletions

3
pyModeS/.gitignore vendored
View File

@@ -1,3 +0,0 @@
decoder/flarm/decode.c
extra/demod2400/core.c
c_common.c

View File

@@ -1,4 +1,5 @@
from typing import TypedDict
from typing_extensions import Annotated
from .decode import flarm as flarm_decode
@@ -10,8 +11,8 @@ class DecodedMessage(TypedDict):
icao24: str
latitude: float
longitude: float
altitude: int
vertical_speed: float
altitude: Annotated[int, "m"]
vertical_speed: Annotated[float, "m/s"]
groundspeed: int
track: int
type: str

View File

@@ -142,6 +142,5 @@ def flarm(long timestamp, str msg, float refLat, float refLon, **kwargs):
isIcao24=magic==0x10,
noTrack=noTrack,
stealth=stealth,
gps=gps,
**kwargs
)

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyModeS"
version = "2.17"
version = "2.16"
description = "Python Mode-S and ADS-B Decoder"
authors = ["Junzi Sun <j.sun-1@tudelft.nl>"]
license = "GNU GPL v3"
@@ -22,8 +22,7 @@ include = [
"*.pxd",
"*.pyi",
"py.typed",
{ path = "pyModeS/**/*.so", format = "wheel" },
{ path = "pyModeS/**/*.pyd", format = "wheel" }
{ path = "pyModeS/**/*.so", format = "wheel" }
]
[tool.poetry.build]