airportsdata 20250811__tar.gz → 20250909__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.
- {airportsdata-20250811/airportsdata.egg-info → airportsdata-20250909}/PKG-INFO +18 -12
- {airportsdata-20250811 → airportsdata-20250909}/README.rst +17 -11
- {airportsdata-20250811 → airportsdata-20250909}/airportsdata/__init__.py +1 -1
- {airportsdata-20250811 → airportsdata-20250909}/airportsdata/airports.csv +676 -630
- {airportsdata-20250811 → airportsdata-20250909/airportsdata.egg-info}/PKG-INFO +18 -12
- {airportsdata-20250811 → airportsdata-20250909}/LICENSE +0 -0
- {airportsdata-20250811 → airportsdata-20250909}/MANIFEST.in +0 -0
- {airportsdata-20250811 → airportsdata-20250909}/airportsdata/iata_macs.csv +0 -0
- {airportsdata-20250811 → airportsdata-20250909}/airportsdata/py.typed +0 -0
- {airportsdata-20250811 → airportsdata-20250909}/airportsdata.egg-info/SOURCES.txt +0 -0
- {airportsdata-20250811 → airportsdata-20250909}/airportsdata.egg-info/dependency_links.txt +0 -0
- {airportsdata-20250811 → airportsdata-20250909}/airportsdata.egg-info/top_level.txt +0 -0
- {airportsdata-20250811 → airportsdata-20250909}/pyproject.toml +0 -0
- {airportsdata-20250811 → airportsdata-20250909}/requirements.txt +0 -0
- {airportsdata-20250811 → airportsdata-20250909}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: airportsdata
|
|
3
|
-
Version:
|
|
3
|
+
Version: 20250909
|
|
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>
|
|
@@ -56,11 +56,11 @@ Dynamic: license-file
|
|
|
56
56
|
airportsdata |downloads|
|
|
57
57
|
========================
|
|
58
58
|
|
|
59
|
-
.. |ICAO| replace:: 28,
|
|
59
|
+
.. |ICAO| replace:: 28,271
|
|
60
60
|
|
|
61
|
-
.. |IATA| replace:: 7,
|
|
61
|
+
.. |IATA| replace:: 7,859
|
|
62
62
|
|
|
63
|
-
.. |LID| replace:: 12,
|
|
63
|
+
.. |LID| replace:: 12,610
|
|
64
64
|
|
|
65
65
|
.. |pyversion| image:: https://img.shields.io/pypi/v/airportsdata.svg
|
|
66
66
|
:target: https://pypi.org/project/airportsdata/
|
|
@@ -157,35 +157,41 @@ Python
|
|
|
157
157
|
======
|
|
158
158
|
|pyversion| |support| |format| |status| |security| |CI| |coveralls| |issues|
|
|
159
159
|
|
|
160
|
-
Install from `PyPi <https://pypi.org/project/airportsdata/>`__ using
|
|
160
|
+
Install from `PyPi <https://pypi.org/project/airportsdata/>`__ using ``uv`` (recommended):
|
|
161
161
|
|
|
162
162
|
.. code-block:: bash
|
|
163
163
|
|
|
164
|
-
pip install
|
|
164
|
+
uv pip install --update airportsdata
|
|
165
|
+
|
|
166
|
+
Or, using ``pip``:
|
|
167
|
+
|
|
168
|
+
.. code-block:: bash
|
|
169
|
+
|
|
170
|
+
pip install --update airportsdata
|
|
165
171
|
|
|
166
172
|
Once installed, to load the data into a dict:
|
|
167
173
|
|
|
168
174
|
.. code-block:: python
|
|
169
175
|
|
|
170
176
|
import airportsdata
|
|
171
|
-
|
|
172
|
-
print(
|
|
177
|
+
icao_airports = airportsdata.load() # key is the ICAO identifier (the default)
|
|
178
|
+
print(icao_airports['KJFK'])
|
|
173
179
|
|
|
174
180
|
or
|
|
175
181
|
|
|
176
182
|
.. code-block:: python
|
|
177
183
|
|
|
178
184
|
import airportsdata
|
|
179
|
-
|
|
180
|
-
print(
|
|
185
|
+
iata_airports = airportsdata.load('IATA') # key is the IATA location code
|
|
186
|
+
print(iata_airports['JFK'])
|
|
181
187
|
|
|
182
188
|
or
|
|
183
189
|
|
|
184
190
|
.. code-block:: python
|
|
185
191
|
|
|
186
192
|
import airportsdata
|
|
187
|
-
|
|
188
|
-
print(
|
|
193
|
+
lid_airports = airportsdata.load('LID') # key is the FAA LID
|
|
194
|
+
print(lid_airports['01AA'])
|
|
189
195
|
|
|
190
196
|
Older Python versions are supported for 3 years after being obsoleted by a new major release (i.e. about 4 years
|
|
191
197
|
since their original release).
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
airportsdata |downloads|
|
|
3
3
|
========================
|
|
4
4
|
|
|
5
|
-
.. |ICAO| replace:: 28,
|
|
5
|
+
.. |ICAO| replace:: 28,271
|
|
6
6
|
|
|
7
|
-
.. |IATA| replace:: 7,
|
|
7
|
+
.. |IATA| replace:: 7,859
|
|
8
8
|
|
|
9
|
-
.. |LID| replace:: 12,
|
|
9
|
+
.. |LID| replace:: 12,610
|
|
10
10
|
|
|
11
11
|
.. |pyversion| image:: https://img.shields.io/pypi/v/airportsdata.svg
|
|
12
12
|
:target: https://pypi.org/project/airportsdata/
|
|
@@ -103,35 +103,41 @@ Python
|
|
|
103
103
|
======
|
|
104
104
|
|pyversion| |support| |format| |status| |security| |CI| |coveralls| |issues|
|
|
105
105
|
|
|
106
|
-
Install from `PyPi <https://pypi.org/project/airportsdata/>`__ using
|
|
106
|
+
Install from `PyPi <https://pypi.org/project/airportsdata/>`__ using ``uv`` (recommended):
|
|
107
107
|
|
|
108
108
|
.. code-block:: bash
|
|
109
109
|
|
|
110
|
-
pip install
|
|
110
|
+
uv pip install --update airportsdata
|
|
111
|
+
|
|
112
|
+
Or, using ``pip``:
|
|
113
|
+
|
|
114
|
+
.. code-block:: bash
|
|
115
|
+
|
|
116
|
+
pip install --update airportsdata
|
|
111
117
|
|
|
112
118
|
Once installed, to load the data into a dict:
|
|
113
119
|
|
|
114
120
|
.. code-block:: python
|
|
115
121
|
|
|
116
122
|
import airportsdata
|
|
117
|
-
|
|
118
|
-
print(
|
|
123
|
+
icao_airports = airportsdata.load() # key is the ICAO identifier (the default)
|
|
124
|
+
print(icao_airports['KJFK'])
|
|
119
125
|
|
|
120
126
|
or
|
|
121
127
|
|
|
122
128
|
.. code-block:: python
|
|
123
129
|
|
|
124
130
|
import airportsdata
|
|
125
|
-
|
|
126
|
-
print(
|
|
131
|
+
iata_airports = airportsdata.load('IATA') # key is the IATA location code
|
|
132
|
+
print(iata_airports['JFK'])
|
|
127
133
|
|
|
128
134
|
or
|
|
129
135
|
|
|
130
136
|
.. code-block:: python
|
|
131
137
|
|
|
132
138
|
import airportsdata
|
|
133
|
-
|
|
134
|
-
print(
|
|
139
|
+
lid_airports = airportsdata.load('LID') # key is the FAA LID
|
|
140
|
+
print(lid_airports['01AA'])
|
|
135
141
|
|
|
136
142
|
Older Python versions are supported for 3 years after being obsoleted by a new major release (i.e. about 4 years
|
|
137
143
|
since their original release).
|
|
@@ -12,7 +12,7 @@ from typing import Dict, Literal, TypedDict
|
|
|
12
12
|
|
|
13
13
|
__project_name__ = __package__
|
|
14
14
|
__min_python_version__ = (3, 10) # minimum version of Python required to run; supported until October 2025
|
|
15
|
-
__version__ = '
|
|
15
|
+
__version__ = '20250909' # numbering follows the release date
|
|
16
16
|
__author__ = 'Mike Borsetti <mike@borsetti.com>'
|
|
17
17
|
__copyright__ = 'Copyright 2020- Mike Borsetti'
|
|
18
18
|
__license__ = 'MIT'
|