O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

20 Python Libraries You Aren't Using (But Should)

Book Description

The Python ecosystem is vast and far-reaching in both scope and depth. Starting out in this crazy, open-source forest is daunting, and even with years of experience, it still requires continual effort to keep up-to-date with the best libraries and techniques. This report helps you explore some of the lesser known Python libraries and tools, including third-party modules and several extremely useful tools in the standard library that deserve more attention.

What makes this collection different from other lists online? Author Caleb Hattingh diligently spent time finding and testing hidden gems that fit several criteria: easy to install and use, cross-platform, applicable to more than one domain, and not yet popular but likely to become so soon. You will likely discover at least a couple of cool libraries that will assist you in your everyday Python activities, no matter your specialization.

This report examines:

  • Little-known standard library modules: collections, contextlib, concurrent.futures, logging, and sched
  • Flit for simplifying the process of submitting a Python package to the Python Package Index (PyPI)
  • Colorama and begins for making your command-line applications friendlier for users
  • Pyqtgraph and pywebview for creating graphical user interfaces (GUIs)
  • Watchdog, psutil, and ptpython for working closely with the operating system
  • Hug for exposing APIs for other users' programs to consume
  • Arrow and parsedatetime for working with dates and times
  • Third-party general-purpose libraries: Boltons, Cython, and the awesome-python curated list