{ "info": { "author": "zz", "author_email": "zzwcng@126.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6" ], "description": "\n# pyfunctions\n\u5e38\u7528\u51fd\u6570\u7684\u5c01\u88c5,\u5305\u62ec\u4e0d\u9650\u4e8epython\u722c\u866b\u7684\u8bf7\u6c42\u3001\u89e3\u6790\u7b49\n\n\n\n## Installation\n\nYou can get `pyfunctions` via pip:\n```\npip install pyfunctions\n```\n\nClone the source to get the latest version:\n```bash\n$ git clone https://github.com/broholens/pyfunctions.git\n$ pip install -r requirements.txt\n```\n\n## Quickstart\n\n ```python\n from pyfunctions import functions\n text = functions.url2text('http://www.mogojob.com/')\n ``` \n ```bash\n >>> '\u9996\u9875 \u804c\u4f4d\u5927\u5385 \u62db\u8058\u4f01\u4e1a \u730e\u5934\u670d\u52a1 \u5546\u52a1\u670d\u52a1 \u6211\u8981\u62db\u4eba\\n\\n\u4f01\u4e1a\u5165\u53e3 \u4e2a\u4eba\u767b\u5f55\\n\\n\\n\\n\u5168\u56fd \t\u5317\u4eac \u4e0a\u6d77 \u897f\u5b89 \u5e7f\u5dde \u676d\u5dde \u6df1\u5733 \u6210\u90fd \u91cd\u5e86 \u6b66\u6c49 \u5357\u4eac \u5929\u6d25 ... \n \u5ba2\u670d\u5de5\u4f5c\u65f6\u95f4 : \u5468\u4e00\u81f3\u5468\u4e94 09:00 - 18:00\\n\\n\u6295\u9012\u4fe1\u606f \u6211\u7684\u7b80\u5386 \u9000\u51fa\u7cfb\u7edf\\n\\n'\n ```\n\n## TODO\n\n- ~~requirements.txt\u81ea\u52a8\u52a0\u8f7d\u5230setup.py\u4e2d~~\n- long description Markdown file render error.\n- fake_useragent.errors.FakeUserAgentError: Maximum amount of retries reached\n\n## \u5f00\u53d1\u5c0f\u8bb0\n\n1. \u53d1\u5e03\u5305\u4f7f\u7528[setup.py][1],\u4fee\u6539\u5185\u5bb9\u540e\u6267\u884c`python setup.py upload`\n2. \u53d1\u5e03\u5305\u9047\u5230\u9519\u8bef: [bdist_wheel\u62a5\u9519][2]\n3. \u9996\u6b21\u53d1\u5e03\u5931\u8d25(\u5305\u540d\u91cd\u590d),\u66f4\u6b63\u540e\u518d\u6b21\u6267\u884c\u906d\u9047`tag already exists`,\u9700\u8981\u5220\u9664tag. `git tag -d v2018.5.24`\n4. `pipreqs`\u81ea\u52a8\u751f\u6210\u9879\u76ee`requirements.txt`: `pipreqs . --encoding=utf8`\n5. `response._content`\n6. `python setup.py upload` [400 Error. Invalid or non-existent authentication.][3] ~/.pypirc\n7. `python setup.py upload` [400 Error. The description failed to render.][3] long_description\n\n[1]: https://github.com/kennethreitz/setup.py\n[2]: https://yq.aliyun.com/articles/644640\n[3]: http://www.zhimengzhe.com/bianchengjiaocheng/qitabiancheng/243040.html\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/broholens/pyfunctions", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyfunctions", "package_url": "https://pypi.org/project/pyfunctions/", "platform": "", "project_url": "https://pypi.org/project/pyfunctions/", "project_urls": { "Homepage": "https://github.com/broholens/pyfunctions" }, "release_url": "https://pypi.org/project/pyfunctions/2019.6.4.17.21.39/", "requires_dist": [ "chardet (==3.0.4)", "requests (==2.21.0)", "html2text (==2018.1.9)", "w3lib (==1.20.0)", "lxml (==4.3.3)", "fake-useragent (==0.1.11)", "selenium (==3.141.0)" ], "requires_python": ">=3.6.0", "summary": "This project contains many functions that can be used in daily development.", "version": "2019.6.4.17.21.39" }, "last_serial": 5356438, "releases": { "2019.5.24": [ { "comment_text": "", "digests": { "md5": "4a0731f6721961a15a14269acd034521", "sha256": "ab7a000df930cfa88955b59b2221e469970c08bb3c0c9bdfc7f3882d18900701" }, "downloads": -1, "filename": "pyfunctions-2019.5.24-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4a0731f6721961a15a14269acd034521", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 4104, "upload_time": "2019-05-24T02:17:37", "url": "https://files.pythonhosted.org/packages/5f/bb/2260095dcef010598d2bd5e05e55210e2a671ff3f3b963d59fd5161f711c/pyfunctions-2019.5.24-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a83d9e2cadff9b6445394531792bc8be", "sha256": "422c746c40c1d4c6b0ae1262e029a565ea5fda91df2c766c1d6d2a36044fdbea" }, "downloads": -1, "filename": "pyfunctions-2019.5.24.tar.gz", "has_sig": false, "md5_digest": "a83d9e2cadff9b6445394531792bc8be", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4950, "upload_time": "2019-05-24T02:17:39", "url": "https://files.pythonhosted.org/packages/a9/e8/da4be53975113d7ec0c942bfbefea56c3dc6bb628b6c703c20f5f7f63158/pyfunctions-2019.5.24.tar.gz" } ], "2019.5.24.21.52.17": [ { "comment_text": "", "digests": { "md5": "6134d7e085410bb818740c06d8b6dfd6", "sha256": "b8e7bae4c4047afbf58513c0abe7acf1dc02db0af9a823b44ec08abe97b41293" }, "downloads": -1, "filename": "pyfunctions-2019.5.24.21.52.17-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6134d7e085410bb818740c06d8b6dfd6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 4620, "upload_time": "2019-05-24T13:52:28", "url": "https://files.pythonhosted.org/packages/cd/7d/0b89e168e6dfb9ce9e6f36a0b0b7859da5adb0572d8cc46cad91de5ae1da/pyfunctions-2019.5.24.21.52.17-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bcfedef17fd26a6bb319dedbcae2c343", "sha256": "2504056cdbd7dceaaa3fefc06b02a952d58c736b6e8582a952d71f0ca0800c58" }, "downloads": -1, "filename": "pyfunctions-2019.5.24.21.52.17.tar.gz", "has_sig": false, "md5_digest": "bcfedef17fd26a6bb319dedbcae2c343", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 5585, "upload_time": "2019-05-24T13:52:30", "url": "https://files.pythonhosted.org/packages/22/74/344b6b042d8a29779c426138af2c2951d36a36c82f56da3dc5d3330c5f49/pyfunctions-2019.5.24.21.52.17.tar.gz" } ], "2019.5.25.14.15.28": [ { "comment_text": "", "digests": { "md5": "15de4efc77b3c11a5662752ce9aa221c", "sha256": "9b842dc195a899b933b6a1f8d8b5dd59095e4cfc179b4da0e906a0bade54624e" }, "downloads": -1, "filename": "pyfunctions-2019.5.25.14.15.28-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "15de4efc77b3c11a5662752ce9aa221c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 6838, "upload_time": "2019-05-25T06:15:38", "url": "https://files.pythonhosted.org/packages/27/94/8b4b7db27ddfa74dedd92489f06cec4052cc2d57319271543638361301b5/pyfunctions-2019.5.25.14.15.28-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dd82f441948290ccdfbba44facf80905", "sha256": "424129e8a7445dc29194f92184463e49f793b5903bb73a4bda31332e3af911b9" }, "downloads": -1, "filename": "pyfunctions-2019.5.25.14.15.28.tar.gz", "has_sig": false, "md5_digest": "dd82f441948290ccdfbba44facf80905", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 5582, "upload_time": "2019-05-25T06:15:39", "url": "https://files.pythonhosted.org/packages/cb/e9/f3eae45bfb3a2554240fafab0986bca053299d03d0a77319acd571e603fc/pyfunctions-2019.5.25.14.15.28.tar.gz" } ], "2019.5.30.8.10.32": [ { "comment_text": "", "digests": { "md5": "1f377359ae403c1ec368168db504c2b0", "sha256": "8e4e86bac1a16e30edd9b94c37b6d98b1b09ce554867e0248e876882e19b6f0d" }, "downloads": -1, "filename": "pyfunctions-2019.5.30.8.10.32-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1f377359ae403c1ec368168db504c2b0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 4904, "upload_time": "2019-05-30T00:10:34", "url": "https://files.pythonhosted.org/packages/5c/7f/d70e699ff27876941658fe9e2dadc1aaae53b53620bfeec5c134baf44819/pyfunctions-2019.5.30.8.10.32-py2.py3-none-any.whl" } ], "2019.5.30.8.11.4": [ { "comment_text": "", "digests": { "md5": "50d0567bb08d67a9b27ea2b91758574c", "sha256": "a7b8ee6aee75e5aea4e7942ac2fd55020a5262b96a6208509f4d8d44da0e1057" }, "downloads": -1, "filename": "pyfunctions-2019.5.30.8.11.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "50d0567bb08d67a9b27ea2b91758574c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 4815, "upload_time": "2019-05-30T00:11:05", "url": "https://files.pythonhosted.org/packages/53/3f/906167422d819977d22691fbcb10f6b188661937dd681450cdff5b1a6d30/pyfunctions-2019.5.30.8.11.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b94708e49d717450ddd7f915d4204df3", "sha256": "6641b14ca7017d887230d1b7df102a846d9536d4cffba95604f0c69540fb6434" }, "downloads": -1, "filename": "pyfunctions-2019.5.30.8.11.4.tar.gz", "has_sig": false, "md5_digest": "b94708e49d717450ddd7f915d4204df3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 5533, "upload_time": "2019-05-30T00:11:27", "url": "https://files.pythonhosted.org/packages/2e/da/1198269f7436bf8a8a50bcec9e595e851648d44fb9bda706a00b582a017e/pyfunctions-2019.5.30.8.11.4.tar.gz" } ], "2019.5.30.8.12.16": [ { "comment_text": "", "digests": { "md5": "01a4eb6dc43fb1f0b849584ee75a2f9c", "sha256": "7dd3142c37aa4e063e4b651c86b3c0c1b05159c9a52bf5c7561d7430d8544e0b" }, "downloads": -1, "filename": "pyfunctions-2019.5.30.8.12.16-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "01a4eb6dc43fb1f0b849584ee75a2f9c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 4830, "upload_time": "2019-05-30T00:12:18", "url": "https://files.pythonhosted.org/packages/e8/55/e158d28e3715c79fcdb6087bd35803a88efb222c6e37224881760dc36e3d/pyfunctions-2019.5.30.8.12.16-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6e1ed22147eabea5b66d9a4a3f54080b", "sha256": "7e61687b1c6892c212088b7911be01d425f3156f95c47b1bd914ef5f9693629b" }, "downloads": -1, "filename": "pyfunctions-2019.5.30.8.12.16.tar.gz", "has_sig": false, "md5_digest": "6e1ed22147eabea5b66d9a4a3f54080b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 5545, "upload_time": "2019-05-30T00:12:19", "url": "https://files.pythonhosted.org/packages/94/72/a6b556ee4be270eb96cd4dcc1abfb7d7f3e0f0a1f878de56c512f5401fcf/pyfunctions-2019.5.30.8.12.16.tar.gz" } ], "2019.6.4.17.21.39": [ { "comment_text": "", "digests": { "md5": "9befbfb9c4b2ade62eb4ea0d0a4b7291", "sha256": "c59fed99fff06a20aeb7790afb0393f17c11ffced91b197bf5763e81ce677a29" }, "downloads": -1, "filename": "pyfunctions-2019.6.4.17.21.39-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9befbfb9c4b2ade62eb4ea0d0a4b7291", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 5116, "upload_time": "2019-06-04T09:21:59", "url": "https://files.pythonhosted.org/packages/3e/50/82a2fd3fb7e88c1d1f1d0e1bbb0685c61293c7e2882ee681f8575d0c8f72/pyfunctions-2019.6.4.17.21.39-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b1f3478489d3bd01306eeab3b23d2eb2", "sha256": "612d682c8e2e18b8800e3537afd4f24271d7d57c1ad0b16c4ec5e3866c508a2c" }, "downloads": -1, "filename": "pyfunctions-2019.6.4.17.21.39.tar.gz", "has_sig": false, "md5_digest": "b1f3478489d3bd01306eeab3b23d2eb2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 6082, "upload_time": "2019-06-04T09:22:00", "url": "https://files.pythonhosted.org/packages/27/95/207407cb5fa642965b90206d83a5ec6be3bd4fc1d37cdfd09c2674cd4ba8/pyfunctions-2019.6.4.17.21.39.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9befbfb9c4b2ade62eb4ea0d0a4b7291", "sha256": "c59fed99fff06a20aeb7790afb0393f17c11ffced91b197bf5763e81ce677a29" }, "downloads": -1, "filename": "pyfunctions-2019.6.4.17.21.39-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9befbfb9c4b2ade62eb4ea0d0a4b7291", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.6.0", "size": 5116, "upload_time": "2019-06-04T09:21:59", "url": "https://files.pythonhosted.org/packages/3e/50/82a2fd3fb7e88c1d1f1d0e1bbb0685c61293c7e2882ee681f8575d0c8f72/pyfunctions-2019.6.4.17.21.39-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b1f3478489d3bd01306eeab3b23d2eb2", "sha256": "612d682c8e2e18b8800e3537afd4f24271d7d57c1ad0b16c4ec5e3866c508a2c" }, "downloads": -1, "filename": "pyfunctions-2019.6.4.17.21.39.tar.gz", "has_sig": false, "md5_digest": "b1f3478489d3bd01306eeab3b23d2eb2", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 6082, "upload_time": "2019-06-04T09:22:00", "url": "https://files.pythonhosted.org/packages/27/95/207407cb5fa642965b90206d83a5ec6be3bd4fc1d37cdfd09c2674cd4ba8/pyfunctions-2019.6.4.17.21.39.tar.gz" } ] }