{"id":15903769,"url":"https://github.com/e3v3a/iata-arrivals-cli","last_synced_at":"2025-03-20T20:31:01.407Z","repository":{"id":62570096,"uuid":"159518078","full_name":"E3V3A/iata-arrivals-cli","owner":"E3V3A","description":"Get airport arrivals, departures, details and METAR weather info from CLI","archived":false,"fork":false,"pushed_at":"2022-01-21T23:37:13.000Z","size":118,"stargazers_count":20,"open_issues_count":4,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-01T00:41:38.248Z","etag":null,"topics":["airport","arrivals","cli","departures","flights","iata","icao","metar","package","pip"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/E3V3A.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-28T14:52:37.000Z","updated_at":"2024-09-17T21:51:08.000Z","dependencies_parsed_at":"2022-11-03T17:15:39.195Z","dependency_job_id":null,"html_url":"https://github.com/E3V3A/iata-arrivals-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E3V3A%2Fiata-arrivals-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E3V3A%2Fiata-arrivals-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E3V3A%2Fiata-arrivals-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E3V3A%2Fiata-arrivals-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/E3V3A","download_url":"https://codeload.github.com/E3V3A/iata-arrivals-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244084150,"owners_count":20395514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airport","arrivals","cli","departures","flights","iata","icao","metar","package","pip"],"created_at":"2024-10-06T12:04:09.474Z","updated_at":"2025-03-20T20:31:01.078Z","avatar_url":"https://github.com/E3V3A.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### The IATA Arrivals CLI (Command Line Interface)\n\n[![pypi supported versions][1]][2]\n[![PyPI version][3]][4]\n[![Maintenance][5]][6]\n[![GitHub last commit][7]][8]\n[![Average time to resolve an issue][9]][10]\n\n[1]: https://img.shields.io/pypi/pyversions/iata-arrivals-cli.svg\n[2]: https://pypi.python.org/pypi/iata-arrivals-cli\n[3]: https://badge.fury.io/py/iata-arrivals-cli.svg\n[4]: https://badge.fury.io/py/iata-arrivals-cli\n[5]: https://img.shields.io/badge/Maintained%3F-yes-green.svg\n[6]: https://GitHub.com/E3V3A/iata-arrivals-cli/graphs/commit-activity\n[7]: https://img.shields.io/github/last-commit/E3V3A/iata-arrivals-cli.svg\n[8]: https://github.com/E3V3A/iata-arrivals-cli/commits/master \"Last commits to Master branch\"\n[9]: http://isitmaintained.com/badge/resolution/E3V3A/iata-arrivals-cli.svg\n[10]: http://isitmaintained.com//project/E3V3A/iata-arrivals-cli \"Average time to resolve an issue\"\n\n[13]: https://api.codacy.com/project/badge/Grade/176ceaabe43d4113b535f2fbd0487a9e\n[14]: https://www.codacy.com/app/E3V3A/iata-arrivals-cli?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=E3V3A/iata-arrivals-cli\u0026amp;utm_campaign=Badge_Grade\n\n\nA simple tool to show dapartures, arrivals and various airport information given an IATA code or country name.\n\n| STATUS: | Version | Date | Maintained? |\n|:------- |:------- |:---- |:----------- |\n| Working | `1.0.2` | 2022-01-21 | YES |\n\n\n**Example Output:**\n\n![Full](./docs/screenshot_arrivals.png)  \n\u003csub\u003e(FFS always include a screenshot in your GitHub repo!)\u003c/sub\u003e\n\n#### Repo Description\n\nThis is a repository of various *Python3* and (eventually) *Node.js* tools that can be \nused to obtain various flight information from airports around the globe. The tools \nhere depend on both some open source libraries and some provider API's. However, most \nlikely the functionality of this can easily be broken as the services are private and \nthe tools often depend on various forms of web scraping and API hacking.\n\n\n---\n\n**Q:** *What does **`arrivals`** do?*\n\n`arrivals` is a *Python3* script that display current arrivals and departures given an \nairport [IATA](https://en.wikipedia.org/wiki/IATA_airport_code) code. However, it can also show \nadditional airport and weather information. These include items such as:\n\n- The official *IATA* full/long *Name* of the airport\n- The IATA and [ICAO](https://en.wikipedia.org/wiki/ICAO_airport_code) airport codes\n- The *`Lat/Lon`* GPS coordinates with *map* `URL`\n- The Airport *website* `URL`\n- The current weather info such as:  \n  *`Nav, Sky, Visibility, Temperature, Pressure, Wind Speed/Direction, Humidity`* etc.\n- The Airport's current *`METAR`* info\n- The ICAO code and IATA names of most officially listed airports for a given country name.\n- The most recent and scheduled *non-stop* flights between 2 given airports.\n\n\n**Q:** *What does it **not** do?*\n\n- show detailed flight info\n- show aircraft or carrier info\n- show aiport info for airports not connected to the international  \n  air traffic controller (ATC) network or internet.\n- it may not show the very latest METAR data (depending on Airport availability)\n\n\n---\n\n#### Screenshots! \n\n\n![Full](./docs/screenshot_airports.png \"List most airports for a country\")\n![Full](./docs/screenshot_departures1.png \"List current Departures for an airport\")\n![Full](./docs/screenshot_info.png \"List airport info for an airport\")\n\n\n### Dependencies\n\nThis package depend on the API library [pyflightdata](https://github.com/supercoderz/pyflightdata), \nwhich is used to collect all the relevant data from the `FlightRadar24` site. However, that library \nin turn depend on: \n\n- *`beautifulsoup4, jsonpath-rw, lxml, metar, requests, ply, decorator, html5lib, webencodings`*\n\nIt is also recommended to install *`lxml`* **before**, you install *pyflightdata*, \nbecause that dependency often require extra source compiling, which is prone to \nadditional dependency errors. \n\n\n### Installation\n\nFor pip install:\n\n```bash\npip install iata-arrivals-cli\n```\n\nFor manual/development install:\n\n0. First install all dependencies from above\n1. Then install `pyflightdata`\n2. Then clone this repository\n3. Then install it in your bin path at your convenience\n\nIn other words you can do this:\n\n```bash\n# pip install \u003cdependencies-from-above\u003e\npip install pyflightdata\ngit clone https://github.com/E3V3A/iata-arrivals-cli.git\ncd iata-arrivals-cli\n#pip install iata-arrivals-cli\n```\n\n\n### Usage\n\n```\n$ arrivals -h\n\n Usage:  arrivals [options] \u003cairport-IATA-code\u003e\n\n Options:\n        -d \u003cairport-iata\u003e    -- Show Departures instead of Arrivals (default)\n        -n \u003cn\u003e               -- Only show next \u003cn\u003e number of flights\n        -i \u003cairport-iata\u003e    -- Show information about an Airport given its IATA code [Country, Lat/Lon, TZ]\n        -j \u003c1,2\u003e             -- Enable debug mode at level 1 or 2 to print the full JSON response\n        -l \u003ccountry-name\u003e    -- List all available airport IATA codes for a country given by \u003ccountry-name\u003e\n        -m \u003cairport-iata\u003e    -- Get last hour's METAR data for an airport given by its IATA \u003cairport-code\u003e\n        -x \u003ciata-1\u003e \u003ciata-2\u003e -- Show direct fligths between 2 airports given by their \u003ciata\u003e codes\n        -c                   -- Print Copyright License and maintenance URL.\n        -v                   -- Print program Version\n        -h, --help           -- Print this help\n\n\n --- IMPORTANT! -----------------------------------------------\n   • All times shown are in the timezone of your computer!\n   • Do not attempt to run these queries in rapid succession,\n     as your IP might get blocked by the API providers.\n --------------------------------------------------------------\n```\n\n---\n\n### Development\n \nFeel free to send a PR in case you have some improvements.\n\n\n### Related Projects\n\n- [pyflightdata](https://github.com/supercoderz/pyflightdata)\n- [flightradar24](https://github.com/mkorkmaz/flightradar24)\n- [MMM-aviationwx](https://github.com/dam3313/MMM-aviationwx/) - A [MagicMirror](https://github.com/MichMich/MagicMirror) METAR module \n- [MMM-FlightsAbove](https://github.com/E3V3A/MMM-FlightsAbove) - A MagicMirror Module for displaying current flights in the sky above you!\n- Do you know of - or have any others? (Post it in an new issue.)\n\n#### Even more...\n\n- https://github.com/jhermsmeier/node-flight-designator\n- https://github.com/ram-nadella/airport-codes\n- https://github.com/jpatokal/openflights\n- https://github.com/derhuerst/flightradar24-client\n- https://github.com/iatacodes/nodejs-sdk\n- https://github.com/Otetz/iata_codes\n- https://github.com/msgrasser/iata-parser\n- https://github.com/leopieters/aviation-edge-api\n- https://github.com/marians/py-icao-aircrft\n\n[and so on...](https://github.com/search?p=13\u0026q=iata\u0026type=Repositories\u0026utf8=%E2%9C%93)\n\n\n### Related Services Used\n\n1. http://pyflightdata.readthedocs.io/en/latest/pyflightdata.html\n2. https://www.latlong.net/\n3. https://aviationweather.gov/\n4. `http://services.faa.gov/airport/status/\u003cIATA_CODE\u003e?format=application/json`\n5. http://www.fly.faa.gov/flyfaa/usmap.jsp\n\n---\n\n### License\n\n\n![GPLv3 Logo](https://www.gnu.org/graphics/gplv3-88x31.png \"I use `GPLv3` because sharing code modifications is more beneficial for the world.\")  \n[![GitHub license][21]][22]  \nA license to :sparkling_heart:!\n\n\u003csub\u003eI use `GPLv3` because sharing code modifications is more beneficial for the world.\u003c/sub\u003e\n\n[21]: https://img.shields.io/github/license/E3V3A/iata-arrivals-cli.svg\n[22]: https://github.com/E3V3A/iata-arrivals-cli/blob/master/LICENSE.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe3v3a%2Fiata-arrivals-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe3v3a%2Fiata-arrivals-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe3v3a%2Fiata-arrivals-cli/lists"}