#the list of libraries in python TensorFlow Scikit-Learn Numpy Keras PyTorch LightGBM Eli5 SciPy Theano Pandas Scikit- learn Truth Value Testing Boolean Operations â and, or, not Comparisons Numeric Types â int, float, complex Iterator Types Sequence Types â list, tuple, range Text Sequence Type â str Binary Sequence Types â bytes, bytearray, memoryview Set Types â set, frozenset Mapping Types â dict Context Manager Types Other Built-in Types Special Attributes Built-in Exceptions Base classes Concrete exceptions Warnings Exception hierarchy Text Processing Services string â Common string operations re â Regular expression operations difflib â Helpers for computing deltas textwrap â Text wrapping and filling unicodedata â Unicode Database stringprep â Internet String Preparation readline â GNU readline interface rlcompleter â Completion function for GNU readline Binary Data Services struct â Interpret bytes as packed binary data codecs â Codec registry and base classes Data Types datetime â Basic date and time types calendar â General calendar-related functions collections â Container datatypes collections.abc â Abstract Base Classes for Containers heapq â Heap queue algorithm bisect â Array bisection algorithm array â Efficient arrays of numeric values weakref â Weak references types â Dynamic type creation and names for built-in types copy â Shallow and deep copy operations pprint â Data pretty printer reprlib â Alternate repr() implementation enum â Support for enumerations Numeric and Mathematical Modules numbers â Numeric abstract base classes math â Mathematical functions cmath â Mathematical functions for complex numbers decimal â Decimal fixed point and floating point arithmetic fractions â Rational numbers random â Generate pseudo-random numbers statistics â Mathematical statistics functions Functional Programming Modules itertools â Functions creating iterators for efficient looping functools â Higher-order functions and operations on callable objects operator â Standard operators as functions File and Directory Access pathlib â Object-oriented filesystem paths os.path â Common pathname manipulations fileinput â Iterate over lines from multiple input streams stat â Interpreting stat() results filecmp â File and Directory Comparisons tempfile â Generate temporary files and directories glob â Unix style pathname pattern expansion fnmatch â Unix filename pattern matching linecache â Random access to text lines shutil â High-level file operations Data Persistence pickle â Python object serialization copyreg â Register pickle support functions shelve â Python object persistence marshal â Internal Python object serialization dbm â Interfaces to Unix âdatabasesâ sqlite3 â DB-API 2.0 interface for SQLite databases Data Compression and Archiving zlib â Compression compatible with gzip gzip â Support for gzip files bz2 â Support for bzip2 compression lzma â Compression using the LZMA algorithm zipfile â Work with ZIP archives tarfile â Read and write tar archive files File Formats csv â CSV File Reading and Writing configparser â Configuration file parser netrc â netrc file processing xdrlib â Encode and decode XDR data plistlib â Generate and parse Mac OS X .plist files Cryptographic Services hashlib â Secure hashes and message digests hmac â Keyed-Hashing for Message Authentication secrets â Generate secure random numbers for managing secrets Generic Operating System Services os â Miscellaneous operating system interfaces io â Core tools for working with streams time â Time access and conversions argparse â Parser for command-line options, arguments and sub-commands getopt â C-style parser for command line options logging â Logging facility for Python logging.config â Logging configuration logging.handlers â Logging handlers getpass â Portable password input curses â Terminal handling for character-cell displays curses.textpad â Text input widget for curses programs curses.ascii â Utilities for ASCII characters curses.panel â A panel stack extension for curses platform â Access to underlying platformâs identifying data errno â Standard errno system symbols ctypes â A foreign function library for Python Concurrent Execution threading â Thread-based parallelism multiprocessing â Process-based parallelism multiprocessing.shared_memory â Provides shared memory for direct access across processes The concurrent package concurrent.futures â Launching parallel tasks subprocess â Subprocess management sched â Event scheduler queue â A synchronized queue class _thread â Low-level threading API _dummy_thread â Drop-in replacement for the _thread module dummy_threading â Drop-in replacement for the threading module contextvars â Context Variables Context Variables Manual Context Management asyncio support Networking and Interprocess Communication asyncio â Asynchronous I/O socket â Low-level networking interface ssl â TLS/SSL wrapper for socket objects select â Waiting for I/O completion selectors â High-level I/O multiplexing asyncore â Asynchronous socket handler asynchat â Asynchronous socket command/response handler signal â Set handlers for asynchronous events mmap â Memory-mapped file support Internet Data Handling email â An email and MIME handling package json â JSON encoder and decoder mailcap â Mailcap file handling mailbox â Manipulate mailboxes in various formats mimetypes â Map filenames to MIME types base64 â Base16, Base32, Base64, Base85 Data Encodings binhex â Encode and decode binhex4 files binascii â Convert between binary and ASCII quopri â Encode and decode MIME quoted-printable data uu â Encode and decode uuencode files Structured Markup Processing Tools html â HyperText Markup Language support html.parser â Simple HTML and XHTML parser html.entities â Definitions of HTML general entities XML Processing Modules xml.etree.ElementTree â The ElementTree XML API xml.dom â The Document Object Model API xml.dom.minidom â Minimal DOM implementation xml.dom.pulldom â Support for building partial DOM trees xml.sax â Support for SAX2 parsers xml.sax.handler â Base classes for SAX handlers xml.sax.saxutils â SAX Utilities xml.sax.xmlreader â Interface for XML parsers xml.parsers.expat â Fast XML parsing using Expat Internet Protocols and Support webbrowser â Convenient Web-browser controller cgi â Common Gateway Interface support cgitb â Traceback manager for CGI scripts wsgiref â WSGI Utilities and Reference Implementation urllib â URL handling modules urllib.request â Extensible library for opening URLs urllib.response â Response classes used by urllib urllib.parse â Parse URLs into components urllib.error â Exception classes raised by urllib.request urllib.robotparser â Parser for robots.txt http â HTTP modules http.client â HTTP protocol client ftplib â FTP protocol client poplib â POP3 protocol client imaplib â IMAP4 protocol client nntplib â NNTP protocol client smtplib â SMTP protocol client smtpd â SMTP Server telnetlib â Telnet client uuid â UUID objects according to RFC 4122 socketserver â A framework for network servers http.server â HTTP servers http.cookies â HTTP state management http.cookiejar â Cookie handling for HTTP clients xmlrpc â XMLRPC server and client modules xmlrpc.client â XML-RPC client access xmlrpc.server â Basic XML-RPC servers ipaddress â IPv4/IPv6 manipulation library Multimedia Services audioop â Manipulate raw audio data aifc â Read and write AIFF and AIFC files sunau â Read and write Sun AU files wave â Read and write WAV files chunk â Read IFF chunked data colorsys â Conversions between color systems imghdr â Determine the type of an image sndhdr â Determine type of sound file ossaudiodev â Access to OSS-compatible audio devices Internationalization gettext â Multilingual internationalization services locale â Internationalization services Program Frameworks turtle â Turtle graphics cmd â Support for line-oriented command interpreters shlex â Simple lexical analysis Graphical User Interfaces with Tk tkinter â Python interface to Tcl/Tk tkinter.ttk â Tk themed widgets tkinter.tix â Extension widgets for Tk tkinter.scrolledtext â Scrolled Text Widget IDLE Other Graphical User Interface Packages Development Tools typing â Support for type hints pydoc â Documentation generator and online help system doctest â Test interactive Python examples unittest â Unit testing framework unittest.mock â mock object library unittest.mock â getting started 2to3 - Automated Python 2 to 3 code translation test â Regression tests package for Python test.support â Utilities for the Python test suite test.support.script_helper â Utilities for the Python execution tests Debugging and Profiling Audit events table bdb â Debugger framework faulthandler â Dump the Python traceback pdb â The Python Debugger The Python Profilers timeit â Measure execution time of small code snippets trace â Trace or track Python statement execution tracemalloc â Trace memory allocations Software Packaging and Distribution distutils â Building and installing Python modules ensurepip â Bootstrapping the pip installer venv â Creation of virtual environments zipapp â Manage executable Python zip archives Python Runtime Services sys â System-specific parameters and functions sysconfig â Provide access to Pythonâs configuration information builtins â Built-in objects __main__ â Top-level script environment warnings â Warning control dataclasses â Data Classes contextlib â Utilities for with-statement contexts abc â Abstract Base Classes atexit â Exit handlers traceback â Print or retrieve a stack traceback __future__ â Future statement definitions gc â Garbage Collector interface inspect â Inspect live objects site â Site-specific configuration hook Custom Python Interpreters code â Interpreter base classes codeop â Compile Python code Importing Modules zipimport â Import modules from Zip archives pkgutil â Package extension utility modulefinder â Find modules used by a script runpy â Locating and executing Python modules importlib â The implementation of import Using importlib.metadata Python Language Services parser â Access Python parse trees ast â Abstract Syntax Trees symtable â Access to the compilerâs symbol tables symbol â Constants used with Python parse trees token â Constants used with Python parse trees keyword â Testing for Python keywords tokenize â Tokenizer for Python source tabnanny â Detection of ambiguous indentation pyclbr â Python module browser support py_compile â Compile Python source files compileall â Byte-compile Python libraries dis â Disassembler for Python bytecode pickletools â Tools for pickle developers Miscellaneous Services formatter â Generic output formatting MS Windows Specific Services msilib â Read and write Microsoft Installer files msvcrt â Useful routines from the MS VC++ runtime winreg â Windows registry access winsound â Sound-playing interface for Windows Unix Specific Services posix â The most common POSIX system calls pwd â The password database spwd â The shadow password database grp â The group database crypt â Function to check Unix passwords termios â POSIX style tty control tty â Terminal control functions pty â Pseudo-terminal utilities fcntl â The fcntl and ioctl system calls pipes â Interface to shell pipelines resource â Resource usage information nis â Interface to Sunâs NIS (Yellow Pages) syslog â Unix syslog library routines Superseded Modules optparse â Parser for command line options imp â Access the import internals Undocumented Modules Platform specific modules