Watch the International Space Station fly across the Earth in real-time
Built with pure Python using Turtle graphics + NASA data.
- Live ISS Tracking – Updates every 5 seconds
- Beautiful World Map Background – Realistic Earth view
- Interactive Turtle Graphics – ISS icon moves smoothly across the globe
- Real NASA Data – Powered by the official Open Notify API (
api.open-notify.org) - Zero external dependencies – Uses only Python standard library
- Educational & Fun – Perfect for learning APIs, JSON, and graphics
The ISS icon (yellow/orange) moves across the world map in real-time.
- The program opens a full-screen Turtle window with a world map.
- It continuously calls the NASA-backed Open Notify API to get the current latitude & longitude of the ISS.
- The ISS icon is moved to the new coordinates on the map.
- Repeats every 5 seconds.
git clone https://github.com/alisulmanpro/Python-Nasa-Project.git
cd Python-Nasa-Projectpython main.pyThat's it! No installation of extra packages required.
Note: Make sure both
world-map.gifandiss-icon.gifare in the same folder asmain.py.
- Python 3
turtle– Graphicsurllib.request– API callsjson– Data parsingtime– Refresh interval
Data is fetched from:
http://api.open-notify.org/iss-now.json (Public NASA/Open Notify API)
Contributions are welcome! Feel free to:
- Add more NASA features (Astronauts in space, Meteor showers, etc.)
- Improve the map or add night/day mode
- Create a GUI version with Tkinter or Pygame
Just open a Pull Request!
This project is open-source and available under the MIT License.
Made with ❤️ by Ali Sulman
Exploring space one line of Python at a time! 🚀
