Skip to main content

pyflightdata2

CI PyPI PyPI

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.

  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

Metadata

Release files for pyflightdata2 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyflightdata2 0.9.0
File Size Uploaded Provenance Actions
pyflightdata2-0.9.0.tar.gz 15.8 kB With provenance Details for pyflightdata2-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyflightdata2 0.9.0
File Interpreter ABI Platform Actions
pyflightdata2-0.9.0-py3-none-any.whl Python 3 none any Details for pyflightdata2-0.9.0-py3-none-any.whl

Total release size: 38.5 kB

Release files / pyflightdata2-0.9.0.tar.gz

Download URL pyflightdata2-0.9.0.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
30bf4383c63c216434f6b8410529388350e5b8879635991b2512f3c798dab7b7
BLAKE2b-256 checksum
How to use checksums
07a5b76daa67a325b999d6218569fc91be294a9592992764fdf9e7cc355f490b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release files / pyflightdata2-0.9.0-py3-none-any.whl

Download URL pyflightdata2-0.9.0-py3-none-any.whl
Size 22.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6b7d37fad47b0ce8d5d294dcc87ea90aad1f9541b481eb8b3ad64f10dbb37d2
BLAKE2b-256 checksum
How to use checksums
9d8caf63fe6db150a2dbbcd50efd5f72e6e7e47f10ff1b675b07025a8f07d1fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Security for pyflightdata2 0.9.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyflightdata2-0.9.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page