streamlit-cookies-controller
Streamlit cookies controller
Decision gist · record as of 2026-08-14
Yes, if you need client-side cookie management in a Streamlit app and accept dormant maintenance. The package is simple, has no known vulnerabilities, and low install friction. However, be aware that the last update was 2024-04-10 with no recent commits—if you encounter issues with newer Streamlit versions or need active support, you may need to fork or find an alternative.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Streamlit application context; cookies are stored and retrieved from the client browser, so browser cookie settings and privacy policies apply.
- Low friction installation with a single runtime dependency on streamlit.
- Maintenance is dormant—last release was 2024-04-10 and no commits since 2024-05-02—so expect no active bug fixes or feature updates.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions, typical for open-source Streamlit extensions.
last release 2024-04-10 (856 days) · last repo commit 2024-05-02 · 45 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 78,244 downloads/mo, #14,457 on PyPI
Alternatives
Verify before relying
pip install streamlit-cookies-controller
import streamlit as st
from streamlit_cookies_controller import CookieController
controller = CookieController()
controller.set('my_cookie', 'value')
cookie_value = controller.get('my_cookie')- Whether the package works reliably with current Streamlit versions beyond v1.32.0 (last tested version mentioned in changelog).
- Whether cookie persistence survives across browser sessions or is limited to the current session.
- Performance characteristics when managing large numbers of cookies or frequent read/write operations.
What it is and what it does
Streamlit Cookie Controller is a lightweight bridge that lets you read, write, and delete browser cookies from within a Streamlit application. It wraps the JavaScript universal-cookie library to expose cookie operations through a Python API, allowing you to store and retrieve client-side state that persists across page reloads within the browser.
The package provides three core operations: set a cookie with a name and value, retrieve a single cookie by name or all cookies at once, and remove cookies. This is useful for Streamlit apps that need to maintain user preferences, authentication tokens, or session identifiers on the client side rather than relying solely on Streamlit's server-side session state.
Use it for
- Store user preferences (theme, language, layout) that persist across browser sessions in a Streamlit app.
- Maintain authentication tokens or session IDs on the client for multi-tab or multi-window Streamlit deployments.
- Implement remember-me functionality or user recognition without server-side database queries.
- Coordinate state between a Streamlit frontend and external web services that also use cookies.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need client-side cookie management in a Streamlit app and accept dormant maintenance.
The package is simple, has no known vulnerabilities, and low install friction. However, be aware that the last update was 2024-04-10 with no recent commits—if you encounter issues with newer Streamlit versions or need active support, you may need to fork or find an alternative.
Install
streamlit-cookies-controller on PyPI
Before you install
Low friction installation with a single runtime dependency on streamlit. Maintenance is dormant—last release was 2024-04-10 and no commits since 2024-05-02—so expect no active bug fixes or feature updates.
Requires a running Streamlit application context; cookies are stored and retrieved from the client browser, so browser cookie settings and privacy policies apply.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions, typical for open-source Streamlit extensions.
Quickstart
pip install streamlit-cookies-controller
import streamlit as st
from streamlit_cookies_controller import CookieController
controller = CookieController()
controller.set('my_cookie', 'value')
cookie_value = controller.get('my_cookie')
Verify before relying
- Whether the package works reliably with current Streamlit versions beyond v1.32.0 (last tested version mentioned in changelog).
- Whether cookie persistence survives across browser sessions or is limited to the current session.
- Performance characteristics when managing large numbers of cookies or frequent read/write operations.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagestreamlit |
| Maintenance | Dormant 856 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 78,244 / month, #14,457 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.8 |
Evidence: streamlit_cookies_controller-0.0.4-py3-none-any.whl
Tags
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 › “streamlit cookie management”
- streamlit-cookies-controllerProvides read, write, and delete operations on browser cookies from a…
- extra-streamlit-componentsProvides additional UI components for Streamlit applications,…
- streamlit-authenticatorAdds user authentication and access control to Streamlit…
Give your agent the search over MCP, or paste the wish link into any chat.
More Dynamic Content packages
MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.
Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.
Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.
Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.
Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.
See also streamlit-javascript · streamlit-authenticator · extra-streamlit-components · cookies · browser-cookie3 · streamlit-js-eval · django-cookie-consent · streamlit-image-coordinates · pycookiecheat · streamlit-autorefresh