Skip to content

Commit

Permalink
Version 20211228.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mborsetti committed Dec 28, 2021
1 parent 7021e7c commit a9e6797
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 12 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ on the UTC date of the release.

`Contributions <https://github.com/mborsetti/airportdata/blob/master/CHANGELOG.rst>`__ always welcomed!

Version 20211228.1
==================
* Added KL52 Oceano County Airport, Oceano, California, United States of America (contributed by
`Michel Vidal-Naquet <https://github.com/micvn>`__ in `#8 <https://github.com/mborsetti/airportsdata/pull/8>`__)

Version 20211228
================
* Added KO69 Petaluma Municipal Airport (contributed upstream by `Michel Vidal-Naquet <https://github.com/micvn>`__ in
`#55 <https://github.com/mwgg/Airports/pull/55>`__)
* Added KO69 Petaluma Municipal Airport, Petaluma, California, United States of America (contributed upstream by
`Michel Vidal-Naquet <https://github.com/micvn>`__ in `#55 <https://github.com/mwgg/Airports/pull/55>`__)

Version 20211030.1
==================
Expand Down
12 changes: 7 additions & 5 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,27 @@ Contributing
|contributors|

.. |contributors| image:: https://img.shields.io/github/contributors/mborsetti/webchanges
:target: https://www.github.com/mborsetti/airportdata
:target: https://github.com/mborsetti/airportsdata/pulls?q=
:alt: contributors

Everyone is encouraged to contribute!

If you can provide a change as a pull request, please do so. If not, please open an issue `here
<https://github.com/mborsetti/airportdata/issues>`__ and someone will look into it.

Please provide as many links to primary sources (e.g. ICAO, national aviation authority, IATA, etc.) as you can to
help out in the verification process. ARINC data (e.g. from https://skyvector.com/airports) is a good source as well.
Please provide a link to a primary source (e.g. ICAO, national aviation authority such as `FAA <https://www.faa
.gov/air_traffic/flight_info/aeronav/aero_data/Airport_Data/>`__, IATA, etc.) to help out the data verification process.
ARINC data (e.g. from `SkyVector <https://skyvector.com/airports>`__) is a good source as well.

P.S. Python contributors can test changes locally with ``tox`` or:
Python contributors can test changes locally with ``tox`` or by running:

.. code-block:: bash
pip install -U airportsdata[testing]
pytest tests/ -v
Thanks to the following for already contributing:
Thanks to the following for having contributed directly to this project:

* `Edward Weymouth <https://github.com/ed42311>`__
* `Michel Vidal-Naquet <https://github.com/micvn>`__
6 changes: 4 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ entries.

Each entry consists of the following data:

* ``icao``: ICAO (or FAA/TD LID prefaced by "K") 4-alphanumeric code
* ``icao``: ICAO 4-alphanumeric code or FAA/TD LID prefaced by "K" (|ICAO| entries)
* ``iata``: IATA 3-letter code (for |IATA| entries) or an empty string
* ``name``: Official name (latin script)
* ``city``: City
Expand All @@ -54,7 +54,7 @@ expected by users.

Known issues:

* 219 aerodromes have IATA codes that are not in the `IATA database;
* 219 aerodromes have IATA codes that are not in the `IATA database
<https://www.iata.org/en/publications/directories/code-search/>`__ and may be incorrect;
* A small, but unknown, number of aerodromes are missing their IATA code (none are major ones);
* Timezone was originally sourced from `TimeZoneDB <https://timezonedb.com>`__ and is missing for Antarctica;
Expand Down Expand Up @@ -88,13 +88,15 @@ Once installed, to load the data into a dict:
import airportsdata
airports = airportsdata.load() # key is ICAO code, the default
print(airports['KJFK'])
or

.. code-block:: python
import airportsdata
airports = airportsdata.load('IATA') # key is IATA code
print(airports['JFK'])
License
=======
Expand Down
4 changes: 2 additions & 2 deletions RELEASE.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
* Added KO69 Petaluma Municipal Airport (contributed upstream by `Michel Vidal-Naquet <https://github.com/micvn>`__ in
`#55 <https://github.com/mwgg/Airports/pull/55>`__)
* Added KL52 Oceano County Airport, Oceano, California, United States of America (contributed by
`Michel Vidal-Naquet <https://github.com/micvn>`__ in `#8 <https://github.com/mborsetti/airportsdata/pull/8>`__)
2 changes: 1 addition & 1 deletion airportsdata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

__project_name__ = __package__
# Release numbering follows the release data
__version__ = '20211228'
__version__ = '20211228.1'
__min_python_version__ = (3, 6)
__author__ = 'Mike Borsetti <mike@borsetti.com>'
__copyright__ = 'Copyright 2020- Mike Borsetti'
Expand Down

0 comments on commit a9e6797

Please sign in to comment.