Github: https://github.com/Pylons/pyramid
ピラミッド
Pyramidは、小さくて、速く、地球に近い、オープンソースのPython Webフレームワークです。 現実のWebアプリケーションの開発と展開をより楽しく、予測しやすく、生産性を向上させます。
from wsgiref.simple_server import make_server
from pyramid.config import Configurator
from pyramid.response import Response
def hello_world(request):
return Response('Hello %(name)s!' % request.matchdict)
if __name__ == '__main__':
with Configurator() as config:
config.add_route('hello', '/hello/{name}')
config.add_view(hello_world, route_name='hello')
app = config.make_wsgi_app()
server = make_server('0.0.0.0', 8080, app)
server.serve_forever()
PyramidはPylonsプロジェクトのプロジェクトです。
サポートとドキュメント
ドキュメンテーション、バグの報告、サポートの取得については、 Pyramidのサポートと開発を参照してください。
開発と貢献
Pyramidの開発中またはPyramidに貢献する際のテストの実行、機能の追加、スタイルのコーディング、ドキュメントの更新に関するガイドラインについては、 HACKING.txtとcontributing.mdを参照してください。
ライセンス
Pyramidは、BSDに由来するRepoze Public Licenseの下で提供されています。
著者
PyramidはAgendaless Consultingと寄稿者のチームによって提供されています。