Package: python3-cookies (2.2.1-1.24)
Friendlier RFC 6265-compliant cookie parser/renderer
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). * Rendering according to RFC 6265. It 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 * Documented code, with chapter and verse from RFCs * A test suite with 100% test coverage * Unlike Cookie.py, it doesn't lock all implementation inside its own classes. You can suppress minor parse exceptions with parameters rather than subclass wrappers. You can plug in your own parsers, renderers and validators for new or existing cookie attributes. You can render the data out in a dict. You can use the underlying imperative API or even lift the parser's regexps for your own parser or project. While this is intended to be a good module for handling cookies, it does not even try to do any of the following: * Backward compatibility with Cookie.py * Implementation of RFC 2109 or 2965 * Handle every conceivable output from legacy applications * Provide a means to store pickled Python objects in cookie values This does not compete with the cookielib (http.cookiejar) module in the Python standard library.
Package information
- Homepage
- [https://gitlab.com/sashahart/cookies]
- License
- MIT
- Downstream package maintainer
- Unknown: not reported in the indexed source
- Source package
- [python-cookies]
- Software project
- [python-cookies]
Versions and downloads for python3-cookies
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 2.2.1-1.24leap-15.6 / oss | noarchopenSUSE Leap 15.6 · OSS · multi-architecture | 36 KiB | 127 KiB | list of files | python3-cookies-2.2.1-1.24.noarch.rpm |
About these downloads
Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.
Other packages built from python-cookies
- python311-cookies
Friendlier RFC 6265-compliant cookie parser/renderer
Dependencies and recommendations for python3-cookies
dep: python(abi) (= 3.6)
Package not available
Package file paths (13)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/python3.6/site-packages/cookies-2.2.1-py3.6.egg-info
- /usr/lib/python3.6/site-packages/cookies-2.2.1-py3.6.egg-info/dependency_links.txt
- /usr/lib/python3.6/site-packages/cookies-2.2.1-py3.6.egg-info/PKG-INFO
- /usr/lib/python3.6/site-packages/cookies-2.2.1-py3.6.egg-info/SOURCES.txt
- /usr/lib/python3.6/site-packages/cookies-2.2.1-py3.6.egg-info/top_level.txt
- /usr/lib/python3.6/site-packages/cookies.py
- /usr/lib/python3.6/site-packages/__pycache__
- /usr/lib/python3.6/site-packages/__pycache__/cookies.cpython-36.opt-1.pyc
- /usr/lib/python3.6/site-packages/__pycache__/cookies.cpython-36.pyc
- /usr/share/doc/packages/python3-cookies
- /usr/share/doc/packages/python3-cookies/README
- /usr/share/licenses/python3-cookies
- /usr/share/licenses/python3-cookies/LICENSE
Field source: openSUSE Leap 15.6 OSS
