To list all the installed python packages/modules
1) As super user(root), run the following command
# python -c "help('modules')"
Please wait a moment while I gather a list of all available modules...
BaseHTTPServer chunk invest repr
Bastion cmath io resource
CDROM cmd iotop rexec
CGIHTTPServer code ipaclient rfc822
CORBA codecs ipalib rlcompleter
ConfigParser codeop ipapython robotparser
Cookie collections itertools rpm
Crypto colorsys iwlib rpmUtils
DLFCN commands ixf86config runpy
DocXMLRPCServer compileall json scanext
HTMLParser compiler kerberos scdate
IN contextlib keyword sched
MimeWriter cookielib krbV sckdump
ORBit copy ldap scservices
OpenSSL copy_reg ldapurl select
PortableServer cracklib ldif selinux
Queue createrepo lib2to3 sets
SSSDConfig crypt libiscsi setuptools
SimpleHTTPServer cryptsetup libproxy sgmllib
SimpleXMLRPCServer csv libuser sha
SocketServer ctypes libxml2 shelve
StringIO cups libxml2mod shlex
TYPES cupsext linecache shutil
UserDict cupshelpers linuxaudiodev signal
UserList curl locale site
UserString curses logging slip
_LWPCookieJar datetime lxml smbc
_MozillaCookieJar dbhash macpath smtpd
__builtin__ dbm macurl2path smtplib
__future__ dbus mailbox snack
_abcoll dbus_bindings mailcap sndhdr
_anthy decimal mako socket
_ast decorator markupbase sos
_bisect default_encoding_utf8 markupsafe spwd
_bsddb deltarpm marshal sqlite3
_bytesio difflib math sqlitecachec
_codecs dircache md5 sre
_codecs_cn dis meh sre_compile
_codecs_hk distutils mhlib sre_constants
_codecs_iso2022 dl mimetools sre_parse
_codecs_jp dmidecode mimetypes ssl
_codecs_kr dmidecodemod mimify stat
_codecs_tw doctest mmap statvfs
_collections drv_libxml2 modulefinder string
_cracklib dsextras multifile stringold
_crypt dsml multiprocessing stringprep
_csv dumbdbm mutex strop
_ctypes dummy_thread netaddr struct
_curses dummy_threading netrc subprocess
_curses_panel easy_install new sunau
_dbus_bindings egg nis sunaudio
_dbus_glib_bindings email nntplib symbol
_deltarpm encodings nose symtable
_elementtree errno nss sys
_fileio ethtool ntpath syslog
_functools exceptions nturl2path system_config_keyboard
_gamin fcntl numbers tabnanny
_hashlib feedparser numpy talloc
_heapq filecmp opcode tarfile
_hotshot fileinput operator telnetlib
_json firstboot optparse tempfile
_ldap fnmatch orca termios
_locale formatter os test
_lsprof fpformat os2emxpath textwrap
_multibytecodec fractions ossaudiodev this
_multiprocessing ftplib packagekit thread
_ped functools pango threading
_random future_builtins pangocairo time
_snack gamin paramiko timeit
_socket gc parser timing
_sqlite3 gconf parted toaiff
_sqlitecache gdbm pcardext token
_sre genericpath pdb tokenize
_ssl getopt pickle trace
_strptime getpass pickletools traceback
_struct gettext pip tty
_symtable gio pipes types
_threading_local glib pkg_resources unicodedata
_warnings glob pkgutil unittest
_weakref gmenu platform uno
abc gnome plistlib unohelper
abrt_exception_handler gnomeapplet popen2 urlgrabber
acutil gnomecanvas poplib urllib
aifc gnomekeyring posix urllib2
anthy gnomevfs posixfile urlparse
anydbm gobject posixpath user
array gpgme pprint uu
ast grp profile uuid
asynchat gst pstats vte
asyncore gstoption pty warnings
atexit gtk pwd wave
atk gtksourceview2 py_compile weakref
audiodev gtkunixprint pyatspi webbrowser
audioop gzip pyclbr webkit
base64 hashlib pycryptsetup whichdb
bdb heapq pycurl wireshark_be
beaker hmac pydoc wireshark_gen
binascii hotshot pydoc_topics wnck
binhex hpmudext pyexpat wsgiref
bisect htmlentitydefs pygst xdg
block htmllib pygtk xdrlib
bonobo httplib pyhbac xf86config
bsddb ibus pykickstart xml
bz2 idlelib pynotify xmllib
cPickle ihooks pysss xmlrpclib
cProfile imageop pysss_murmur xxsubtype
cStringIO imaplib quopri yum
cairo imghdr random yumutils
calendar imp re zipfile
cas imputil readline zipimport
cgi iniparse report zlib
cgitb inspect reportclient
Enter any module name to get more help. Or, type "modules spam" to search for modules whose descriptions contain the word "spam".
2) Alternatively, pip-python command too can be used to list the installed python packages/modules
$ pip-python freeze
Beaker==1.3.1
Mako==0.3.4
MarkupSafe==0.9.2
SSSDConfig==1.9.2
cas==0.15
cups==1.0
cupshelpers==1.0
decorator==3.0.1
distribute==0.6.10
ethtool==0.6
feedparser==5.0.1
firstboot==1.110
freeipa==2.0.0.alpha.0
iniparse==0.3.1
iotop==0.3.2
ipapython==3.0.0
iwlib==1.0
kerberos==1.0
lxml==2.2.3
netaddr==0.7.5
nose==0.10.4
numpy==1.4.1
paramiko==1.7.5
pyOpenSSL==0.10
pycrypto==2.0.1
pycryptsetup==0.0.11
pycurl==7.19.0
pygpgme==0.1
pykickstart==1.74.12
python-default-encoding==0.1
python-dmidecode==3.10.13
python-ldap==2.3.10
python-meh==0.11
python-nss==0.13
pyxdg==0.18
scdate==1.9.60
sckdump==2.0.5
scservices==0.99.45
scservices.dbus==0.99.45
slip==0.2.20
slip.dbus==0.2.20
slip.gtk==0.2.20
smbc==1.0
urlgrabber==3.9.1
yum-metadata-parser==1.1.2
1) As super user(root), run the following command
# python -c "help('modules')"
Please wait a moment while I gather a list of all available modules...
BaseHTTPServer chunk invest repr
Bastion cmath io resource
CDROM cmd iotop rexec
CGIHTTPServer code ipaclient rfc822
CORBA codecs ipalib rlcompleter
ConfigParser codeop ipapython robotparser
Cookie collections itertools rpm
Crypto colorsys iwlib rpmUtils
DLFCN commands ixf86config runpy
DocXMLRPCServer compileall json scanext
HTMLParser compiler kerberos scdate
IN contextlib keyword sched
MimeWriter cookielib krbV sckdump
ORBit copy ldap scservices
OpenSSL copy_reg ldapurl select
PortableServer cracklib ldif selinux
Queue createrepo lib2to3 sets
SSSDConfig crypt libiscsi setuptools
SimpleHTTPServer cryptsetup libproxy sgmllib
SimpleXMLRPCServer csv libuser sha
SocketServer ctypes libxml2 shelve
StringIO cups libxml2mod shlex
TYPES cupsext linecache shutil
UserDict cupshelpers linuxaudiodev signal
UserList curl locale site
UserString curses logging slip
_LWPCookieJar datetime lxml smbc
_MozillaCookieJar dbhash macpath smtpd
__builtin__ dbm macurl2path smtplib
__future__ dbus mailbox snack
_abcoll dbus_bindings mailcap sndhdr
_anthy decimal mako socket
_ast decorator markupbase sos
_bisect default_encoding_utf8 markupsafe spwd
_bsddb deltarpm marshal sqlite3
_bytesio difflib math sqlitecachec
_codecs dircache md5 sre
_codecs_cn dis meh sre_compile
_codecs_hk distutils mhlib sre_constants
_codecs_iso2022 dl mimetools sre_parse
_codecs_jp dmidecode mimetypes ssl
_codecs_kr dmidecodemod mimify stat
_codecs_tw doctest mmap statvfs
_collections drv_libxml2 modulefinder string
_cracklib dsextras multifile stringold
_crypt dsml multiprocessing stringprep
_csv dumbdbm mutex strop
_ctypes dummy_thread netaddr struct
_curses dummy_threading netrc subprocess
_curses_panel easy_install new sunau
_dbus_bindings egg nis sunaudio
_dbus_glib_bindings email nntplib symbol
_deltarpm encodings nose symtable
_elementtree errno nss sys
_fileio ethtool ntpath syslog
_functools exceptions nturl2path system_config_keyboard
_gamin fcntl numbers tabnanny
_hashlib feedparser numpy talloc
_heapq filecmp opcode tarfile
_hotshot fileinput operator telnetlib
_json firstboot optparse tempfile
_ldap fnmatch orca termios
_locale formatter os test
_lsprof fpformat os2emxpath textwrap
_multibytecodec fractions ossaudiodev this
_multiprocessing ftplib packagekit thread
_ped functools pango threading
_random future_builtins pangocairo time
_snack gamin paramiko timeit
_socket gc parser timing
_sqlite3 gconf parted toaiff
_sqlitecache gdbm pcardext token
_sre genericpath pdb tokenize
_ssl getopt pickle trace
_strptime getpass pickletools traceback
_struct gettext pip tty
_symtable gio pipes types
_threading_local glib pkg_resources unicodedata
_warnings glob pkgutil unittest
_weakref gmenu platform uno
abc gnome plistlib unohelper
abrt_exception_handler gnomeapplet popen2 urlgrabber
acutil gnomecanvas poplib urllib
aifc gnomekeyring posix urllib2
anthy gnomevfs posixfile urlparse
anydbm gobject posixpath user
array gpgme pprint uu
ast grp profile uuid
asynchat gst pstats vte
asyncore gstoption pty warnings
atexit gtk pwd wave
atk gtksourceview2 py_compile weakref
audiodev gtkunixprint pyatspi webbrowser
audioop gzip pyclbr webkit
base64 hashlib pycryptsetup whichdb
bdb heapq pycurl wireshark_be
beaker hmac pydoc wireshark_gen
binascii hotshot pydoc_topics wnck
binhex hpmudext pyexpat wsgiref
bisect htmlentitydefs pygst xdg
block htmllib pygtk xdrlib
bonobo httplib pyhbac xf86config
bsddb ibus pykickstart xml
bz2 idlelib pynotify xmllib
cPickle ihooks pysss xmlrpclib
cProfile imageop pysss_murmur xxsubtype
cStringIO imaplib quopri yum
cairo imghdr random yumutils
calendar imp re zipfile
cas imputil readline zipimport
cgi iniparse report zlib
cgitb inspect reportclient
Enter any module name to get more help. Or, type "modules spam" to search for modules whose descriptions contain the word "spam".
2) Alternatively, pip-python command too can be used to list the installed python packages/modules
$ pip-python freeze
Beaker==1.3.1
Mako==0.3.4
MarkupSafe==0.9.2
SSSDConfig==1.9.2
cas==0.15
cups==1.0
cupshelpers==1.0
decorator==3.0.1
distribute==0.6.10
ethtool==0.6
feedparser==5.0.1
firstboot==1.110
freeipa==2.0.0.alpha.0
iniparse==0.3.1
iotop==0.3.2
ipapython==3.0.0
iwlib==1.0
kerberos==1.0
lxml==2.2.3
netaddr==0.7.5
nose==0.10.4
numpy==1.4.1
paramiko==1.7.5
pyOpenSSL==0.10
pycrypto==2.0.1
pycryptsetup==0.0.11
pycurl==7.19.0
pygpgme==0.1
pykickstart==1.74.12
python-default-encoding==0.1
python-dmidecode==3.10.13
python-ldap==2.3.10
python-meh==0.11
python-nss==0.13
pyxdg==0.18
scdate==1.9.60
sckdump==2.0.5
scservices==0.99.45
scservices.dbus==0.99.45
slip==0.2.20
slip.dbus==0.2.20
slip.gtk==0.2.20
smbc==1.0
urlgrabber==3.9.1
yum-metadata-parser==1.1.2
No comments:
Post a Comment