Skip to main content

猪猪的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.

Source Distribution

piger-0.1.1.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

piger-0.1.1-py3-none-any.whl (2.2 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