Skip to content

Instantly share code, notes, and snippets.

@ldong
Created July 23, 2014 23:50
Show Gist options
  • Save ldong/141ec422e717daab2a0a to your computer and use it in GitHub Desktop.
Save ldong/141ec422e717daab2a0a to your computer and use it in GitHub Desktop.
Python Libraries

Python Libs

Common libraries

Standard libs

argparse

ConfigParser

html parser

zip, filter, map

itertools

functools

Counter

UserDict

defaultdict

random

binascii

path

re

subprocess

pdb

traceback

logging

pprint

threading/multiprocessing

os/sys

Queue

urllib/urllib2/httplib

cvs

pickle/cPickle

hashlib, md5, sha

cvs

json/simplejson

timeit

cProfile

glob

atexit

dis(Disassembler for Python bytecode)

Third party libs

virtualenv

sh

SOAP

BeautifulSoup

lxml, html/xml parser

requests

Pelican

Markdoc

PEP8 Checker

Syntax Highlighter

paramiko, ssh

selenium, UI simulators

pycurl, cURL lib

[mechanize](Stateful programmatic web browsing),

Fabric

ipdb, debugger

pymongo, python Mongo driver

rabbitmq

PIL, graphs

matplotlib, drawing

IMage

mako, template library

numpy/scipy, Scientific python

Scrapy, web crawler

pyQuery, web crawler, using jQuery

SQLAlchemy, Object-relational mapping(ORM)

Gevent, using libev event loop

wxpython, GUI

dateutil, utilities for date time

fuzzywuzz

watchdog

celery

GitPython, git

Testing

  1. Mock
  2. Nose, TDD
  3. Coverage
  4. Behave, BDD

Web:

  1. Flask, web
  2. django
  3. tornado
  4. web.py
  5. web2py
  6. uliweb
  7. flask
  8. twisted
  9. bottle
  10. cherrypy
  11. Quixote

Library Collections

Easy Python

Awesome Python

Reference

Common and third party libs

My another gist

Common libs

[Subprocess and Shell Commands in Python] (http://www.pythonforbeginners.com/os/subprocess-for-system-administrators)

[Example Google Style Python Docstrings] (http://sphinxcontrib-napoleon.readthedocs.org/en/latest/example_google.html)

Python iteration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment