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.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 --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.2.tar.gz (424.9 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.2-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spaceboi-0.1.2.tar.gz
  • Upload date:
  • Size: 424.9 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.2.tar.gz
Algorithm Hash digest
SHA256 159b94d1dd528ddbe9a4810ce44b0ea4eafbb8fa4a1afeb9a8725af0b27470dd
MD5 5f86a59d7929691da048181c18b22ec5
BLAKE2b-256 b051fe53623ef3a63037f9a7862d0a73c6e502825dea17326a3a55ca9a40192f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spaceboi-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 11.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9ee33eefe40ead34d4122eac2c6e7d7418fc1d0842f581ffd2a4022c9e530a46
MD5 ab281f2589bd6fb1686cf1145ff53c94
BLAKE2b-256 dc952a3e8f9bfe915555479a7a524b8e7ec25f15ee4fe713fe4cdaafecb8fc63

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