The www/py-cookies,python3 port
py3-cookies-2.2.1p6 – friendlier RFC 6265-compliant cookie parser/renderer (cvsweb github mirror)
Description
cookies.py is a Python module for working with HTTP cookies: parsing and rendering 'Cookie:' request headers and 'Set-Cookie:' response headers, and exposing a convenient API for creating and modifying cookies. It can be used as a replacement of Python's Cookie.py (aka http.cookies). Features Rendering according to the excellent new RFC 6265 (rather than using a unique ad hoc format inconsistently relating to unrealistic, very old RFCs which everyone ignored). Uses URL encoding to represent non-ASCII by default, like many other languages' libraries Liberal parsing, incorporating many complaints about Cookie.py barfing on common cookie formats which can be reliably parsed (e.g. search 'cookie' on the Python issue tracker) Well-documented code, with chapter and verse from RFCs (rather than arbitrary, undocumented decisions and huge tables of magic values, as you see in Cookie.py). Test coverage at 100%, with a much more comprehensive test suite than Cookie.pyWWW: https://github.com/sashahart/cookies
Maintainer
Kurt Mosiejczuk
Broken
broken with py3.11, dead upstream, unused - candidate for removal?
Categories
Build dependencies
Run dependencies
Test dependencies
Files
- /usr/local/lib/python3.11/site-packages/__pycache__/
- /usr/local/lib/python3.11/site-packages/__pycache__/cookies.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/__pycache__/cookies.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/__pycache__/test_cookies.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/__pycache__/test_cookies.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/cookies-2.2.1.dist-info/
- /usr/local/lib/python3.11/site-packages/cookies-2.2.1.dist-info/METADATA
- /usr/local/lib/python3.11/site-packages/cookies-2.2.1.dist-info/RECORD
- /usr/local/lib/python3.11/site-packages/cookies-2.2.1.dist-info/WHEEL
- /usr/local/lib/python3.11/site-packages/cookies-2.2.1.dist-info/top_level.txt
- /usr/local/lib/python3.11/site-packages/cookies.py
- /usr/local/lib/python3.11/site-packages/test_cookies.py