Skip to main content

Tools used by CP

Project description

cptools

我个人写代码过程觉得有用的小工具函数合集

progress

  • download_file(url, session, file_path, overwrite)
    文件下载进度条,requests库的get方法默认是没有进度条的,使用该函数能够弥补这一点,效果如下图

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

cptools-1.1.1.tar.gz (2.4 kB view hashes)

Uploaded Source

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