Python Modules on Bluehost
Learn about the Python modules available on Bluehost servers, including both Python 3.9 and Python 2.7 environments.
Python Modules
Python is a flexible scripting language that functions between systems and interfaces. Python is used to simplify code writing with logical, simple code, used for small and large-scale projects and applications.
Newer servers run Python 3.9, which is faster and has more features. If you have new projects, Python 3.9+ is the better option. Older servers use Python 2.7 for legacy apps.
Python is preinstalled on Bluehost with CentOS. Depending on your type of account or server, you may need to install or update the Python version based on your needs.
Follow this guide to upload Python first if you need to add it to your server: How to Install Python on a Hosting Server.
See the list of modules below.
Python 3.9 Modules
These Python 3.9 modules are currently installed on servers. Any modules NOT listed are either incompatible or not allowed.
| __future__ | encodings | os | sqlite3 |
| _abc | ensurepip | ossaudiodev | smtpd |
| _aix_support | enum | packaging | smtplib |
| _ast | errno | parser | sndhdr |
| _asyncio | faulthandler | pathlib | socket |
| _audit | fcntl | pdb | socketserver |
| _bisect | filecmp | perf | socks |
| _blake2 | fileinput | pickle | sockshandler |
| _bootlocale | filelock | pickletools | spwd |
| _bootsubprocess | firewall | pip | sqlite3 |
| _bz2 | fnmatch | pipes | sre_compile |
| _capng | formatter | pkg_resources | sre_constants |
| _codecs | fractions | pkgutil | sre_parse |
| _codecs_cn | ftplib | platform | ssl |
| _codecs_hk | functools | platformdirs | stat |
| _codecs_iso2022 | gc | plistlib | statistics |
| _codecs_jp | genericpath | ply | string |
| _codecs_kr | getopt | poplib | stringprep |
| _codecs_tw | getpass | posix | struct |
| _collections | gettext | posixpath | subprocess |
| _collections_abc | gi | pprint | sunau |
| _compat_pickle | glob | prettytable | symbol |
| _compression | gpg | procfs | symtable |
| _contextvars | graphlib | profile | sys |
| _crypt | grp | pstats | sysconfig |
| _csv | gzip | pty | syslog |
| _ctypes | hashlib | py_compile | systemd |
| _curses | hawkey | pyclbr | tabnanny |
| _curses_panel | heapq | pydoc | tarfile |
| _datetime | hgdemandimport | pydoc_data | telnetlib |
| _dbm | hgext | pyexpat | tempfile |
| _dbus_bindings | hgext3rd | pygtkcompat | termios |
| _dbus_glib_bindings | hmac | pyinotify | textwrap |
| _decimal | html | pyparsing | threading |
| _distutils_hack | http | pyrsistent | time |
| _elementtree | idna | pytz | timeit |
| _functools | imaplib | pyudev | tkinter |
| _gdbm | imghdr | queue | token |
| _hashlib | imp | quopri | tokenize |
| _heapq | importlib | random | trace |
| _imp | inspect | re | traceback |
| _io | io | readline | tracemalloc |
| _json | ipaddress | reprlib | tty |
| _locale | isc | requests | tuned |
| _lsprof | itertools | resource | turtle |
| _lzma | jinja2 | rlcompleter | turtledemo |
| _markupbase | json | rpm | types |
| _multibytecodec | jsonpatch | runpy | typing |
| _multiprocessing | jsonpointer | sched | unicodedata |
| _opcode | jsonschema | secrets | unittest |
| _operator | keyword | select | urllib |
| _osx_support | lib2to3 | selectors | urllib3 |
| _peg_parser | libcomps | selinux | uu |
| _pickle | libdnf | semanage | uuid |
| _posixshmem | librepo | seobject | validate |
| _posixsubprocess | linecache | sepolicy | venv |
| _py_abc | locale | sepolgen | virtualenv |
| _pydecimal | logging | serial | warnings |
| _pyio | lxml | setools | wave |
| _pyrsistent_version | lzma | setuptools | weakref |
| _queue | mailbox | shelve | webbrowser |
| _random | mailcap | shlex | wsgiref |
| _selinux | markupsafe | shutil | xdrlib |
| _semanage | marshal | signal | xml |
| _signal | math | site | xmlrpc |
| _sitebuiltins | mercurial | six | xxlimited |
| _socket | mimetypes | smtp d | xxsubtype |
| _sqlite3 | mmap | smtplib | yaml |
| _sre | modulefinder | sndhdr | zipapp |
| abc | hgext3rd | reprlib | zipfile |
| aifc | hmac | requests | zipimport |
| antigravity | html | resource | zlib |
| argparse | http | rlcompleter | zoneinfo |
| array | idna | rpm |
Python 2.7 Modules
These Python 2.7 modules are currently installed on certain servers. Versions may be subject to change based on various factors such as technology, systems, servers, software modifications, or updates.
| __builtin__ | __future__ | _LWPCookieJar | _MozillaCookieJar |
| _abcoll | _ast | _bisect | _bsddb |
| _bytesio | _codecs | _codecs_cn | _codecs_hk |
| _codecs_iso2022 | _codecs_jp | _codecs_kr | _codecs_tw |
| _collections | _crypt | _csv | _ctypes |
| _curses | _curses_panel | _dbus_bindings | _dbus_glib_bindings |
| _elementtree | _fileio | _functools | _hashlib |
| _heapq | _hotshot | _imaging | _imagingcms |
| _imagingft | _imagingmath | _imagingtk | _json |
| _locale | _lsprof | _multibytecodec | _multiprocessing |
| _mysql | _mysql_exceptions | _psutil_linux | _psutil_posix |
| _random | _regex | _regex_core | _snack |
| _socket | _sqlite3 | _sqlitecache | _sre |
| _ssl | _strptime | _symtable | _threading_local |
| _tkinter | _warnings | _weakref | abc |
| abrt_exception_handler | acutil | aifc | anydbm |
| array | ast | asynchat | asyncore |
| atexit | audiodev | audioop | base64 |
| bdb | binascii | binhex | bisect |
| bsddb | bz2 | cPickle | cProfile |
| cStringIO | calendar | cgi | cgitb |
| chunk | cmath | cmd | code |
| codecs | codeop | collections | colorsys |
| commands | compileall | compiler | contextlib |
| cookielib | copy | copy_reg | crypt |
| csv | ctypes | curl | curses |
| datetime | dbhash | dbm | dbus |
| dbus_bindings | decimal | difflib | dircache |
| dis | distutils | django | dl |
| dumbdbm | dummy_thread | dummy_threading | easy_install |
| encodings | errno | ethtool | |
| exceptions | fcntl | filecmp | fileinput |
| flup | fnmatch | formatter | fpformat |
| fractions | ftplib | functools | future_builtins |
| gc | gdbm | genericpath | getopt |
| getpass | gettext | glob | gpgme |
| grp | gzip | hashlib | heapq |
| hgext | hmac | hotshot | htmlentitydefs |
| htmllib | httplib | idlelib | ihooks |
| imageop | imaplib | imghdr | imp |
| imputil | iniparse | inspect | io |
| iotop | itertools | iwlib | json |
| keyword | lib2to3 | libiscsi | libproxy |
| libsvn | libxml2 | libxml2mod | linecache |
| linuxaudiodev | locale | logging | macpath |
| macurl2path | mailbox | mailcap | markupbase |
| marshal | math | md5 | mercurial |
| mhlib | mimetools | mimetypes | mimify |
| mmap | modulefinder | multifile | multiprocessing |
| mutex | netrc | new | nis |
| nntplib | ntpath | nturl2path | numbers |
| opcode | operator | optparse | ossaudiodev |
| os | os2emxpath | parser | pdb |
| pickle | pickletools | pip | pipes |
| pkg_resources | pkgutil | platform | plistlib |
| popen2 | poplib | posix | posixfile |
| posixpath | pprint | profile | py_compile |
| pyclbr | pycurl | pydoc | pydoc_topics |
| pyexpat | pynche | quopri | random |
| re | readline | regex | report |
| reportclient | repr | resource | rexec |
| rfc822 | rlcompleter | robotparser | rpm |
| rpmUtils | runpy | sched | select |
| sets | setuptools | sgmllib | sha |
| shelve | shlex | shutil | signal |
| site | smtpd | smtplib | snack |
| sndhdr | socket | sos | spwd |
| sqlite3 | sqlitecachec | sre | sre_compile |
| sre_constants | sre_parse | ssl | stat |
| statvfs | string | stringold | stringprep |
| strop | struct | subprocess | sunau |
| sunaudio | svn | symbol | symtable |
| sys | syslog | tabnanny | tarfile |
| telnetlib | tempfile | test | textwrap |
| this | thread | threading | time |
| timeit | timing | tkColorChooser | tkCommonDialog |
| tkFileDialog | tkFont | tkMessageBox | tkSimpleDialog |
| toaiff | token | tokenize | trace |
| traceback | tty | turtle | types |
| unicodedata | unittest | urlgrabber | urllib |
| urllib2 | urlparse | user | uu |
| uuid | virtualenv | virtualenv_support | warnings |
| wave | weakref | webbrowser | whichdb |
| wsgiref | xdrlib | xmllib | xml |
| xmlrpclib | xxsubtype | yum | yumutils |
| zipfile | zipimport | zlib |
Additional Resources
Python's documentation, tutorials, and guides, are constantly evolving and can be viewed by version and other resources.
Summary
To ensure scripts run efficiently for your needs the process involves installing or updating the correct scripts and software versions when utilizing it on your server.
If you need further assistance, feel free to contact us via Chat or Phone:
- Chat Support - While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
- Phone Support -
- US: 888-401-4678
- International: +1 801-765-9400
You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.