airportsdata 20240207__tar.gz → 20240309__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airportsdata
3
- Version: 20240207
3
+ Version: 20240309
4
4
  Summary: Extensive database of location and timezone data for nearly every airport and landing strip in the world.
5
5
  Author-email: Mike Borsetti <mike+airportsdata@borsetti.com>
6
6
  Maintainer-email: Mike Borsetti <mike+airportsdata@borsetti.com>
@@ -53,9 +53,9 @@ License-File: LICENSE
53
53
  airportsdata |downloads|
54
54
  ========================
55
55
 
56
- .. |ICAO| replace:: 28,137
56
+ .. |ICAO| replace:: 28,140
57
57
 
58
- .. |IATA| replace:: 7,592
58
+ .. |IATA| replace:: 7,814
59
59
 
60
60
  .. |LID| replace:: 12,567
61
61
 
@@ -2,9 +2,9 @@
2
2
  airportsdata |downloads|
3
3
  ========================
4
4
 
5
- .. |ICAO| replace:: 28,137
5
+ .. |ICAO| replace:: 28,140
6
6
 
7
- .. |IATA| replace:: 7,592
7
+ .. |IATA| replace:: 7,814
8
8
 
9
9
  .. |LID| replace:: 12,567
10
10
 
@@ -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__ = '20240207'
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: