Skip to content

Latest commit

History

History
55 lines (38 loc) 路 2.5 KB

python-notes.md

File metadata and controls

55 lines (38 loc) 路 2.5 KB

Python Tips and Tricks

Generic Tips

pip

  • get-pip.py -- install pip
  • pip install --index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org pythonPackage

Standard Library

Python Libraries

  • inspect -- inspect.getmembers(object)
  • elementtree -- XML parsing
  • httpie -- curl replacement
  • requests -- HTTP(s) requests (can be found in botocore/vendored)
  • pandas -- big data analysis. Compares to R.
  • flask -- microframework/web
  • hug -- API generation
  • locust -- load testing (can be used for any webapp)
  • pillow -- python imaging library fork

Google App Engine

Testing

Great github projects

Asynchronous Programming

More

My Python Wiki page 馃摀
python tips