Giter VIP home page Giter VIP logo

space-station-tracker's Introduction

International Space Station Tracker This Python script tracks the International Space Station (ISS) and sends an email notification when it is near the user's current location and it is currently dark outside. The script uses the requests library to make API requests to retrieve the ISS position and the user's sunrise/sunset times, and the smtplib library to send email notifications.

Usage To run the script, simply run the iss_tracker.py file in your Python environment:

python iss_tracker.py

The script will run continuously and check the user's location and the ISS position every 60 seconds. If the ISS is within +5 or -5 degrees of the user's position and it is currently dark outside, the script will send an email notification to the specified email address.

Files This project consists of the following file:

iss_tracker.py: Contains the code for the ISS tracker script.

Requirements This project requires the following Python libraries:

requests datetime smtplib

You can install these libraries using pip:

pip install requests datetime smtplib

Configuration Before running the script, you need to configure the following variables in the iss_tracker.py file:

MY_LAT: Your latitude MY_LONG: Your longitude my_email: Your email address password: Your email password to_addrs: The email address to send notifications to

License This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments This project was inspired by a challenge from the 100 Days of Code course on Udemy

space-station-tracker's People

Contributors

ceasarnjuguna avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.