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.

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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page