Skip to main content

Useful tools makes your life easier.

Project description

A package makes your life easier.

Installation

pip install eztool

For installing on Linux, run this before install

export INSTALL_ON_LINUX=1

Usage

Time now by timezone and format

import eztool

now = eztool.t_now(timezone = "Hongkong", time_fmt = "%d/%m/%Y %H:%M:%S")

print(now)

# output: 20/4/2004 15:20:40

Timer

from eztool.timer import timer

T = timer()

T.start()
# output: eztool [Timer]: Start timing.

### Your Code Here

T.stop()
# output: eztool [Timer]: Consumed 0.054247083000000015 seconds.

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

eztool-0.0.4.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

eztool-0.0.4-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

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