• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/Twisted/WebServicesTool/
1Web Services Tool
2
3Web Services Tool queries XML-RPC enabled servers via the "standard"
4introspection methods and displays a summary of the API.  It is
5implemented in Python using the PyObjC module.
6
7To use the application, simply provide the connection window with an URL
8to the XML-RPC handler of a web server.  If the server at least
9implements the listMethods() method, the app will display a list of
10available methods.
11
12See: http://pyobjc.sourceforge.net/
13
14Source for both the pyobjc module and the Web Services Tool are
15available via the pyobjc sourceforge CVS repository.
16
17The source of this application demonstrates
18
19* using Python's network libraries inside a Cocoa app
20
21
22* how to use multi-threading
23
24* how to create an NSToolbar
25
26* how to use an NSTableView
27
28b.bum
29bbum@codefab.com
30
31This application has been modified for Twisted.  It demonstrates:
32
33* using Twisted in a Cocoa app with the threadedselectreactor
34
35* how to write responsive single-threaded network applications
36
37* note that you will need Twisted 2.x, where x > 0.  Currently, this
38  is only available from svn, at revision 13576 or later.
39
40To run the demo:
41python setup.py py2app
42open dist/Web\ Services\ Tool.app
43
44bob@redivi.com
45