Which Python packages are available for Microsoft Azure Web Apps as inherited from the Platform
Introduction
If You use Python on Azure Web Apps, You probably use pip tool inside Your virtual environment - Azure Web Apps PaaS is automatically creating venv for python projects during deployments fdrom source code. Azure PaaS (Web Apps) also handles the requirements.txt files for autoinstalling packages required by Your project. It is all possible beacuse of pip which is included in venv. It is a tool which gets the package from https://pypi.python.org/pypi and install it inside of Your venv.
But some of Python packages needs to build some (other than Python) stuff - in example package hashlib - very popular, important and in many cases must-have package. pip (and other Python tools) uses GCC to compile this kind of stuff but unfortunately Python is not distributed with GCC and (what is more important) there is no GCC in Azure platform - You can only use Visual C++ Compiler. Of course You can precompile packages or contact with Your package-of-choice mainatiner to request that wheels be made available for the package. "With the recent availability of Microsoft Visual C++ Compiler for Python 2.7, it is now easier to build packages that have native code for Python 2.7."
Fortunately Azure Platform (Web Apps) have packages library for both Python 2.7 and Python 3.4 which is automatically inherited by venv. It means, that You don't need to build in example hashlib by Your own and include in Your project. Of course You must remeber which of the packages is inherited from Azure Platform and also You need to remember to not include this package in requirements.txt file.
Of course remembering such a list is not possible or very hard for every developer, so we need to have a list of this packages. It is possible to extract this list from Azure Platform using Web Apps console.
Below You can find the list of Python packages available in Azure Platform (2015/07/24):
Python 2.7
BaseHTTPServer.py
BaseHTTPServer.pyc
BaseHTTPServer.pyo
Bastion.py
Bastion.pyc
Bastion.pyo
CGIHTTPServer.py
CGIHTTPServer.pyc
CGIHTTPServer.pyo
ConfigParser.py
ConfigParser.pyc
ConfigParser.pyo
Cookie.py
Cookie.pyc
Cookie.pyo
DocXMLRPCServer.py
DocXMLRPCServer.pyc
DocXMLRPCServer.pyo
HTMLParser.py
HTMLParser.pyc
HTMLParser.pyo
MimeWriter.py
MimeWriter.pyc
MimeWriter.pyo
Queue.py
Queue.pyc
Queue.pyo
SimpleHTTPServer.py
SimpleHTTPServer.pyc
SimpleHTTPServer.pyo
SimpleXMLRPCServer.py
SimpleXMLRPCServer.pyc
SimpleXMLRPCServer.pyo
SocketServer.py
SocketServer.pyc
SocketServer.pyo
StringIO.py
StringIO.pyc
StringIO.pyo
UserDict.py
UserDict.pyc
UserDict.pyo
UserList.py
UserList.pyc
UserList.pyo
UserString.py
UserString.pyc
UserString.pyo
_LWPCookieJar.py
_LWPCookieJar.pyc
_LWPCookieJar.pyo
_MozillaCookieJar.py
_MozillaCookieJar.pyc
_MozillaCookieJar.pyo
__future__.py
__future__.pyc
__future__.pyo
__phello__.foo.py
__phello__.foo.pyc
__phello__.foo.pyo
_abcoll.py
_abcoll.pyc
_abcoll.pyo
_osx_support.py
_osx_support.pyc
_osx_support.pyo
_pyio.py
_pyio.pyc
_pyio.pyo
_strptime.py
_strptime.pyc
_strptime.pyo
_threading_local.py
_threading_local.pyc
_threading_local.pyo
_weakrefset.py
_weakrefset.pyc
_weakrefset.pyo
abc.py
abc.pyc
abc.pyo
aifc.py
aifc.pyc
aifc.pyo
antigravity.py
antigravity.pyc
antigravity.pyo
anydbm.py
anydbm.pyc
anydbm.pyo
argparse.py
argparse.pyc
argparse.pyo
ast.py
ast.pyc
ast.pyo
asynchat.py
asynchat.pyc
asynchat.pyo
asyncore.py
asyncore.pyc
asyncore.pyo
atexit.py
atexit.pyc
atexit.pyo
audiodev.py
audiodev.pyc
audiodev.pyo
base64.py
base64.pyc
base64.pyo
bdb.py
bdb.pyc
bdb.pyo
binhex.py
binhex.pyc
binhex.pyo
bisect.py
bisect.pyc
bisect.pyo
bsddb
cProfile.py
cProfile.pyc
cProfile.pyo
calendar.py
calendar.pyc
calendar.pyo
cgi.py
cgi.pyc
cgi.pyo
cgitb.py
cgitb.pyc
cgitb.pyo
chunk.py
chunk.pyc
chunk.pyo
cmd.py
cmd.pyc
cmd.pyo
code.py
code.pyc
code.pyo
codecs.py
codecs.pyc
codecs.pyo
codeop.py
codeop.pyc
codeop.pyo
collections.py
collections.pyc
collections.pyo
colorsys.py
colorsys.pyc
colorsys.pyo
commands.py
commands.pyc
commands.pyo
compileall.py
compileall.pyc
compileall.pyo
compiler
contextlib.py
contextlib.pyc
contextlib.pyo
cookielib.py
cookielib.pyc
cookielib.pyo
copy.py
copy.pyc
copy.pyo
copy_reg.py
copy_reg.pyc
copy_reg.pyo
csv.py
csv.pyc
csv.pyo
ctypes
curses
dbhash.py
dbhash.pyc
dbhash.pyo
decimal.py
decimal.pyc
decimal.pyo
difflib.py
difflib.pyc
difflib.pyo
dircache.py
dircache.pyc
dircache.pyo
dis.py
dis.pyc
dis.pyo
distutils
doctest.py
doctest.pyc
doctest.pyo
dumbdbm.py
dumbdbm.pyc
dumbdbm.pyo
dummy_thread.py
dummy_thread.pyc
dummy_thread.pyo
dummy_threading.py
dummy_threading.pyc
dummy_threading.pyo
email
encodings
filecmp.py
filecmp.pyc
filecmp.pyo
fileinput.py
fileinput.pyc
fileinput.pyo
fnmatch.py
fnmatch.pyc
fnmatch.pyo
formatter.py
formatter.pyc
formatter.pyo
fpformat.py
fpformat.pyc
fpformat.pyo
fractions.py
fractions.pyc
fractions.pyo
ftplib.py
ftplib.pyc
ftplib.pyo
functools.py
functools.pyc
functools.pyo
genericpath.py
genericpath.pyc
genericpath.pyo
getopt.py
getopt.pyc
getopt.pyo
getpass.py
getpass.pyc
getpass.pyo
gettext.py
gettext.pyc
gettext.pyo
glob.py
glob.pyc
glob.pyo
gzip.py
gzip.pyc
gzip.pyo
hashlib.py
hashlib.pyc
hashlib.pyo
heapq.py
heapq.pyc
heapq.pyo
hmac.py
hmac.pyc
hmac.pyo
hotshot
htmlentitydefs.py
htmlentitydefs.pyc
htmlentitydefs.pyo
htmllib.py
htmllib.pyc
htmllib.pyo
httplib.py
httplib.pyc
httplib.pyo
idlelib
ihooks.py
ihooks.pyc
ihooks.pyo
imaplib.py
imaplib.pyc
imaplib.pyo
imghdr.py
imghdr.pyc
imghdr.pyo
importlib
imputil.py
imputil.pyc
imputil.pyo
inspect.py
inspect.pyc
inspect.pyo
io.py
io.pyc
io.pyo
json
keyword.py
keyword.pyc
keyword.pyo
lib-tk
lib2to3
linecache.py
linecache.pyc
linecache.pyo
locale.py
locale.pyc
locale.pyo
logging
macpath.py
macpath.pyc
macpath.pyo
macurl2path.py
macurl2path.pyc
macurl2path.pyo
mailbox.py
mailbox.pyc
mailbox.pyo
mailcap.py
mailcap.pyc
mailcap.pyo
markupbase.py
markupbase.pyc
markupbase.pyo
md5.py
md5.pyc
md5.pyo
mhlib.py
mhlib.pyc
mhlib.pyo
mimetools.py
mimetools.pyc
mimetools.pyo
mimetypes.py
mimetypes.pyc
mimetypes.pyo
mimify.py
mimify.pyc
mimify.pyo
modulefinder.py
modulefinder.pyc
modulefinder.pyo
msilib
multifile.py
multifile.pyc
multifile.pyo
multiprocessing
mutex.py
mutex.pyc
mutex.pyo
netrc.py
netrc.pyc
netrc.pyo
new.py
new.pyc
new.pyo
nntplib.py
nntplib.pyc
nntplib.pyo
ntpath.py
ntpath.pyc
ntpath.pyo
nturl2path.py
nturl2path.pyc
nturl2path.pyo
numbers.py
numbers.pyc
numbers.pyo
opcode.py
opcode.pyc
opcode.pyo
optparse.py
optparse.pyc
optparse.pyo
os.py
os.pyc
os.pyo
os2emxpath.py
os2emxpath.pyc
os2emxpath.pyo
pdb.py
pdb.pyc
pdb.pyo
pickle.py
pickle.pyc
pickle.pyo
pickletools.py
pickletools.pyc
pickletools.pyo
pipes.py
pipes.pyc
pipes.pyo
pkgutil.py
pkgutil.pyc
pkgutil.pyo
platform.py
platform.pyc
platform.pyo
plistlib.py
plistlib.pyc
plistlib.pyo
popen2.py
popen2.pyc
popen2.pyo
poplib.py
poplib.pyc
poplib.pyo
posixfile.py
posixfile.pyc
posixfile.pyo
posixpath.py
posixpath.pyc
posixpath.pyo
pprint.py
pprint.pyc
pprint.pyo
profile.py
profile.pyc
profile.pyo
pstats.py
pstats.pyc
pstats.pyo
pty.py
pty.pyc
pty.pyo
py_compile.py
py_compile.pyc
py_compile.pyo
pyclbr.py
pyclbr.pyc
pyclbr.pyo
pydoc.py
pydoc.pyc
pydoc.pyo
pydoc_data
quopri.py
quopri.pyc
quopri.pyo
random.py
random.pyc
random.pyo
re.py
re.pyc
re.pyo
repr.py
repr.pyc
repr.pyo
rexec.py
rexec.pyc
rexec.pyo
rfc822.py
rfc822.pyc
rfc822.pyo
rlcompleter.py
rlcompleter.pyc
rlcompleter.pyo
robotparser.py
robotparser.pyc
robotparser.pyo
runpy.py
runpy.pyc
runpy.pyo
sched.py
sched.pyc
sched.pyo
sets.py
sets.pyc
sets.pyo
sgmllib.py
sgmllib.pyc
sgmllib.pyo
sha.py
sha.pyc
sha.pyo
shelve.py
shelve.pyc
shelve.pyo
shlex.py
shlex.pyc
shlex.pyo
shutil.py
shutil.pyc
shutil.pyo
site-packages
site.py
site.pyc
site.pyo
smtpd.py
smtpd.pyc
smtpd.pyo
smtplib.py
smtplib.pyc
smtplib.pyo
sndhdr.py
sndhdr.pyc
sndhdr.pyo
socket.py
socket.pyc
socket.pyo
sqlite3
sre.py
sre.pyc
sre.pyo
sre_compile.py
sre_compile.pyc
sre_compile.pyo
sre_constants.py
sre_constants.pyc
sre_constants.pyo
sre_parse.py
sre_parse.pyc
sre_parse.pyo
ssl.py
ssl.pyc
ssl.pyo
stat.py
stat.pyc
stat.pyo
statvfs.py
statvfs.pyc
statvfs.pyo
string.py
string.pyc
string.pyo
stringold.py
stringold.pyc
stringold.pyo
stringprep.py
stringprep.pyc
stringprep.pyo
struct.py
struct.pyc
struct.pyo
subprocess.py
subprocess.pyc
subprocess.pyo
sunau.py
sunau.pyc
sunau.pyo
sunaudio.py
sunaudio.pyc
sunaudio.pyo
symbol.py
symbol.pyc
symbol.pyo
symtable.py
symtable.pyc
symtable.pyo
sysconfig.py
sysconfig.pyc
sysconfig.pyo
tabnanny.py
tabnanny.pyc
tabnanny.pyo
tarfile.py
tarfile.pyc
tarfile.pyo
telnetlib.py
telnetlib.pyc
telnetlib.pyo
tempfile.py
tempfile.pyc
tempfile.pyo
test
textwrap.py
textwrap.pyc
textwrap.pyo
this.py
this.pyc
this.pyo
threading.py
threading.pyc
threading.pyo
timeit.py
timeit.pyc
timeit.pyo
toaiff.py
toaiff.pyc
toaiff.pyo
token.py
token.pyc
token.pyo
tokenize.py
tokenize.pyc
tokenize.pyo
trace.py
trace.pyc
trace.pyo
traceback.py
traceback.pyc
traceback.pyo
tty.py
tty.pyc
tty.pyo
types.py
types.pyc
types.pyo
unittest
urllib.py
urllib.pyc
urllib.pyo
urllib2.py
urllib2.pyc
urllib2.pyo
urlparse.py
urlparse.pyc
urlparse.pyo
user.py
user.pyc
user.pyo
uu.py
uu.pyc
uu.pyo
uuid.py
uuid.pyc
uuid.pyo
warnings.py
warnings.pyc
warnings.pyo
wave.py
wave.pyc
wave.pyo
weakref.py
weakref.pyc
weakref.pyo
webbrowser.py
webbrowser.pyc
webbrowser.pyo
whichdb.py
whichdb.pyc
whichdb.pyo
wsgiref
xdrlib.py
xdrlib.pyc
xdrlib.pyo
xml
xmllib.py
xmllib.pyc
xmllib.pyo
xmlrpclib.py
xmlrpclib.pyc
xmlrpclib.pyo
zipfile.py
zipfile.pyc
zipfile.pyo
Python 3.4
__future__.py
__phello__.foo.py
__pycache__
_bootlocale.py
_collections_abc.py
_compat_pickle.py
_dummy_thread.py
_markupbase.py
_osx_support.py
_pyio.py
_sitebuiltins.py
_strptime.py
_threading_local.py
_weakrefset.py
abc.py
aifc.py
antigravity.py
argparse.py
ast.py
asynchat.py
asyncio
asyncore.py
base64.py
bdb.py
binhex.py
bisect.py
bz2.py
cProfile.py
calendar.py
cgi.py
cgitb.py
chunk.py
cmd.py
code.py
codecs.py
codeop.py
collections
colorsys.py
compileall.py
concurrent
configparser.py
contextlib.py
copy.py
copyreg.py
crypt.py
csv.py
ctypes
curses
datetime.py
dbm
decimal.py
difflib.py
dis.py
distutils
doctest.py
dummy_threading.py
email
encodings
ensurepip
enum.py
filecmp.py
fileinput.py
fnmatch.py
formatter.py
fractions.py
ftplib.py
functools.py
genericpath.py
getopt.py
getpass.py
gettext.py
glob.py
gzip.py
hashlib.py
heapq.py
hmac.py
html
http
idlelib
imaplib.py
imghdr.py
imp.py
importlib
inspect.py
io.py
ipaddress.py
json
keyword.py
lib2to3
linecache.py
locale.py
logging
lzma.py
macpath.py
macurl2path.py
mailbox.py
mailcap.py
mimetypes.py
modulefinder.py
msilib
multiprocessing
netrc.py
nntplib.py
ntpath.py
nturl2path.py
numbers.py
opcode.py
operator.py
optparse.py
os.py
pathlib.py
pdb.py
pickle.py
pickletools.py
pipes.py
pkgutil.py
platform.py
plistlib.py
poplib.py
posixpath.py
pprint.py
profile.py
pstats.py
pty.py
py_compile.py
pyclbr.py
pydoc.py
pydoc_data
queue.py
quopri.py
random.py
re.py
reprlib.py
rlcompleter.py
runpy.py
sched.py
selectors.py
shelve.py
shlex.py
shutil.py
site-packages
site.py
smtpd.py
smtplib.py
sndhdr.py
socket.py
socketserver.py
sqlite3
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py
stat.py
statistics.py
string.py
stringprep.py
struct.py
subprocess.py
sunau.py
symbol.py
symtable.py
sysconfig.py
tabnanny.py
tarfile.py
telnetlib.py
tempfile.py
test
textwrap.py
this.py
threading.py
timeit.py
tkinter
token.py
tokenize.py
trace.py
traceback.py
tracemalloc.py
tty.py
turtle.py
turtledemo
types.py
unittest
urllib
uu.py
uuid.py
venv
warnings.py
wave.py
weakref.py
webbrowser.py
wsgiref
xdrlib.py
xml
xmlrpc
zipfile.py
See Also
Another important place to find a huge amount of Logic Apps related articles is the TechNet Wiki itself. The best entry point is Microsoft Azure App Service Resources on the TechNet Wiki.