Skip to main content

Get flight data from flightradar24 from within Python code (community-maintained continuation of pyflightdata)

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyflightdata2-0.9.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyflightdata2-0.9.0-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

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

Hashes for pyflightdata2-0.9.0.tar.gz
Algorithm Hash digest
SHA256 30bf4383c63c216434f6b8410529388350e5b8879635991b2512f3c798dab7b7
MD5 bcc9f15c41ff4f4e1857473d7d1931d9
BLAKE2b-256 07a5b76daa67a325b999d6218569fc91be294a9592992764fdf9e7cc355f490b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyflightdata2-0.9.0.tar.gz:

Publisher: ci.yml on dmoraine/pyflightdata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for pyflightdata2-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6b7d37fad47b0ce8d5d294dcc87ea90aad1f9541b481eb8b3ad64f10dbb37d2
MD5 153b7633d3c618aaafd2fc1fc0fabeeb
BLAKE2b-256 9d8caf63fe6db150a2dbbcd50efd5f72e6e7e47f10ff1b675b07025a8f07d1fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyflightdata2-0.9.0-py3-none-any.whl:

Publisher: ci.yml on dmoraine/pyflightdata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page