Parse milliseconds into a Dictionary
Project description
Parse ms
Parse milliseconds into a Dictionary
Demo
Demo on Repl.it
Screenshot
Install
$ pip install parsems
Usage
from parsems import parseMs
parseMs(2449850001)
"""
{
'days': 28,
'hours': 8,
'minutes': 30,
'seconds': 50,
'milliseconds': 1,
'microseconds': 0,
'nanoseconds': 0
}
"""
Thanks
License
MIT Yoginth
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
parsems-1.0.4.tar.gz
(1.7 kB
view details)
File details
Details for the file parsems-1.0.4.tar.gz
.
File metadata
- Download URL: parsems-1.0.4.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6989e87218b4b69566570ca15e1db823be2b82bd68b99c7e46ca6294f536c433 |
|
MD5 | a59f9391c1c16b69c5fe814299ccccff |
|
BLAKE2b-256 | 8987498dbe383b4b430ea88e72f61bda50fd64bc5fa09aea076405cabf27095a |