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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eztool-0.0.4.tar.gz.
File metadata
- Download URL: eztool-0.0.4.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d923f33974e8365fd802389133f2f4930feae9fac6e339166da39a9f6eaec85
|
|
| MD5 |
6a4c5eb307aafba668775aefd124d210
|
|
| BLAKE2b-256 |
dc88c6cd971c127976f5908756f6d26965d1ead77a9d517ac7a3d16ffe06188b
|
File details
Details for the file eztool-0.0.4-py3-none-any.whl.
File metadata
- Download URL: eztool-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
371c0924d6659b37bd5579f3cb3bd44a785311e8b2b7e9b93bafed9bb461cae0
|
|
| MD5 |
bdf318fb690d24da9e56cd6e9b6b36bf
|
|
| BLAKE2b-256 |
432a8dbad499af1bb301e7b7f699d8126e813731b5241fc77ac661733ee10b5f
|