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')

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.9.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

TimeConvert-3.0.9-py2.py3-none-any.whl (15.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: TimeConvert-3.0.9.tar.gz
  • Upload date:
  • Size: 14.4 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.9.tar.gz
Algorithm Hash digest
SHA256 ac4cadf1601a26120c343794891516e3f35c3a5d7c075fd9c99f93808d31afb6
MD5 30f0496c0ea380de583f077dcb9fb71b
BLAKE2b-256 56b06938f8d75d7484971ff572d30098897d8591a24070c112334eebe735193b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: TimeConvert-3.0.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.2 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.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dd362a3993df51561eb0f92d6763cbe54e2455a52e20dbfee6d30a772769f881
MD5 2f1c640909e85efd7941fc5792fd3cac
BLAKE2b-256 1bc17331e5b5acd1ca40131eb30098ba6a44be2c74891a5fa269a9e4ae27d4db

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