Skip to main content

Time convertion utils

Project description

k3time

Build Status Documentation Status Package

Time convertion utils

k3time is a component of pykit3 project: a python3 toolkit set.

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

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

k3time-0.1.5.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

k3time-0.1.5-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file k3time-0.1.5.tar.gz.

File metadata

  • Download URL: k3time-0.1.5.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for k3time-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5bdedbf9d8e92961ccc88a622834a3e2bdb120467369443538e0634b650be7ec
MD5 2b33ce0f8868b775b72028f37bb2ab09
BLAKE2b-256 9f9f7d6ea813856e3b43f28f2f3ab9877f29d7e6403a6d6e6fa33cf8576eab91

See more details on using hashes here.

File details

Details for the file k3time-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: k3time-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for k3time-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 717aeb4d240f444d00c0cfa0a2effc0bc2e52bba443a59a6e417311a2016e102
MD5 bf5df4dab75c67a34feb67f2e39d80b6
BLAKE2b-256 a51db7e055f31e189a1271c82c1beb1dfd87a0d4b7c58012e6a5ff7e03952ba5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page