Get flight data from flightradar24 from within Python code (community-maintained continuation of pyflightdata)
Project description
pyflightdata2
A simple library to get flight data from flightradar24 from within Python code.
This is a community-maintained continuation of 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:
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.
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.
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyflightdata2-0.9.0.tar.gz.
File metadata
- Download URL: pyflightdata2-0.9.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30bf4383c63c216434f6b8410529388350e5b8879635991b2512f3c798dab7b7
|
|
| MD5 |
bcc9f15c41ff4f4e1857473d7d1931d9
|
|
| BLAKE2b-256 |
07a5b76daa67a325b999d6218569fc91be294a9592992764fdf9e7cc355f490b
|
Provenance
The following attestation bundles were made for pyflightdata2-0.9.0.tar.gz:
Publisher:
ci.yml on dmoraine/pyflightdata
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyflightdata2-0.9.0.tar.gz -
Subject digest:
30bf4383c63c216434f6b8410529388350e5b8879635991b2512f3c798dab7b7 - Sigstore transparency entry: 2236893962
- Sigstore integration time:
-
Permalink:
dmoraine/pyflightdata@ec476933b796429bf055c3a68afba6d0562b32d6 -
Branch / Tag:
refs/tags/v0.9.0 - Owner: https://github.com/dmoraine
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@ec476933b796429bf055c3a68afba6d0562b32d6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyflightdata2-0.9.0-py3-none-any.whl.
File metadata
- Download URL: pyflightdata2-0.9.0-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6b7d37fad47b0ce8d5d294dcc87ea90aad1f9541b481eb8b3ad64f10dbb37d2
|
|
| MD5 |
153b7633d3c618aaafd2fc1fc0fabeeb
|
|
| BLAKE2b-256 |
9d8caf63fe6db150a2dbbcd50efd5f72e6e7e47f10ff1b675b07025a8f07d1fa
|
Provenance
The following attestation bundles were made for pyflightdata2-0.9.0-py3-none-any.whl:
Publisher:
ci.yml on dmoraine/pyflightdata
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyflightdata2-0.9.0-py3-none-any.whl -
Subject digest:
c6b7d37fad47b0ce8d5d294dcc87ea90aad1f9541b481eb8b3ad64f10dbb37d2 - Sigstore transparency entry: 2236894424
- Sigstore integration time:
-
Permalink:
dmoraine/pyflightdata@ec476933b796429bf055c3a68afba6d0562b32d6 -
Branch / Tag:
refs/tags/v0.9.0 - Owner: https://github.com/dmoraine
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@ec476933b796429bf055c3a68afba6d0562b32d6 -
Trigger Event:
release
-
Statement type: