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.14
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.14.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| k3time-0.1.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.4 kB
Release files / k3time-0.1.14.tar.gz
| Download URL | k3time-0.1.14.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38aa8bdbcb6b42f529693b14b168637a49eb149d6bf76729a8079504b249b6a6
|
|
BLAKE2b-256 checksum How to use checksums |
873e8c1d1d8cbd92250d4e319fcb3058aaed7c80f60af4854fe29df0e87bbb08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / k3time-0.1.14-py3-none-any.whl
| Download URL | k3time-0.1.14-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9b2bb776741d441af03ba383f8ee10d5f4336ac0472c238dfbf658936291189
|
|
BLAKE2b-256 checksum How to use checksums |
95c298e85e1cb184fc53a9eddc04ae9c20c892f642811b5e0f985654a2e57a97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|