{ "info": { "author": "Cory Benfield", "author_email": "cory@lukasa.co.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4" ], "description": "pycohttpparser\n==============\n\npycohttpparser is a Python wrapper library around the excellent\n`picohttpparser`_ C library. It aims to provide a speedy C implementation of\nthe HTTP/1.1 parsing API used in the `hyper`_ project. Using CFFI, it supports\nboth CPython 2.7 and 3.4, and PyPy.\n\nTo get started with pycohttpparser, simply install it from the cheeseshop:\n\n.. code-block:: bash\n\n $ pip install pycohttpparser\n\nYou'll need to make sure your system is set up for using CFFI. For more\ninformation, `consult CFFI's documentation`_.\n\nThen, you can start parsing your HTTP messages! For example:\n\n.. code-block:: pycon\n\n >>> import pycohttpparser.api as p\n >>> message = socket.recv()\n >>> m = memoryview(data)\n >>> c = p.Parser()\n >>> r = c.parse_request(m)\n >>> r.method.tobytes()\n b'POST'\n >>> r.path.tobytes()\n b'/post'\n\nFor more information, see `the documentation`_.\n\n\n.. _picohttpparser: https://github.com/h2o/picohttpparser\n.. _hyper: http://hyper.readthedocs.org/\n.. _consult CFFI's documentation: https://cffi.readthedocs.org/en/latest/#installation-and-status\n.. _the documentation: http://pycohttpparser.readthedocs.org/\n\nLicense\n-------\n\nThe Python wrapper library here is licensed under the MIT license. See LICENSE\nfor more details.\n\nThe original picohttpparser C code, which is included in this project in its\nentirety, is licensed under the MIT license. See the source files or the\nNOTICES file for more details.\n\nMaintainers\n-----------\n\nThe python wrapper library is maintained by Cory Benfield.\n\npicohttpparser is maintained by the picohttpparser team: see NOTICES for more.\n\r\nRelease History\n===============\n\n1.1.0 (2016-02-18)\n------------------\n\n- Update to CFFI 1.0.0.\n- Bring picohttpparser up to 408186196312fd46b1fbea78d8e7b6c9f42ef8e3\n\n1.0.0 (2015-03-21)\n------------------\n\n- Initial release.\n- Contains picohttpparser at revision 98bcc1c3b431d05d4584af66082da48e4638a675", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Lukasa/pycohttpparser", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "pycohttpparser", "package_url": "https://pypi.org/project/pycohttpparser/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pycohttpparser/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Lukasa/pycohttpparser" }, "release_url": "https://pypi.org/project/pycohttpparser/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Python wrapper for picohttpparser", "version": "1.1.0" }, "last_serial": 1963130, "releases": { "0.0.1": [], "1.0.0": [ { "comment_text": "", "digests": { "md5": "bd031e5dee91874c3f9c805ea5c94424", "sha256": "ba74bdddf1bdf88b9f47191e70e2348a9f87e4c323b91c277c00561aab184f91" }, "downloads": -1, "filename": "pycohttpparser-1.0.0.tar.gz", "has_sig": false, "md5_digest": "bd031e5dee91874c3f9c805ea5c94424", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18631, "upload_time": "2015-03-21T13:37:14", "url": "https://files.pythonhosted.org/packages/66/51/360e60b40587d714c232c57ca70fd9b1ff52a231b2c82fee9bb12bc5f5af/pycohttpparser-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "5bdb7e645b8ca76c7a4907d998d8b5bd", "sha256": "30bf4a980420b20014ce2fe68d84b11072b01602e0b222517b99181e6e7105a8" }, "downloads": -1, "filename": "pycohttpparser-1.1.0-cp27-none-macosx_10_11_x86_64.whl", "has_sig": false, "md5_digest": "5bdb7e645b8ca76c7a4907d998d8b5bd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 13109, "upload_time": "2016-02-18T12:00:42", "url": "https://files.pythonhosted.org/packages/fe/0f/d30cb017224a3e584d3cb2198152edcc61b23af1c59552b1140587e0995c/pycohttpparser-1.1.0-cp27-none-macosx_10_11_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "298adfbb9130211b1aa0c816ed4f3127", "sha256": "c439369ddeed1a33cf00176eb960bd1a53a7e762dd44f3091df59fd5cda9509a" }, "downloads": -1, "filename": "pycohttpparser-1.1.0.tar.gz", "has_sig": false, "md5_digest": "298adfbb9130211b1aa0c816ed4f3127", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11620, "upload_time": "2016-02-18T11:59:49", "url": "https://files.pythonhosted.org/packages/f7/cb/eab1268ac4751352a5181541658164ac1139c8732491d89b07af15eccb06/pycohttpparser-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5bdb7e645b8ca76c7a4907d998d8b5bd", "sha256": "30bf4a980420b20014ce2fe68d84b11072b01602e0b222517b99181e6e7105a8" }, "downloads": -1, "filename": "pycohttpparser-1.1.0-cp27-none-macosx_10_11_x86_64.whl", "has_sig": false, "md5_digest": "5bdb7e645b8ca76c7a4907d998d8b5bd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 13109, "upload_time": "2016-02-18T12:00:42", "url": "https://files.pythonhosted.org/packages/fe/0f/d30cb017224a3e584d3cb2198152edcc61b23af1c59552b1140587e0995c/pycohttpparser-1.1.0-cp27-none-macosx_10_11_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "298adfbb9130211b1aa0c816ed4f3127", "sha256": "c439369ddeed1a33cf00176eb960bd1a53a7e762dd44f3091df59fd5cda9509a" }, "downloads": -1, "filename": "pycohttpparser-1.1.0.tar.gz", "has_sig": false, "md5_digest": "298adfbb9130211b1aa0c816ed4f3127", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11620, "upload_time": "2016-02-18T11:59:49", "url": "https://files.pythonhosted.org/packages/f7/cb/eab1268ac4751352a5181541658164ac1139c8732491d89b07af15eccb06/pycohttpparser-1.1.0.tar.gz" } ] }