skillfed

web-py

web.py: makes web apps

web-py v0.76 103.6K downloads/30d#12,798 on PyPI5,921
Permissive license Public domain Active released

What it is and what it does

web.py is a minimalist web framework that strips away complexity to let you build HTTP applications by mapping URLs to Python classes and functions. It handles routing, request/response processing, and session management with a small API surface and few dependencies—just cheroot for the WSGI server, more_itertools for utility functions, and multipart for form data parsing.

The framework is designed for developers who want to write web applications without the overhead of larger frameworks. It has been actively maintained since 2007 and currently supports Python 3.10 through 3.14. With no known security vulnerabilities and a permissive public-domain license, it's a straightforward choice for simple web projects where you want direct control over routing and request handling.

Use it for:

  • Build a simple REST API or microservice that routes HTTP requests to handler functions without heavy framework overhead.
  • Prototype a web application quickly with minimal setup and configuration before scaling to a larger framework.
  • Create a lightweight web server for internal tools, dashboards, or single-purpose applications.
  • Learn web framework fundamentals by studying a small, readable codebase with clear request-to-response flow.
  • Serve dynamic content with form handling and session management for small-to-medium web projects.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

web.py is a lightweight Python web framework for building web applications with minimal boilerplate, routing HTTP requests to handler functions.

Yes, if you need a simple, low-friction web framework for prototyping or small applications. The public-domain license, active maintenance, low install friction, and lack of security vulnerabilities make it a safe choice. Not recommended if you need the ecosystem, middleware, or scalability of larger frameworks like Django or FastAPI.

Install

web-py on PyPI

pip

pip install web-py

uv

uv add web-py

poetry

poetry add web-py

Installing web-py

Before you install

Installation is straightforward with low friction—a pure-Python wheel with three runtime dependencies (cheroot, more_itertools, multipart). The project is actively maintained with a recent release (67 days ago) and steady commit activity.

License in practice

Released into the public domain, so there are no licensing restrictions on use, modification, or distribution for any purpose.

Quickstart

pip install web.py

import web

urls = ('/', 'index')
app = web.application(urls, globals())

class index:
    def GET(self):
        return 'Hello, World!'

Requires Python 3.10 or later (supports up to 3.14); earlier versions are not compatible.

Verify before relying

  • Whether the framework is suitable for production-scale applications or primarily for prototyping and small projects
  • Performance characteristics compared to other Python web frameworks
  • Availability and quality of documentation and community support resources

Package facts

License Public domain (permissive)
Python support supports the current Python release (<3.15,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 3 — cheroot, more_itertools, multipart
Maintenance actively maintained — 67 days since the last release
Last repo commit
First released
Downloads 103,559/month — #12,798 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: web_py-0.76-py3-none-any.whl

License :: Public DomainProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

lightweight python web frameworksimple web app frameworkpython http routingminimal web developmentpython request handler frameworkweb application framework pythonfast python web server
web-frameworklightweighthttp-routing

More Application Frameworks packages