Skip to content

Tim232/Uptimes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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}