A radio satellite event tracker.
Project description
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
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 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spaceboi-0.1.1.tar.gz.
File metadata
- Download URL: spaceboi-0.1.1.tar.gz
- Upload date:
- Size: 352.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1463ea408583559fb527c03b305597363fea045c46faa550c34fb93f1ee49f7
|
|
| MD5 |
e54315527eeb1e67fa1d1bae3712f489
|
|
| BLAKE2b-256 |
3a9e2dcd3fb1ebfc547e06406259f7523ce8c05852bf5982ab4f09f635db474d
|
File details
Details for the file spaceboi-0.1.1-py3-none-any.whl.
File metadata
- Download URL: spaceboi-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae124ebf8bc7774f7faa874ae97980bf8be345d8f2b064ead39a200389dc39a6
|
|
| MD5 |
9998585f8d5c1fd545078e39a667f1dd
|
|
| BLAKE2b-256 |
667f259de0b7379f41bb9b70ef64042c4c440ed1b96515d0ae64464d1b31daea
|