Skip to main content

group of tools for data process

Project description

zeroinger

一些可以加速的python编码的常用轮子

RaceTimer

from zeroinger.time.race_timer import RaceTimer
import time
timer = RaceTimer.create_instance()
time.sleep(1)
print(timer.snapshot())
time.sleep(1)
print(timer.duriation())
timer.reset()
time.sleep(1)
print(timer.duriation())
pass
#--------------------------------
1000
2002
1003

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

zeroinger-0.0.5.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

zeroinger-0.0.5-py3-none-any.whl (9.6 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