Activity

TGA25

Shipped this project!

Hours: 7.65
Cookies: 🍪 105
Multiplier: 13.73 cookies/hr

Shippppppping!!!! So, the hardest part of the project was definitely reverse engineering the raw vector data from a hidden Google Cloud text file used by the official Artemis website, but I still figured it out. The the math and logic to translate those vectors into metric units went smoother. I’m really proud that it actually works as an OBS source for anyone who wants to track the mission in a cool way!

TGA25

Hey! This is the first and only devlog of the projet, I’m really sorry but I did not think of submitting the projet to flavortown thats why I did not write one before. Anyway lets explain what the projet is and how it works!

The idea of the project came because I went to the NASA ARTEMIS II ARROW website (https://www.nasa.gov/missions/artemis-ii/arow/) and noticed all the telemetry was using imperial units (which I dont use), so I tried to find a way of scrapping the data to then convert it in metric unit.
.
.
What I tried:
Scraping the website directly was not possible because it’s a Unity 3D space and loading this on my servers was just blowing the ram. Even though it sometimes worked, it wasnt reliable. I also tried scrapping the accessibility page from the website, but I ran into the same issues and it was just too complicated. Finally, I decided to find the actual data source and use it directly. That worked! It fetches the same data as the official website and then does a bunch of math to make it usable.
.
.
Why so many hours for such a “small” project ?:
Well first of all the project can seem “small” but it isn’t really. I got to configure the server, configure the API and the most important: decode the raw data into usable data. Spending 7 hours on this was necessary because I wasn’t just building a UI, I was building a translator for NASA’s internal telemetry.
.
.
Where does the data come from ?:
When you load the official websites, it fetches everything it needs from a .txt file hosted on google cloud. That file is what I need to get the data. BUT I ran into an issue: the data isn’t stored as plain clear text. It’s actually a bunch of values which appear to be vectors, and that’s when maths come in. I had to guess which vector was wat and then do a bunch of math to “translate” all of those vectors into speed, time, etc. That was by far the hardest part, and though I used Claude to help me understand the logic, I still had a few issues getting everything to align perfectly.
.
.
How does it works ?:
Well once we have all the data we can create a webpage (using HTML, JS and CSS), create a Python backend using FastAPI and create a main file to handled the connections using WebSocket. Once everything is done you can connect to the page, either in your browser or directly using an OBS Browser Source. If you read till here, wow you are really and awsome person :)
.
.
Thanks for reading, I know making a single devlog is not ideal and I’m really sorry for that, but anyway, stay tuned!

Attachment
Attachment
Attachment
Attachment
0
TGA25

Shipped this project!

Hours: 12.25
Cookies: 🍪 222
Multiplier: 18.14 cookies/hr

I built PyBelugaXL, my first Python library, which lets you track Airbus BelugaXL flights in real time using the the FlightRadar24 API.

For those who don’t know, the Airbus BelugaXL planes are huuuge cargo aircrafts used by Airbus (aircraft manufacturer) to transport parts between its factories across Europe.

The idea came from wanting to know when a BelugaXL plane would fly over me so I could take a picture of it (cuz they’r cute you know..). That is how the project started.

What I’m most proud of is actually that it works in real time and feels quite clean and easy to use.
It’s a small project but I learned a lot about working with external data sources and packaging Python libraries.
Thanks for reading 🐳

TGA25

Hello again! Last devlog here
I’v finished writing the docs and it’s live at https://tga25dev.github.io/pybelugaxl/. I’v used MkDocs Material which is a very nice way of creating easy and quick documentations that are fully written in markdown!
The is hosted on Github Pages, so it was quite quick to deploy (though I add a few issues wich code formatting not formatting…)
Anyway it was a fun project to make and I hope you’ll like it. Thanks for reading!

Attachment
0
TGA25

Hey!
I’v worked a little on the projet again to add custom Python exceptions using classes. It’s not a lot but I wanted to add them as it’s the first time I write and publish a lib. Anyway I’v also refactored some code structure, testes some new things and I’m planning to write the doc asap.
Seeya

Attachment
0
TGA25

Hello again!
Today I’v finished the get_fleet_data function. Basically this function reads static data from a JSON file and returns it. You can of course filter it by registration number.
Moreover I’v also added a demo flag for the main get_beluga function allowing you to get dummy data for demo purposes or when there are no belugas flying for example.
For now I think I’ll focus on writing a nice documentation rather than adding features. Stay tuned!

Attachment
0
TGA25

Hey!
Today I’v added a new function to get pictures of the BelugaXL planes. You can filter by registration and also set a return limit, if you don’t provide a registration number don’t worry as it will randomly pick one for you.
The pictures are from the website JetPhotos.com and I’v used a nice api that I found on github to fetch them.
See you later for a new devlog!

Attachment
0
TGA25

In this version I’v fixed some bugs but I’v mainly added new things. First a function to get the current status of the fleet and also a json file with static data about all the Beluga aircrafts (it took me a long time to gather the information and decide how to structurate the json). Anyway thanks for reading!

Attachment
0
TGA25

Hey ! This is the first devlog of the projet. I only do it now because I started the project before thinking about uploading it on flavortown.
Anyway, with this version you can get data for all the Beluga flights, filter by destination, registration number etc etc..
And also know if there’s a specific Beluga in a given zone.
Everything was made in Python and the module is available for you to install on Pypi.
Enjoy!

Attachment
Attachment
0