Metadata-Version: 2.4
Name: pyflightdata2
Version: 0.9.0
Summary: Get flight data from flightradar24 from within Python code (community-maintained continuation of pyflightdata)
Author-email: Hari Allamraju <anarahari@gmail.com>
Maintainer: Didier Moraine
License: MIT
Project-URL: Homepage, https://github.com/dmoraine/pyflightdata
Project-URL: Repository, https://github.com/dmoraine/pyflightdata
Project-URL: Issues, https://github.com/dmoraine/pyflightdata/issues
Project-URL: Original project, https://github.com/supercoderz/pyflightdata
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENCE.txt
Requires-Dist: requests
Requires-Dist: curl_cffi
Requires-Dist: lxml>=4.4.1
Requires-Dist: beautifulsoup4>=4.8.1
Requires-Dist: jsonpath-rw
Requires-Dist: metar
Requires-Dist: html5lib
Dynamic: license-file

pyflightdata2
=============

[![CI](https://github.com/dmoraine/pyflightdata/actions/workflows/ci.yml/badge.svg)](https://github.com/dmoraine/pyflightdata/actions/workflows/ci.yml)
[![PyPI](https://img.shields.io/pypi/v/pyflightdata2.svg?maxAge=2592000)](https://pypi.org/project/pyflightdata2/)
[![PyPI](https://img.shields.io/pypi/pyversions/pyflightdata2.svg?maxAge=2592000)](https://pypi.org/project/pyflightdata2/)

A simple library to get flight data from flightradar24 from within Python code.

This is a community-maintained continuation of [supercoderz/pyflightdata](https://github.com/supercoderz/pyflightdata),
which has been inactive since 2021. It fixes the Cloudflare 403 errors that broke the
original package (login and data requests were being blocked) and keeps the project
alive with modern packaging and CI. If the original project resumes active maintenance,
please prefer contributing there.

Install
-------

```
pip install pyflightdata2
```

The import name is unchanged, so existing code keeps working:

```python
from pyflightdata import FlightData
```

The test suite calls flightradar24 directly rather than mocking it, so CI runs
are informational: GitHub-hosted runners get Cloudflare-blocked regardless of
code correctness, unrelated to whether the library itself works.

Licence
-------

The code for pyflightdata is licenced under MIT licence, see [LICENCE.txt](LICENCE.txt).

We dont own or store any underlying data, the API simply invokes the providers interfaces and returns the data.

Reporting issues
----------------

Please raise an issue at https://github.com/dmoraine/pyflightdata/issues if you see a data or code issue.
Pull requests are welcome.

Tools using pyflightdata
------------------------

pyflighdtata was started as a small hobby library, but it has found other users who have built interesting apps of their own.
Here is a list of the apps that we know of, if you have any other apps that you want to be listed here then please get in touch with us.

1. IATA arrivals cli - this is a neat and useful script to get the details of an airport in your command line - https://github.com/E3V3A/iata-arrivals-cli
