Skip to main content
Ctrl+K

SkyTracker documentation

  • Home
  • Getting started
  • API reference
  • GitHub
  • Home
  • Getting started
  • API reference
  • GitHub

Table of Contents

  • Home
  • Getting started
  • API reference

Links

  • GitHub
  • SkyTracker API
  • skytracker
  • skytracker.utils
  • skytracker.utils.conversions

skytracker.utils.conversions#

Conversion utilities

Functions

country_code_to_country_name(country_code)

Get the country name from a ISO 3166-1 A-2 country code

country_name_to_country_code(country_name)

Get the ISO 3166-1 A-2 country code from a country name

datetime_ago_from_time_string(time_string)

Get the date and time which is a specified amount of time ago

time_string_to_seconds(time_string)

Convert a time string to number of seconds

© Copyright 2025, Jasper Jeuken.

Built with the PyData Sphinx Theme 0.16.1.