Variable time formats in one package
Project description
timems
Use this package to easily convert various time formats to seconds.
What is it?
from timems import ms
ms('2w') # 1209600
ms('1m') # 60
How to use?
from timems import ms
import asyncio
asyncio.sleep(ms('1h')) # sleeping 3600 sec. / 1h
Formats
m, min, minute, h, ho, hour, d, day, w, week, y, year, mon, month, y, year
Find a Bug?
Report it here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
timems-1.0.0.tar.gz
(2.4 kB
view hashes)
Built Distribution
timems-1.0.0-py3-none-any.whl
(2.6 kB
view hashes)