Skip to main content

A radio satellite event tracker.

Project description

spaceboi

spaceboi

spaceboi gives you the satellite passes. 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

Clone the repo and install the requirements

pip install -r requirements.txt

or

Install from pypi

pip install spaceboi

Configuration

The config file by default is stored in ~/.config/spaceboi/config.json. The GUI settings will automatically be saved to this file. The config file can also be manually specified using the --config option.

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/spaceboi/config.json",
    "tle": "~/.local/share/spaceboi/TLE"
}
  • 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

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

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

python spaceboi.py --mode 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.3.tar.gz (425.3 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.3-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spaceboi-0.1.3.tar.gz
  • Upload date:
  • Size: 425.3 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.3.tar.gz
Algorithm Hash digest
SHA256 f4367cd0df34830d6f95823827971ada39aeda8249c6d7c4d64286e9b0aced4f
MD5 4e67b7532e8d2580493642db59fa7791
BLAKE2b-256 38f19be2302af6162c113cec6e57527328b916280fea8447a5a79b5437bcee69

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spaceboi-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 11.9 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d0c5bf98c034679e785c864f744f5408271862de624e3becbe1df3d166fc4218
MD5 132dcd54d31bd9f49bfb9b7601a2f9e2
BLAKE2b-256 8376d9b361d2622eba196c4a4764276a2f7a17d4b59d35e5eef750d0a3f417a2

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