Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Python Tooling
Search
Senko Rašić
June 12, 2014
Programming
1
5.1k
Python Tooling
Going through some useful tools that make every-day Python developer easier
Senko Rašić
June 12, 2014
Tweet
Share
More Decks by Senko Rašić
See All by Senko Rašić
Online audio and video using free software and open standards
senko
1
52
Streamanje glazbe pomoću Go-a
senko
1
60
Chasing the Ghost
senko
1
100
Look Behind the Curtain
senko
0
99
Real Time Web with Django Channels
senko
1
170
Building highly available and fault tolerant sites on a budget
senko
1
400
Simple REST with Django
senko
1
89
Building good Web APIs
senko
0
140
Detecting duplicate SQL queries in Django
senko
1
940
Other Decks in Programming
See All in Programming
命名をリントする
chiroruxx
1
450
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
290
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
4
400
テストコード書いてみませんか?
onopon
2
220
ドメインイベント増えすぎ問題
h0r15h0
2
440
menu基盤チームによるGoogle Cloudの活用事例~Application Integration, Cloud Tasks編~
yoshifumi_ishikura
0
110
Mermaid x AST x 生成AI = コードとドキュメントの完全同期への道
shibuyamizuho
1
290
nekko cloudにおけるProxmox VE利用事例
irumaru
3
460
php-conference-japan-2024
tasuku43
0
370
「とりあえず動く」コードはよい、「読みやすい」コードはもっとよい / Code that 'just works' is good, but code that is 'readable' is even better.
mkmk884
4
790
暇に任せてProxmoxコンソール 作ってみました
karugamo
2
740
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
2
460
Featured
See All Featured
Building Your Own Lightsaber
phodgson
103
6.1k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
Into the Great Unknown - MozCon
thekraken
34
1.5k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Scaling GitHub
holman
459
140k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
Code Review Best Practice
trishagee
65
17k
Why Our Code Smells
bkeepers
PRO
335
57k
Transcript
Python Tooling Senko Rašić, Dobar Kod
HTTP Server python -m SimpleHTTPServer 8000
JSON validator
Benchmarking python -m test.pystone Caveat: single-core
Virtual environment pip ! virtualenv ! virtualenvwrapper
None
Linters & style checkers PEP8 - Style guide for Python
code (YMMV) ! pep8 ! pylint ! pyflakes ! flake8
None
Test coverage coverage.py ! ! Rules of thumb: ! 1.
higher is usually better 2. test only your code 3. test complex things
None
Docs pip install sphinx ! sphinx-quickstart ! make -C doc
html ! open doc/_build/html
My Awesome Module ================= ! This is a documentation for
my Python module of pure awesomeness. ! API Reference ============= ! .. automodule:: mymodule :members: doc/index.rst:
Better Python shell
None
Code editor / IDE VIM, Emacs, Sublime, PyCharm, Wing, Komodo,
… ! Customize!
That’s all, folks! ?