mars-time is a program that tells you the current Coordinated Mars Time (CMT). The time is calculated using the algorithm made by NASA for the Mars24 app.
Find the project on GitHub
Usage
python3 mars_time.py
or
python mars_time.py
or as a python module
import mars_time