Skip to main content

Time Convert for Humans™

Project description

TimeConvert

TimeConvert is a simple time convert script(library) for Python, built for human beings.

Gitter

Installation

pip install TimeConvert

Usage

from TimeConvert import TimeConvert as tc

tc.utc_timestamp()

Comparison

Function Points TimeConvert Other
TimeStamp tc.local_timestamp(ms=True) time.time()

Variable

# Default Asia/Shanghai & %Y-%m-%d %H:%M:%S
from TimeConvert import TIME_ZONE, TIME_FORMAT

# Deassign TIME_ZONE & TIME_FORMAT
tc.__init__(timezone='Asia/Shanghai', format='%Y-%m-%d %H:%M:%S')

Reference

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

TimeConvert-3.0.11.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

TimeConvert-3.0.11-py2.py3-none-any.whl (18.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file TimeConvert-3.0.11.tar.gz.

File metadata

  • Download URL: TimeConvert-3.0.11.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.2

File hashes

Hashes for TimeConvert-3.0.11.tar.gz
Algorithm Hash digest
SHA256 74cc9f53c6c85ebc76d0b43d0e51a530923398c2b0a492b089ce3233bcc0697c
MD5 4a07546121e4428cd737884af4fd20f8
BLAKE2b-256 5d9ca4c56530b6933e5335ef1f0640fb21084c7f243eab6edcf86ada45377eec

See more details on using hashes here.

File details

Details for the file TimeConvert-3.0.11-py2.py3-none-any.whl.

File metadata

  • Download URL: TimeConvert-3.0.11-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.2

File hashes

Hashes for TimeConvert-3.0.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dae3289c11263d4d88dde4a52eca28ef0c13246e143411778776948c958f7223
MD5 be75db5e20479fc8d54b617822b397f1
BLAKE2b-256 3f2482c226f0810e7079e55498de4ed3cea8f03fe386bde592475f2d7270d979

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