{ "info": { "author": "ijl", "author_email": "ijl@mailbox.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "nahpackpy\r\n=========\r\n\r\nnahpackpy is an HTTP/2 `RFC 7541\r\nHPACK `__ library. It wraps\r\nthe Rust `nahpack `__ library.\r\n\r\nUsage\r\n-----\r\n\r\n.. code:: python\r\n\r\n >>> from nahpackpy import Decoder\r\n >>> decoder = Decoder()\r\n >>> headers = decoder.decode_block(\r\n b'\\x82\\x86\\x84A\\x8c\\xf1\\xe3\\xc2\\xe5\\xf2:k\\xa0\\xab\\x90\\xf4\\xff'\r\n )\r\n >>> for header in headers:\r\n print(header)\r\n Header(name=b':method', value=b'GET')\r\n Header(name=b':scheme', value=b'http')\r\n Header(name=b':path', value=b'/')\r\n Header(name=b':authority', value=b'www.example.com')\r\n\r\n.. code:: python\r\n\r\n >>> from nahpackpy import Encoder\r\n >>> encoder = Encoder()\r\n >>> encoder.encode_block((\r\n (b':method', b'GET'),\r\n (b':scheme', b'http'),\r\n (b':path', b'/'),\r\n (b':authority', b'www.example.com'),\r\n ))\r\n b'\\x82\\x86\\x84A\\x8c\\xf1\\xe3\\xc2\\xe5\\xf2:k\\xa0\\xab\\x90\\xf4\\xff'\r\n\r\nInstallation\r\n------------\r\n\r\nInstallation from source requires the use of the Rust language for\r\ncompilation of extensions. The \"Nightly\" channel of rust is required.\r\nDownload a package from\r\n`rust-lang.org `__.\r\n\r\nYou can then create a wheel, which will contain the compiled shared\r\nlibrary, by running ``make``. Or, run ``python setup.py install`` to\r\ninstall in your current environment.\r\n\r\nMisc\r\n----\r\n\r\nnahpackpy is licensed under the `Mozilla Public License, Version\r\n2.0 `__.", "description_content_type": null, "docs_url": "https://pythonhosted.org/nahpackpy/", "download_url": "https://github.com/ijl/nahpackpy/archive/0.1.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ijl/nahpackpy", "keywords": "hpack http2 header compression encoding rfc 7541", "license": "Mozilla Public License, Version 2.0", "maintainer": "", "maintainer_email": "", "name": "nahpackpy", "package_url": "https://pypi.org/project/nahpackpy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/nahpackpy/", "project_urls": { "Download": "https://github.com/ijl/nahpackpy/archive/0.1.0.tar.gz", "Homepage": "https://github.com/ijl/nahpackpy" }, "release_url": "https://pypi.org/project/nahpackpy/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Python HPACK library using nahpack", "version": "0.1.0" }, "last_serial": 1692277, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "0a477774466a1753c69ad84e8a7bb02f", "sha256": "104226e27346b016fa281cd1509da5aff8f9264e363bfec2c10198a96dcf06c0" }, "downloads": -1, "filename": "nahpackpy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0a477774466a1753c69ad84e8a7bb02f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36406, "upload_time": "2015-08-25T01:14:53", "url": "https://files.pythonhosted.org/packages/74/89/41b8bf9559a75e8c02d94fe378559c8ed5a3e996ee78ddf56eb21084f4f7/nahpackpy-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0a477774466a1753c69ad84e8a7bb02f", "sha256": "104226e27346b016fa281cd1509da5aff8f9264e363bfec2c10198a96dcf06c0" }, "downloads": -1, "filename": "nahpackpy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0a477774466a1753c69ad84e8a7bb02f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36406, "upload_time": "2015-08-25T01:14:53", "url": "https://files.pythonhosted.org/packages/74/89/41b8bf9559a75e8c02d94fe378559c8ed5a3e996ee78ddf56eb21084f4f7/nahpackpy-0.1.0.tar.gz" } ] }