Skip to content
whatismyalternative

Bottle

A fast, simple and lightweight WSGI micro web-framework for Python

Visit Bottle

Bottle is a WSGI micro web-framework for Python, distributed as a single file module with no dependencies beyond the Python Standard Library. It maps incoming requests to function calls through routing that supports clean and dynamic URLs, and includes a built-in template engine alongside support for mako, jinja2 and cheetah templates. Utilities cover form data, file uploads, cookies, headers and other HTTP features, while a built-in HTTP development server supports deployment through WSGI-capable servers such as gunicorn, paste and cheroot.

The framework includes routing rule syntax and wildcard filters, configuration loading from files, Python modules or dictionaries, and a plugin system with a plugin API and examples such as SQLitePlugin. Documentation covers request routing, templating, HTTP utilities, error handling, deployment, asynchronous applications and WebSockets. Releases are available through pip or as a downloadable bottle.py file, with version 0.12 designated LTS for older Python versions and 0.13 supporting maintained Python releases. Code and documentation are distributed under the MIT License.

12 alternatives to Bottle

Ranked by how well each tool replaces Bottle: shared features, audience, price and popularity.

  1. Python WSGI HTTP server for UNIX

    Covers 0 of 4 key features.

    Open source
    54 out of 100 match—
  2. The Start Small, Finish Big, Stay Finished Framework

    Covers 1 of 4 key features.

    Open source
    52 out of 100 match—
  3. The fastest way to build and deploy APIs.

    Covers 1 of 4 key features and has a free plan.

    Free plan
    49 out of 100 matchFree
  4. Build Serverless Applications on AWS Lambda

    Covers 1 of 4 key features and has a free plan.

    Free plan
    48 out of 100 matchUsage-based
  5. Fast, unopinionated, minimalist web framework for Node.js

    Covers 1 of 4 key features.

    Open source
    47 out of 100 match—
  6. Free static web hosting and product pages for browser extensions and mobile apps

    Covers 1 of 4 key features and has a free plan.

    Free planOpen source
    46 out of 100 matchFree
  7. Single-Executable Lua Application Server for Embedded Linux, IoT, and Private Web Apps

    Covers 1 of 4 key features and has a free plan.

    Free plan
    45 out of 100 matchFree
  8. Ad-free wiki hosting, powered by expert MediaWiki volunteers

    Covers 1 of 4 key features and has a free plan.

    Free plan
    45 out of 100 matchFree
  9. Website and Server Management Built for the AI Era

    Covers 1 of 4 key features.

    45 out of 100 match$27.46/mo
  10. Drag, drop, done. Your website is live for free.

    Covers 1 of 4 key features and has a free plan.

    Free plan
    45 out of 100 matchFree
  11. The local dev environment you will love.

    Covers 1 of 4 key features and has a free plan.

    Free plan
    45 out of 100 match$7/mo
  12. Run JavaScript Everywhere

    Covers 1 of 4 key features.

    Open source
    45 out of 100 match—