$npx skillfedfor your agent

cookies

Friendlier RFC 6265-compliant cookie parser/renderer

SkipPyPI Python ModulesReleased Sep 2014259.6K downloads / moUNKNOWNPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cookies-2.2.1-py2.py3-none-any.whl
v2.2.1 · released 2014-09-27

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Package classifiers indicate support for Python 2.6, 2.7, 3.2, 3.3 and PyPy; compatibility with later versions is unverified.
  • Low install friction with no runtime dependencies.
  • However, the package is abandoned—last release was in 2014 and last commit in 2018, raising concerns about compatibility with modern Python versions.

License · maintenance · safety

UNKNOWN (permissive) — MIT license permits unrestricted use, modification, and distribution with no obligations beyond attribution.

last release 2014-09-27 (4339 days) · last repo commit 2018-09-10 · 31 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 259,617 downloads/mo, #8,409 on PyPI

Verify before relying

from cookies import Cookies, Cookie
cookies = Cookies(name='value')
cookies['name'].path = '/'
print(cookies.render_request())
  • Whether this package actually works on Python versions beyond 3.3 despite classifiers claiming Python 3 support
  • Whether the parser handles modern cookie formats and edge cases encountered in production HTTP traffic
  • Security implications of using an unmaintained library for cookie handling in new projects
Same gist for agents: .md · .json

What it is and 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.

The 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.

Use it for

  • 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

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

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.

Install

cookies on PyPI

Before you install

Low install friction with no runtime dependencies. However, the package is abandoned—last release was in 2014 and last commit in 2018, raising concerns about compatibility with modern Python versions.

Package classifiers indicate support for Python 2.6, 2.7, 3.2, 3.3 and PyPy; compatibility with later versions is unverified.

License in practice

MIT license permits unrestricted use, modification, and distribution with no obligations beyond attribution.

Quickstart

from cookies import Cookies, Cookie
cookies = Cookies(name='value')
cookies['name'].path = '/'
print(cookies.render_request())

Verify before relying

  • Whether this package actually works on Python versions beyond 3.3 despite classifiers claiming Python 3 support
  • Whether the parser handles modern cookie formats and edge cases encountered in production HTTP traffic
  • Security implications of using an unmaintained library for cookie handling in new projects

Package facts

LicenseUNKNOWN permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 4,339 days since the last release
Last repo commit
First released
Downloads259,617 / month, #8,409 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: Other EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules

Evidence: cookies-2.2.1-py2.py3-none-any.whl

Tags

Capabilities
HTTP cookie parsingRFC 6265 cookie handlercookie header renderingcookie request/response headerscookie parser libraryset-cookie parsercookie manipulation
Topics
http-headersabandoned

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “HTTP cookie parsing”

  • cookiesParses and renders HTTP Cookie and Set-Cookie headers according to…
  • browser-cookie3Extracts cookies from your browser's local storage and loads them…
  • asgi-csrfASGI middleware that protects web applications against CSRF attacks…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also browser-cookie3 · django-cookie-consent · fetch-use · requests · streamlit-cookies-controller · macaroonbakery · pycookiecheat · pyrfc6266 · flask-unsign · WebOb