Thread: API Maker
View Single Post
Join Date: Jul 2008
Posts: 984
Reputation: Gribouillis is a jewel in the rough Gribouillis is a jewel in the rough Gribouillis is a jewel in the rough 
Solved Threads: 233
Gribouillis's Avatar
Gribouillis Gribouillis is offline Offline
Posting Shark

Re: API Maker

 
0
  #2
Jan 7th, 2009
The pydoc module (used by the function 'help') finds all definitions in a module and produces text or html documentation. I read that it does this by importing the module first and then using objects introspection. If you look at the code of pydoc.py in your standard library, you should find tools to extract the api from the module. This could be a good starting point, with a lot of work already done.
Last edited by Gribouillis; Jan 7th, 2009 at 5:26 am.
Reply With Quote