airportsdata 20250706__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-20250706/airportsdata.egg-info → airportsdata-20250909}/PKG-INFO +18 -13
- {airportsdata-20250706 → airportsdata-20250909}/README.rst +17 -11
- {airportsdata-20250706 → airportsdata-20250909}/airportsdata/__init__.py +2 -1
- {airportsdata-20250706 → airportsdata-20250909}/airportsdata/airports.csv +685 -639
- {airportsdata-20250706 → airportsdata-20250909/airportsdata.egg-info}/PKG-INFO +18 -13
- airportsdata-20250909/pyproject.toml +319 -0
- airportsdata-20250706/pyproject.toml +0 -143
- {airportsdata-20250706 → airportsdata-20250909}/LICENSE +0 -0
- {airportsdata-20250706 → airportsdata-20250909}/MANIFEST.in +0 -0
- {airportsdata-20250706 → airportsdata-20250909}/airportsdata/iata_macs.csv +0 -0
- {airportsdata-20250706 → airportsdata-20250909}/airportsdata/py.typed +0 -0
- {airportsdata-20250706 → airportsdata-20250909}/airportsdata.egg-info/SOURCES.txt +0 -0
- {airportsdata-20250706 → airportsdata-20250909}/airportsdata.egg-info/dependency_links.txt +0 -0
- {airportsdata-20250706 → airportsdata-20250909}/airportsdata.egg-info/top_level.txt +0 -0
- {airportsdata-20250706 → airportsdata-20250909}/requirements.txt +0 -0
- {airportsdata-20250706 → 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>
|
|
@@ -37,7 +37,6 @@ Project-URL: Issues, https://github.com/mborsetti/airportsdata/issues
|
|
|
37
37
|
Project-URL: CI, https://github.com/mborsetti/airportsdata/actions
|
|
38
38
|
Keywords: airports,aerodromes,ICAO,IATA
|
|
39
39
|
Classifier: Development Status :: 5 - Production/Stable
|
|
40
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
41
40
|
Classifier: Programming Language :: Python
|
|
42
41
|
Classifier: Programming Language :: Python :: 3
|
|
43
42
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -57,11 +56,11 @@ Dynamic: license-file
|
|
|
57
56
|
airportsdata |downloads|
|
|
58
57
|
========================
|
|
59
58
|
|
|
60
|
-
.. |ICAO| replace:: 28,
|
|
59
|
+
.. |ICAO| replace:: 28,271
|
|
61
60
|
|
|
62
|
-
.. |IATA| replace:: 7,
|
|
61
|
+
.. |IATA| replace:: 7,859
|
|
63
62
|
|
|
64
|
-
.. |LID| replace:: 12,
|
|
63
|
+
.. |LID| replace:: 12,610
|
|
65
64
|
|
|
66
65
|
.. |pyversion| image:: https://img.shields.io/pypi/v/airportsdata.svg
|
|
67
66
|
:target: https://pypi.org/project/airportsdata/
|
|
@@ -158,35 +157,41 @@ Python
|
|
|
158
157
|
======
|
|
159
158
|
|pyversion| |support| |format| |status| |security| |CI| |coveralls| |issues|
|
|
160
159
|
|
|
161
|
-
Install from `PyPi <https://pypi.org/project/airportsdata/>`__ using
|
|
160
|
+
Install from `PyPi <https://pypi.org/project/airportsdata/>`__ using ``uv`` (recommended):
|
|
162
161
|
|
|
163
162
|
.. code-block:: bash
|
|
164
163
|
|
|
165
|
-
pip install
|
|
164
|
+
uv pip install --update airportsdata
|
|
165
|
+
|
|
166
|
+
Or, using ``pip``:
|
|
167
|
+
|
|
168
|
+
.. code-block:: bash
|
|
169
|
+
|
|
170
|
+
pip install --update airportsdata
|
|
166
171
|
|
|
167
172
|
Once installed, to load the data into a dict:
|
|
168
173
|
|
|
169
174
|
.. code-block:: python
|
|
170
175
|
|
|
171
176
|
import airportsdata
|
|
172
|
-
|
|
173
|
-
print(
|
|
177
|
+
icao_airports = airportsdata.load() # key is the ICAO identifier (the default)
|
|
178
|
+
print(icao_airports['KJFK'])
|
|
174
179
|
|
|
175
180
|
or
|
|
176
181
|
|
|
177
182
|
.. code-block:: python
|
|
178
183
|
|
|
179
184
|
import airportsdata
|
|
180
|
-
|
|
181
|
-
print(
|
|
185
|
+
iata_airports = airportsdata.load('IATA') # key is the IATA location code
|
|
186
|
+
print(iata_airports['JFK'])
|
|
182
187
|
|
|
183
188
|
or
|
|
184
189
|
|
|
185
190
|
.. code-block:: python
|
|
186
191
|
|
|
187
192
|
import airportsdata
|
|
188
|
-
|
|
189
|
-
print(
|
|
193
|
+
lid_airports = airportsdata.load('LID') # key is the FAA LID
|
|
194
|
+
print(lid_airports['01AA'])
|
|
190
195
|
|
|
191
196
|
Older Python versions are supported for 3 years after being obsoleted by a new major release (i.e. about 4 years
|
|
192
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).
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Extensive database of location and timezone data for nearly every airport and landing strip in the world.
|
|
5
5
|
"""
|
|
6
|
+
|
|
6
7
|
from __future__ import annotations
|
|
7
8
|
|
|
8
9
|
import csv
|
|
@@ -11,7 +12,7 @@ from typing import Dict, Literal, TypedDict
|
|
|
11
12
|
|
|
12
13
|
__project_name__ = __package__
|
|
13
14
|
__min_python_version__ = (3, 10) # minimum version of Python required to run; supported until October 2025
|
|
14
|
-
__version__ = '
|
|
15
|
+
__version__ = '20250909' # numbering follows the release date
|
|
15
16
|
__author__ = 'Mike Borsetti <mike@borsetti.com>'
|
|
16
17
|
__copyright__ = 'Copyright 2020- Mike Borsetti'
|
|
17
18
|
__license__ = 'MIT'
|