airportsdata 20240207__py3-none-any.whl → 20240309__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.
- airportsdata/__init__.py +2 -1
- airportsdata/airports.csv +228 -225
- {airportsdata-20240207.dist-info → airportsdata-20240309.dist-info}/METADATA +3 -3
- airportsdata-20240309.dist-info/RECORD +9 -0
- airportsdata-20240207.dist-info/RECORD +0 -9
- {airportsdata-20240207.dist-info → airportsdata-20240309.dist-info}/LICENSE +0 -0
- {airportsdata-20240207.dist-info → airportsdata-20240309.dist-info}/WHEEL +0 -0
- {airportsdata-20240207.dist-info → airportsdata-20240309.dist-info}/top_level.txt +0 -0
airportsdata/__init__.py
CHANGED
|
@@ -11,7 +11,7 @@ from typing import Dict, Literal, TypedDict
|
|
|
11
11
|
|
|
12
12
|
__project_name__ = __package__
|
|
13
13
|
# Release numbering follows the release date
|
|
14
|
-
__version__ = '
|
|
14
|
+
__version__ = '20240309'
|
|
15
15
|
__min_python_version__ = (3, 9)
|
|
16
16
|
__author__ = 'Mike Borsetti <mike@borsetti.com>'
|
|
17
17
|
__copyright__ = 'Copyright 2020- Mike Borsetti'
|
|
@@ -100,6 +100,7 @@ def load_iata_macs() -> dict[str, IATAMAC]:
|
|
|
100
100
|
airports = load('IATA')
|
|
101
101
|
this_dir = Path(__file__).parent
|
|
102
102
|
iata_macs: dict[str, IATAMAC] = {}
|
|
103
|
+
row_d: dict[str, str]
|
|
103
104
|
with this_dir.joinpath('iata_macs.csv').open(encoding='utf8') as f:
|
|
104
105
|
reader = csv.DictReader(f, quoting=csv.QUOTE_NONNUMERIC)
|
|
105
106
|
for row_d in reader:
|