Skip to main content

A radio satellite event tracker.

Project description

spaceboi

Spaceboi

Spaceboi gives you the sat events. Period.

A simple satellite pass predictor using TLE data from celestrak.org. It can be run in a GUI mode or CLI mode. The GUI mode uses Qt to display the passes in a table, and graph the current events. The CLI mode prints the passes to the console. The passes can also be plotted using the plot mode.

Install

pip install -r requirements.txt

Configuration

Example config.json

{
    "urls": [
        "https://celestrak.org/NORAD/elements/gp.php?GROUP=weather&FORMAT=json",
        "https://celestrak.org/NORAD/elements/gp.php?GROUP=amateur&FORMAT=json",
    ],
    "lat": 40.7128,
    "lon": -74.006,
    "timezone": "America/New_York",
    "filter_enabled": true,
    "satellites": [
        "NOAA 15",
        "NOAA 18",
        "NOAA 19",
        "METEOR-M2 2",
        "METEOR-M2 3",
        "ISS (ZARYA)",
        "GOES 18"
    ],
    "min_alt": 10,
    "hours": 24,
    "mode": "gui",
    "config": "config.json"
}
  • urls: list of urls to fetch TLE data from. For now JSON format is supported
  • lat: latitude of observer
  • lon: longitude of observer
  • timezone: timezone of observer
  • filter_enabled: filter satellites by name
  • satellites: list of satellites for the filter
  • min_alt: minimum altitude to display
  • hours: number of hours ahead to predict
  • mode: the default mode to run the program in
  • config: the path to the config file

Usage

# A gui to view passes
python spaceboi.py --mode gui

# Print the passes
python spaceboi.py --mode cli

# or

# Plot the passes
python spaceboi.py --mode plot

All config options can be used as command line arguments. For example:

python spaceboi.py gui \
--lat 40.7128 --lon -74.006 --timezone "America/New_York" \
--filter_enabled true \
--satellites "NOAA 15" "NOAA 18" "NOAA 19" "METEOR-M2 2" "METEOR-M2 3" "ISS (ZARYA)" "GOES 18" \
--min_alt 10 --hours 24 --config "config.json"

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

spaceboi-0.1.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

spaceboi-0.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file spaceboi-0.1.tar.gz.

File metadata

  • Download URL: spaceboi-0.1.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.12.7

File hashes

Hashes for spaceboi-0.1.tar.gz
Algorithm Hash digest
SHA256 b02d49126c472c642659b17a82a5eeb9a9444f4112447fd7296403de4da6700e
MD5 d98663708f651cdb750a1bef86d3ac2e
BLAKE2b-256 9aa6fdb30a9b882cd6eec2a6bfa37735b669417a9ad59721fb2068e4190d5a67

See more details on using hashes here.

File details

Details for the file spaceboi-0.1-py3-none-any.whl.

File metadata

  • Download URL: spaceboi-0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.12.7

File hashes

Hashes for spaceboi-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 106ac372d02ea874223e9599bd6ea95f824e40aad8edffb6787d5eb703b84844
MD5 bd9b5e2144c508b163dbe1b00438e717
BLAKE2b-256 a5846f1a90d9e2340f3de356ad2b1921c414350fceae25a424e5e9781c025a27

See more details on using hashes here.

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