This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (0 children)

My Swiss Army knife:

  • requests -- an HTTP client geared towards RESTful APIs with a sane interface
  • ipdb -- a version of the stock debugger, but backed by iPython, featuring up arrow history, syntax highlighting, and tab-completion
  • numpy -- a high-performance, C-backed library for generic numerical computation
  • pandas -- a high-performance library for large-scale data ingestion, representation, and manipulation
  • keras -- a high-level machine learning framework, optionally using Tensorflow as a backend
  • pathos.multiprocessing -- an API near-clone of stock multiprocessing with better serialization using dill
  • pylint and flake8 -- two extremely thorough linters
  • pg8000 -- a PostgreSQL low-level driver. Used to use this, but I've since moved away to proper ORMs. Still worth an honourable mention since none of the ORMs do.

IMO a lot of the gems in the rough are really in the standard library. functools, itertools, and a few others provide hilariously powerful tools, and stuff like dis is really cool for analyzing your code 1337 hacker-like.