Skip to main content

This project contains many functions that can be used in daily development.

Project description




You can get pyfunctions via pip:

pip install pyfunctions

Clone the source to get the latest version:

$ git clone
$ pip install -r requirements.txt


from pyfunctions import functions
text = functions.url2text('')
>>> '首页 职位大厅 招聘企业 猎头服务 商务服务 我要招人\n\n企业入口  个人登录\n\n\n\n全国 	北京 上海 西安 广州 杭州 深圳 成都 重庆 武汉 南京 天津         ...  
    客服工作时间 : 周一至周五 09:00 - 18:00\n\n投递信息 我的简历 退出系统\n\n'


  • requirements.txt自动加载到setup.py中
  • long description Markdown file render error.
  • fake_useragent.errors.FakeUserAgentError: Maximum amount of retries reached


  1. 发布包使用,修改内容后执行python upload
  2. 发布包遇到错误: bdist_wheel报错
  3. 首次发布失败(包名重复),更正后再次执行遭遇tag already exists,需要删除tag. git tag -d v2018.5.24
  4. pipreqs自动生成项目requirements.txt: pipreqs . --encoding=utf8
  5. response._content
  6. python upload 400 Error. Invalid or non-existent authentication. ~/.pypirc
  7. python upload 400 Error. The description failed to render. long_description

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 pyfunctions, version 2019.
Filename, size File type Python version Upload date Hashes
Filename, size pyfunctions-2019. (5.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pyfunctions-2019. (6.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page