Skip to content

PythonPackages

Jürgen Hermann edited this page Jun 20, 2017 · 5 revisions

PythonIndex · PythonTooling

Python Essential Packages

Extra batteries… See also Awesome Python and https://github.com/jhermann/rudiments#other-packages.

General Purpose

  • For templating use Jinja2, unless you have compelling reasons for another choice (and there are many); pystache can be used for pure logic-less templates.
  • Arrow – Better dates and times for Python. See also pendulum.

Terminal Applications

  • Click or else stdlib's argparsse. click keeps simple use cases easy (just provide some function annotations), but also provides effortless bash completion, composability of CLI tools using it, and an extensive API for more complex scenarios. argparse is the current stdlib weapon of choice, if you want to avoid extra dependencies.

Web Applications

  • HTTP Requests (for Humans) – This is the Python package that everyone uses for working with HTTP on the client side.
Clone this wiki locally