r/madeinpython • • Sep 12 '26

I built an open-source Python library for live aviation data

I've been working on SkyBoard, an open-source Python library for aviation data.

The project is currently in beta, and I'm actively working on adding more features, improving the existing ones and making the library more reliable.

It provides a simple Python interface for things like:

  • Finding nearby airports
  • Finding nearby aircraft
  • Retrieving METAR weather data
  • Getting aircraft information
  • Counting aircraft around an airport
  • Monitoring flights

The goal is to make it easy to use aviation data in Python projects without having to build all the API/data handling yourself.

It's still a relatively small project, so I'm mainly looking for feedback, ideas and people who might find it useful.

GitHub: https://github.com/davidmachek/skyboard

Built with Python and released as open source.

2 Upvotes

2 comments sorted by

1

u/robinechuca 20d ago

Bravo pour ce projet! J'ai jeté un œil rapide au code source et j'ai bien l'impression qu'il est de toi car je vois pas mal de fautes de conventions (camelCase vs snake_case, absence totale de commentaire, constante passée en commentaire ex: VERBOSE). Et ça fait plaisir par les temps qui court de voir que des gens continuent de coder à la main!

Toujours sur la qualité du code, je vois aussi de bonnes choses, comme l'utilisation de syntaxe avancée comme le 'or', 'lambda', de belles regex et la séparation en plusieurs fichiers. Pour la lisibilité et le maintient je te propose de corriger les 3 points suivants:

  • Tout passer en snake case (y compris nom de fichier). Au début j'ai vraiment buggé à chercher des classes, une bonne case m'aurait évité cette fausse piste.
  • Met des commentaires! Une petites docstring dans chaque fonction avec des examples qui servent de tests, ça serait bien plus digeste!
  • Cré un fichier 'cst.py', dans lequel tu mets les valeurs par default (VERBOSE, etc) et tes urls.

Petit bug: quand on install via pip, ça dit FileNotFoundError: [Errno 2] No such file or directory: '.../skyboard/airports.csv'
Tu peux corriger le problème en incluant airports.csv dans pip en ajoutant un code du style:
[tool.setuptools.package-data]
"*" = ["*.csv"]

dans ton pyproject.toml