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
47
Streamanje glazbe pomoću Go-a
senko
1
50
Chasing the Ghost
senko
1
77
Look Behind the Curtain
senko
0
89
Real Time Web with Django Channels
senko
1
160
Building highly available and fault tolerant sites on a budget
senko
1
340
Simple REST with Django
senko
1
83
Building good Web APIs
senko
0
130
Detecting duplicate SQL queries in Django
senko
1
880
Other Decks in Programming
See All in Programming
PostmanでAPIの動作確認が楽になった話
h455h1
0
160
0→1と1→10の狭間で Javaという技術選定を振り返る/Reflecting on the Decision to Choose Java Between Scaling from 0 to 1 and 1 to 10
jaguar_imo
2
380
データアナリストが行うDatabricksを活用したETLの自動化事例
shinoa
0
260
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
0
180
educure_カリキュラム生操作マニュアル.pdf
linew_official
0
630
見た目から始める生産性向上
ikumatadokoro
7
730
PHPはいつから死んでいるかの調査
chiroruxx
1
340
Zero Waste, Radical Magic, and Italian Graft – Quarkus Efficiency Secrets
hollycummins
0
230
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
160
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
110
HUIT新歓2024「競技プログラミング、やってみませんか?」
slephy2784
1
260
From Spring Boot 2 to Spring Boot 3 with Java 22 and Jakarta EE
ivargrimstad
0
1.1k
Featured
See All Featured
Become a Pro
speakerdeck
PRO
10
4.5k
Web Components: a chance to create the future
zenorocha
305
41k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Designing with Data
zakiwarfel
95
4.8k
Building Your Own Lightsaber
phodgson
98
5.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
BBQ
matthewcrist
80
8.8k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
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! ?