{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/14"}],"enrichment":{"capability":"Parses and renders HTTP Cookie and Set-Cookie headers according to RFC 6265, providing a cleaner API than Python's standard http.cookies module.","skillfed_tags":["http-headers","abandoned"],"use_cases":["Parsing Cookie headers from HTTP requests in a web framework or middleware layer","Rendering Set-Cookie response headers with proper RFC 6265 formatting and attribute handling","Replacing http.cookies in legacy projects where the standard library's API is too confusing or buggy","Building a custom HTTP client or server that needs reliable cookie parsing without external dependencies"],"what_it_does":"cookies.py is a single-file HTTP cookie parser and renderer that aims to be a cleaner, RFC 6265-compliant alternative to Python's built-in http.cookies module. It handles both Cookie request headers and Set-Cookie response headers, exposing a simpler API for creating, reading, and modifying cookies without the confusing behavior of the standard library's SmartCookie class.\n\nThe package includes test coverage and is designed to be liberal in what it accepts when parsing real-world cookie formats, while rendering output strictly according to RFC 6265. It has no runtime dependencies and can be dropped directly into a project as a single file. However, the project has been abandoned since 2014, with no updates to address modern Python versions or emerging security concerns.","worth_installing":"No. While the package has low install friction and a permissive license, it is abandoned (last release 2014, last commit 2018) and its Python version support is unverified for modern interpreters. For new projects, use Python's built-in http.cookies or a maintained alternative. For legacy projects already using it, consider migrating to an actively maintained solution."},"id":"cookies","links":{"html":"https://skillfed.io/packages/cookies","md":"https://skillfed.io/packages/cookies.md","pypi":"https://pypi.org/project/cookies/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2014-09-27","license_spdx":null,"license_treatment":"permissive","name":"cookies","python_support":"unspecified","summary":"Friendlier RFC 6265-compliant cookie parser/renderer"},"popularity":{"monthly_downloads":259617,"position":8409,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.2.1"}
