All Projects → twisted → Klein

twisted / Klein

Licence: other
werkzeug + twisted.web

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Klein

Arsenic
Async WebDriver implementation for asyncio and asyncio-compatible frameworks
Stars: ✭ 209 (-72.86%)
Mutual labels:  async, twisted
Pyee
A port of Node.js's EventEmitter to python
Stars: ✭ 236 (-69.35%)
Mutual labels:  async, twisted
Crochet
Crochet: use Twisted anywhere!
Stars: ✭ 214 (-72.21%)
Mutual labels:  async, twisted
Falco
A functional-first toolkit for building brilliant ASP.NET Core applications using F#.
Stars: ✭ 214 (-72.21%)
Mutual labels:  web-framework, micro-framework
Picoweb
Really minimal web application framework for the Pycopy project (minimalist Python dialect) and its "uasyncio" async framework
Stars: ✭ 361 (-53.12%)
Mutual labels:  async, micro-framework
Then
🎬 Tame async code with battle-tested promises
Stars: ✭ 908 (+17.92%)
Mutual labels:  async, micro-framework
Gidgethub
An async GitHub API library for Python
Stars: ✭ 226 (-70.65%)
Mutual labels:  async, twisted
Txtorcon
Twisted-based asynchronous Tor control protocol implementation. Includes unit-tests, examples, state-tracking code and configuration abstraction.
Stars: ✭ 215 (-72.08%)
Mutual labels:  async, twisted
jflask
Flask-inspired web micro-framework for Java (deprecated)
Stars: ✭ 18 (-97.66%)
Mutual labels:  micro-framework, web-framework
recurse
Qt based micro web framework with middleware design
Stars: ✭ 19 (-97.53%)
Mutual labels:  micro-framework, web-framework
Giraffe
Giraffe is an F# micro web framework for building rich web applications. It has been heavily inspired and is similar to Suave, but has been specifically designed with ASP.NET Core in mind and can be plugged into the ASP.NET Core pipeline via middleware. Giraffe applications are composed of so called HttpHandler functions which can be thought of a mixture of Suave's WebParts and ASP.NET Core's middleware.
Stars: ✭ 1,703 (+121.17%)
Mutual labels:  web-framework, micro-framework
Echo
High performance, minimalist Go web framework
Stars: ✭ 21,297 (+2665.84%)
Mutual labels:  web-framework, micro-framework
Jooby
The modular web framework for Java and Kotlin
Stars: ✭ 1,309 (+70%)
Mutual labels:  web-framework, micro-framework
Ktor
Framework for quickly creating connected applications in Kotlin with minimal effort
Stars: ✭ 9,190 (+1093.51%)
Mutual labels:  async, web-framework
Cphalcon7
Dao7 - Web framework for PHP7.x,项目接洽 QQ 176013762
Stars: ✭ 237 (-69.22%)
Mutual labels:  async, web-framework
Requests Threads
🎭 Twisted Deferred Thread backend for Requests.
Stars: ✭ 366 (-52.47%)
Mutual labels:  async, twisted
Twisted
Event-driven networking engine written in Python.
Stars: ✭ 4,442 (+476.88%)
Mutual labels:  async, twisted
Asyncawaitbestpractices
Extensions for System.Threading.Tasks.Task and System.Threading.Tasks.ValueTask
Stars: ✭ 693 (-10%)
Mutual labels:  async
Fastapi Users
Ready-to-use and customizable users management for FastAPI
Stars: ✭ 713 (-7.4%)
Mutual labels:  async
Vertx Sql Client
High performance reactive SQL Client written in Java
Stars: ✭ 690 (-10.39%)
Mutual labels:  async

============================ Klein, a Web Micro-Framework

.. image:: https://github.com/twisted/klein/workflows/CI%2fCD/badge.svg :target: https://github.com/twisted/klein/actions :alt: Build Status .. image:: https://codecov.io/github/twisted/klein/coverage.svg?branch=master :target: https://codecov.io/github/twisted/klein?branch=master :alt: Code Coverage .. image:: https://requires.io/github/twisted/klein/requirements.svg?branch=master :target: https://requires.io/github/twisted/klein/requirements/?branch=master :alt: Requirements Status .. image:: https://img.shields.io/pypi/pyversions/klein.svg :target: https://pypi.python.org/pypi/klein :alt: Python Version Compatibility

Klein is a micro-framework for developing production-ready web services with Python. It is 'micro' in that it has an incredibly small API similar to Bottle <https://bottlepy.org/docs/dev/index.html>_ and Flask <https://flask.palletsprojects.com/>. It is not 'micro' in that it depends on things outside the standard library. This is primarily because it is built on widely used and well tested components like Werkzeug <https://werkzeug.palletsprojects.com/> and Twisted <https://twistedmatrix.com>_.

A Klein bottle <https://en.wikipedia.org/wiki/Klein_bottle>_ is an example of a non-orientable surface, and a glass Klein bottle looks like a twisted bottle or twisted flask. This, of course, made it too good of a pun to pass up.

Klein's documentation can be found at Read The Docs <https://klein.readthedocs.org>_.

Example

This is a sample Klein application that returns 'Hello, world!', running on port 8080.

.. code-block:: python

from klein import run, route

@route('/')
def home(request):
    return 'Hello, world!'

run("localhost", 8080)

Contribute

klein is hosted on GitHub <https://github.com/twisted/klein>_ and is an open source project that welcomes contributions of all kinds from the community, including:

  • code patches,
  • documentation <https://klein.readthedocs.org/>_ improvements,
  • bug reports <https://github.com/twisted/klein/issues>_,
  • reviews for contributed patches <https://github.com/twisted/klein/pulls>_.

For more information about contributing, see the contributor guidelines <https://github.com/twisted/klein/tree/master/CONTRIBUTING.rst>_.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].