Packages / openSUSE Tumbleweed / Source / Development/Languages/Python / python-cookies

Source Package: python-cookies (2.2.1-6.15)

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://github.com/sashahart/cookies]
License
MIT
Mantenedor del paquete downstream
Desconocido: no consta en la fuente indexada

The following binary packages are built from this source package:

Vulnerabilidades conocidas

No hay avisos coincidentes en las fuentes consultadas.

Última sincronización:

[Catálogo de CVE]

Fuentes

  • Authoritative source; repository metadata signature verified

    Prueba de firma

    tumbleweed-oss-multiarch:4db10cdde3ad82c7e22be35753c9e164b4bdd30f92db4aee17a0d4c94c5f902f

    Repository-signature verification record
    Signed-object SHA-256
    4db10cdde3ad82c7e22be35753c9e164b4bdd30f92db4aee17a0d4c94c5f902f
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable