Skip to main content

Modern, type-safe python library for TLE, OMM et al. handling and orbit propagation to accurately locate your satellites in the sky.

Project description

pypi versions License: MIT satelles/test

Satelles

Modern, type-safe, zero-dependency python library for TLE, OMM et al. handling and orbit propagation to accurately locate your satellites in the sky.

Installation

uv add satelles

or

using your preferred environment / package manager of choice, e.g., poetry, conda or pip:

pip install satelles
poetry add satelles
conda install satelles

Usage

from datetime import datetime, timezone

from satelles import TLE

iss2LE: str = """        
  1 25544U 98067A   20062.59097222  .00016717  00000-0  10270-3 0  9006
  2 25544  51.6442 147.1064 0004607  95.6506 329.8285 15.49249062  2423
"""

tle = TLE(iss2LE)

when = datetime(2021, 5, 15, 0, 0, 0, tzinfo=timezone.utc)

tle.at(when=when)

# Get the Earth Centric Inertial (ECI) coordinate of the satellite at the given time:
eci = tle.eci_coordinate

# Get the Equatorial Coordinate of the satellite at the given time:
equatorial = tle.equatorial_coordinate
...

As the API is fully typed, you can use your IDE's autocompletion to see all the available methods and properties.

We have also provided further usage examples in the examples directory.

Milestones

  • Type-safe modern 3.6+ Python
  • Fully unit tested
  • Simpler API using Pydantic base models for validation
  • Zero-external dependencies (pure Python 3.6+ with no external C/C++ dependencies)
  • Example API usage
  • Fully supported Two-Line Element (TLE) parsing and operations
  • Fully supported Orbital Mean Elements Message (OMM) parsing and operations
  • Fully supported TLE to OMM conversion
  • Fully supported Earth Centric Inertial (ECI) to Equatorial Coordinate System (ECS) conversion
  • Fully supported Earth Centric Inertial (ECI) to Topocentric Coordinate System (TCS) conversion
  • Fully supported SPG4-XP propagation from TLE
  • Fully supported Runge-Kutta 4th order propagation from TLE

License

This project is licensed under the terms of the MIT license.

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

satelles-0.2.0.tar.gz (38.8 kB view details)

Uploaded Source

Built Distribution

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

satelles-0.2.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file satelles-0.2.0.tar.gz.

File metadata

  • Download URL: satelles-0.2.0.tar.gz
  • Upload date:
  • Size: 38.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for satelles-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7ec397266c0af4e952ab2b18e63c77750bfb79ac2e48feacfc7960f6293eefd2
MD5 a762677162d59ca003a2f9b696c058c1
BLAKE2b-256 80a50de84de60c92a00ec559ec6e9cac47ede7d891370973ab3af2cbc7210597

See more details on using hashes here.

Provenance

The following attestation bundles were made for satelles-0.2.0.tar.gz:

Publisher: publish.yml on michealroberts/satelles

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file satelles-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: satelles-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for satelles-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ec7b20658216d6b2e599aed8ebdddb55c9d4438918768af25bfbd5a234729db
MD5 06abd6261e73af37a817cc477e4f35fd
BLAKE2b-256 f0e8670fd7edb500428c5091a6e0903e447bac96e70863245f784a72961d533d

See more details on using hashes here.

Provenance

The following attestation bundles were made for satelles-0.2.0-py3-none-any.whl:

Publisher: publish.yml on michealroberts/satelles

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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