Python用のデッドシンプルWebサービススタック
今すぐダウンロード

露 ランキングとまとめ

広告

  • Rating:
  • ライセンス:
  • MIT/X Consortium Lic...
  • 価格:
  • FREE
  • 出版社名:
  • Jos Orlando Pereira
  • 出版社のWebサイト:

露 タグ


露 説明

Pythonのための死んだシンプルなWebサービススタック DewsはPython.althoughを提供するPythonモジュールです。困難なタスクにすることができます。たとえば、拡張機能を試している場合、または単にそれが機能しているのかを習得したい場合。RyanKellyのDEXML、Dead Simple Object-XML Mapper、およびK. Jacobsonの単純なPython Webサービスフレームワークブログエントリのブログエントリは、小さくてシンプルです。 。実際、Webサービスの標準に準拠するための長い方法があります。 >> Class Hellons(モデル):...クラスメタ:...名前空間= "http:// localhost / hello" ... namespece_prefix = "h" ... >>>クラスHello(Hellons):.. 。name = fields.String()... >>> class helloresponse(Hellons):... greeting = fields.string()... >>> def hello(r):... helloresponse(greeting = 'hello' + r.name)そして次にHTTPサーバーの作成:>>> from httpserver >>> Dews Import Http >>> HttpServer(( 'localhost'、8080)、... http.handler( ' hello '、(Hello、Helloresponse、Hello)、...).serve_forever().serve_forever()これはhttp:// localhost:8080にWSDLを提供します。クライアントはDEWSによって提供されていませんが、SUDS(https://fedorahosted.org/suds/)をお勧めします。要件: ・Python


露 関連ソフトウェア