Going through some useful tools that make every-day Python developer easier
Python ToolingSenko Rašić, Dobar Kod
View Slide
HTTP Serverpython -m SimpleHTTPServer 8000
JSON validator
Benchmarkingpython -m test.pystoneCaveat: single-core
Virtual environmentpip!virtualenv!virtualenvwrapper
Linters & style checkersPEP8 - Style guide for Python code (YMMV)!pep8!pylint!pyflakes!flake8
Test coveragecoverage.py!!Rules of thumb:!1. higher is usually better2. test only your code3. test complex things
Docspip install sphinx!sphinx-quickstart!make -C doc html!open doc/_build/html
My Awesome Module=================!This is a documentation for myPython module of pure awesomeness.!API Reference=============!.. automodule:: mymodule:members:doc/index.rst:
Better Python shell
Code editor / IDEVIM, Emacs, Sublime, PyCharm, Wing, Komodo, …!Customize!
That’s all, folks!?