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.4.tar.gz (352.7 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.4-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spaceboi-0.1.4.tar.gz
  • Upload date:
  • Size: 352.7 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.4.tar.gz
Algorithm Hash digest
SHA256 a84331ec29dbaeaf1749ba7353bcdbe5b402768b3ddb5488e21c9fed615b0ead
MD5 7942abe29f39f764753e4b9827ef3ca8
BLAKE2b-256 aac982a467e5e21aa10a012f300b9531c6a95f3cb9d93ad9ea8e184463b85581

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spaceboi-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 12.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c0a45ecb9d199e677176c8d8981ea281233d51d8e0b101c64111603ea23283e1
MD5 956ca3c7cb88450a1136ac47bb5279fe
BLAKE2b-256 c8b630b54f5a7490a92101790f11210a32c8bb466f4a8e16b9634dd29ca17a7d

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