Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

猪猪的wheel

Project description

pig

This is a simple package named 'pig'. You can see 猪猪的主页 to write your content.

安装

pip3 install piger

使用

函数从运行开始到结束用了多长时间

from piger.timecost import tc
@tc
def func():
    print('func开始')
    a=1
    print('func结束')

func()

结果

func开始
func结束
函数 func 耗时 0.000126 秒

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for piger, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size piger-0.1.1-py3-none-any.whl (2.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size piger-0.1.1.tar.gz (1.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page