k3time
Time convertion utils
k3time is a component of pykit3 project: a python3 toolkit set.
Time convertion utils.
>>> parse('2017-01-24T07:51:59.000Z', 'iso')
datetime.datetime(2017, 1, 24, 7, 51, 59)
>>> format_ts(1485216000, 'iso')
'2017-01-24T00:00:00.000Z'
>>> format_ts(1485216000, '%Y-%m-%d')
'2017-01-24'
Install
pip install k3time
Synopsis
>>> parse('2017-01-24T07:51:59.000Z', 'iso')
datetime.datetime(2017, 1, 24, 7, 51, 59)
>>> format_ts(1485216000, 'iso')
'2017-01-24T00:00:00.000Z'
>>> format_ts(1485216000, '%Y-%m-%d')
'2017-01-24'
Author
Zhang Yanpo (张炎泼) drdr.xp@gmail.com
Copyright and License
The MIT License (MIT)
Copyright (c) 2015 Zhang Yanpo (张炎泼) drdr.xp@gmail.com
Metadata
Release files for k3time 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| k3time-0.1.10.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| k3time-0.1.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / k3time-0.1.10.tar.gz
| Download URL | k3time-0.1.10.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0504f6b49246645412eae5635ccef7536db4458701b12cdfd4c323c3c7cec45f
|
|
BLAKE2b-256 checksum How to use checksums |
79f0a28f593e71075689e355a0d5854ef3941f8896223f906d427bba976a8c6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / k3time-0.1.10-py3-none-any.whl
| Download URL | k3time-0.1.10-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01593b4dcc2001e654126d421507551e2906df1d27134267e3390eef4d5b3c00
|
|
BLAKE2b-256 checksum How to use checksums |
d99ae2899db68aca84499d554b15e4ef28b608e02aeacf319c746141769bfc68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|