CherryPy
Object-Oriented HTTP framework
Decision gist · record as of 2026-08-14
Yes. CherryPy is a mature, actively maintained framework with low installation friction, no security vulnerabilities, and a permissive license. It's well-suited if you prefer object-oriented design patterns in web development and want a lightweight alternative to larger frameworks. The 791-day gap since the last release suggests stability rather than abandonment, but verify that current Python versions align with your needs.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later; on Windows, pywin32 is a runtime dependency.
- Installation is straightforward with low friction.
- The package is actively maintained (last commit 2026-08-10) and marked as Production/Stable.
License · maintenance · safety
permissive license (permissive) — Licensed under BSD (permissive), which allows commercial and private use with minimal restrictions. No licensing concerns for adoption.
last release 2024-06-14 (791 days) · last repo commit 2026-08-10 · 1,945 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 897,074 downloads/mo, #4,785 on PyPI
Alternatives
Verify before relying
pip install cherrypy
import cherrypy
class HelloWorld(object):
@cherrypy.expose
def index(self):
return "Hello World!"
cherrypy.quickstart(HelloWorld())- Whether the 791 days since last release (2024-06-14) indicates a stable mature project or one that may need updates for newer Python versions.
- Performance characteristics and scalability limits compared to other frameworks in production deployments.
What it is and what it does
CherryPy is a web framework that treats HTTP endpoints as Python object methods. Instead of routing URLs to functions, you define classes with methods decorated with @cherrypy.expose, and CherryPy automatically maps the object hierarchy to web paths. This approach aligns web development with standard object-oriented Python patterns, making code more readable and maintainable as applications grow.
The framework has been in production use for many years and is designed to be both intuitive for simple applications and capable of handling complex systems. It includes a built-in WSGI-compliant server, supports multiple Python implementations (CPython, PyPy, Jython), and provides configuration flexibility. The seven runtime dependencies are lightweight utilities for server functionality, file locking, and metadata handling.
Use it for
- Build a REST API by exposing Python class methods as HTTP endpoints without explicit routing configuration.
- Create a web application where URL structure naturally mirrors your Python object model.
- Develop a microservice or internal tool that needs a lightweight HTTP server without framework overhead.
- Prototype or build production web services that prioritize code clarity and Pythonic design patterns.
- Integrate HTTP capabilities into an existing Python application with minimal additional dependencies.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
CherryPy is a mature, actively maintained framework with low installation friction, no security vulnerabilities, and a permissive license. It's well-suited if you prefer object-oriented design patterns in web development and want a lightweight alternative to larger frameworks. The 791-day gap since the last release suggests stability rather than abandonment, but verify that current Python versions align with your needs.
Install
cherrypy on PyPI
Before you install
Installation is straightforward with low friction. The package is actively maintained (last commit 2026-08-10) and marked as Production/Stable. Seven runtime dependencies are all standard utilities, and the wheel distribution ensures fast setup.
Requires Python 3.6 or later; on Windows, pywin32 is a runtime dependency.
License in practice
Licensed under BSD (permissive), which allows commercial and private use with minimal restrictions. No licensing concerns for adoption.
Quickstart
pip install cherrypy
import cherrypy
class HelloWorld(object):
@cherrypy.expose
def index(self):
return "Hello World!"
cherrypy.quickstart(HelloWorld())
Verify before relying
- Whether the 791 days since last release (2024-06-14) indicates a stable mature project or one that may need updates for newer Python versions.
- Performance characteristics and scalability limits compared to other frameworks in production deployments.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagescherootportendmore-itertoolszc.lockfilejaraco.collectionsimportlib-metadatapywin32 |
| Maintenance | Actively maintained 791 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 897,074 / month, #4,785 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: CherryPyIntended Audience :: DevelopersLicense :: Freely DistributableLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: ImplementationProgramming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: JythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Internet :: WWW/HTTP :: HTTP ServersTopic :: Internet :: WWW/HTTP :: WSGITopic :: Internet :: WWW/HTTP :: WSGI :: ApplicationTopic :: Internet :: WWW/HTTP :: WSGI :: ServerTopic :: Software Development :: Libraries :: Application Frameworks |
Evidence: CherryPy-18.10.0-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 › “object-oriented http server”
- CherryPyCherryPy is an object-oriented HTTP framework that lets you build web…
- upcloud-apiObject-oriented Python client for UpCloud's cloud infrastructure API,…
- slumberSlumber wraps the requests library to provide an object-oriented…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also Flask · hug · appier · cherrypy-cors · ws4py · tool · webargs · pecan · nameko