Skip to main content

k3time

Action-CI Documentation Status Package

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.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for k3time 0.1.12
File Size Uploaded
k3time-0.1.12.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for k3time 0.1.12
File Interpreter ABI Platform
k3time-0.1.12-py3-none-any.whl Python 3 none any Details

Total release size: 11.8 kB

Release files / k3time-0.1.12.tar.gz

Download URL k3time-0.1.12.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ce3a20aa193ac08f03142271128ea54fb3b24a906a4be0541b078b6dc4dc4341
BLAKE2b-256 checksum
How to use checksums
8e325dbe4468aa5b36ce36db4005d170dd14ef6abf29c4e075aa8d39e403f4c1
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.12-py3-none-any.whl

Download URL k3time-0.1.12-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0ea6164c99e7571e98e1fd44b25e497d67d38f42d991e30dfe7fd5a319414e9
BLAKE2b-256 checksum
How to use checksums
11d728e0a89101aae86f41bc0d027df7d440d3cd3773b89224160f3044eb3808
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release history Release notifications | RSS feed

0.1.14

2 release files

This release

0.1.12 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page