Tim232 / Uptimes

Home Page:https://pypi.org/project/uptimes/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uptimes

A small python3 package for uptimes.

How to Install :

Windows

python -m pip install -U uptimes

Linux

python3 -m pip3 install -U uptimes

Usage :

import uptimes
import time

time.sleep(10)
print(uptimes.uptimes())
print(uptimes.raw_uptimes())

Output:

**0** days **0** hours **0** minutes **10** seconds
{"days":0,"hours":0,"minutes":0,"seconds":10}

About

https://pypi.org/project/uptimes/

License:MIT License


Languages

Language:Python 100.0%