pyramid
1.0.0
Pyramid は、小さく、高速で、現実的な、オープンソースの Python Web フレームワークです。これにより、実際の Web アプリケーションの開発と展開がより楽しく、より予測可能になり、より生産的になります。 Pyramid を試し、そのアドオンとドキュメントを参照し、概要を理解してください。
from wsgiref . simple_server import make_server
from pyramid . config import Configurator
from pyramid . response import Response
def hello_world ( request ):
return Response ( 'Hello World!' )
if __name__ == '__main__' :
with Configurator () as config :
config . add_route ( 'hello' , '/' )
config . add_view ( hello_world , route_name = 'hello' )
app = config . make_wsgi_app ()
server = make_server ( '0.0.0.0' , 6543 , app )
server . serve_forever ()
Pyramid は Pylons Project のプロジェクトです。
ドキュメント、バグの報告、サポートについては、「Pyramid のサポートと開発」を参照してください。
Pyramid で開発または Pyramid に貢献する場合の、テストの実行、機能の追加、コーディング スタイル、ドキュメントの更新に関するガイドラインについては、HACKING.txt および Contributor.md を参照してください。
Pyramid は、BSD 由来の Repoze Public License に基づいて提供されています。
Pyramid は、Agendaless Consulting と貢献者チームによって提供されています。