Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

werkzeug + twisted.web

License

NotificationsYou must be signed in to change notification settings

twisted/klein

Repository files navigation

Build StatusCode CoveragePython 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 toBottle andFlask.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 likeWerkzeug andTwisted.

AKlein 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 atRead The Docs.

Example

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

fromkleinimportrun,route@route('/')defhome(request):return'Hello, world!'run("localhost",8080)

Contribute

klein is hosted onGitHub and is an open source project that welcomes contributions of all kinds from the community, including:

For more information about contributing, seethe contributor guidelines.

Packages

No packages published

Contributors50

Languages


[8]ページ先頭

©2009-2025 Movatter.jp