Whois-Client is a project mainly written in PYTHON and SHELL, based on the View license.
Whois client fully written in Python. (Based on pywhois)
Whois client fully written in Python. It uses the list of assignations provided by the whois client of debian (https://github.com/weppos/whois-debian).
To parse the whois entries, it uses an improved version of pywhois: https://code.google.com/p/pywhois/ but the basic idea is the same.
To get a whois entry:
pywhois
To get a RIS entry:
pyRIS
More information on how to use the lib ASAP.
This code has been first written to be used in bgp ranking: http://gitorious.org/bgp-ranking but it is now a standalone project.