Skip to content

Added in speed section #867

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 277 commits into from
Jan 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
277 commits
Select commit Hold shift + click to select a range
bc75d10
Merge pull request #773 from willhumphreys/master
kennethreitz Nov 29, 2016
0b43cd8
Fixed broken link on Magic Methods with new link and a brief note. Th…
hector12free Nov 30, 2016
9c33ab6
Change the link to Magic Methods from its GitHub repo to its pdf file…
hector12free Nov 30, 2016
48ee678
Format note according to the Style Guide
hector12free Nov 30, 2016
6a1c9ce
Merge pull request #774 from alexholoo/master
kennethreitz Nov 30, 2016
0b174a8
Merge pull request #768 from caimaoy/update-tox-url
kennethreitz Nov 30, 2016
e414047
typo fix in virtualenv development instructions
Dec 4, 2016
a1a839c
Merge pull request #775 from ngoldbaum/patch-1
kennethreitz Dec 4, 2016
61ad4a6
Update structure.rst
gabbarnama Dec 6, 2016
59f7075
Merge pull request #1 from gabbarnama/gabbarnama-patch-1
gabbarnama Dec 6, 2016
2d21986
Merge pull request #777 from gabbarnama/master
kennethreitz Dec 6, 2016
c939324
Merge pull request #687 from adamn/master
kennethreitz Dec 7, 2016
63841bd
sierra
Dec 7, 2016
96ddd77
improvements
Dec 7, 2016
54ff4fc
Click is stable - not upcoming
davidfischer Dec 12, 2016
5350bc4
Update section about Gondor
Dec 12, 2016
3a4e57c
Merge pull request #779 from davidfischer/click-not-upcoming
kennethreitz Dec 12, 2016
28928df
Merge pull request #781 from browniebroke/gondor
kennethreitz Dec 12, 2016
9c4af31
Update psutil project page to not use Google Code
klauern Dec 16, 2016
97aa378
Merge pull request #782 from klauern/patch-1
kennethreitz Dec 16, 2016
2d4d8b4
Typo fix
derekargueta Dec 17, 2016
e671ad3
Merge pull request #783 from derekargueta/master
kennethreitz Dec 18, 2016
8ef764d
new japanese translation!
kennethreitz Jan 5, 2017
cde1e4f
broken link fix
abhikpal Jan 23, 2017
9826b1b
Update W3Schools link to the XPath Tutorial.
vharsh Jan 23, 2017
14e4a28
Merge pull request #791 from vharsh/patch-1
kennethreitz Jan 23, 2017
dc6bcc2
Merge pull request #789 from abhikpal/fix-scrape-broken-link
kennethreitz Jan 23, 2017
5af5504
upgraded sidebar
kennethreitz Feb 3, 2017
0b1f1d9
Update web.rst
kennethreitz Feb 4, 2017
50a6012
edmsynths.com
kennethreitz Feb 12, 2017
46b5e63
add example to mutable/immutable types
danshorstein Feb 18, 2017
2136f4b
Merge branch 'patch-1' of https://github.com/danshorstein/python-guide
kennethreitz Feb 23, 2017
f20a2f6
Update logging.rst
userlerueda Feb 23, 2017
ff3879c
Update virtualenvs.rst
userlerueda Feb 23, 2017
d1f2412
Indentation typo
thinkerbot Feb 24, 2017
f3bf91a
tests: use __file__ for package import
tv3141 Feb 28, 2017
453cefb
Merge pull request #801 from tv3141/package_import_from_tests
kennethreitz Mar 10, 2017
885185a
Merge pull request #800 from thinkerbot/patch-1
kennethreitz Mar 10, 2017
a0b6fc8
Merge pull request #799 from userlerueda/patch-2
kennethreitz Mar 10, 2017
db83c8f
Merge pull request #798 from userlerueda/patch-1
kennethreitz Mar 10, 2017
0458770
Fix undeline warnings
serra Mar 11, 2017
157a3ff
Fix block quote
serra Mar 11, 2017
d55db97
Add reference to Lock
serra Mar 11, 2017
85762b8
We do not want to have it show up in any toc
serra Mar 11, 2017
0cb55a8
This is not a highlightable cpp code block
serra Mar 11, 2017
3b63e28
Use Mako highlighting instead of html
serra Mar 11, 2017
873b21f
Properly set code-block
serra Mar 11, 2017
2f90289
Remove wrong usage of :option:
serra Mar 11, 2017
45b70b3
Merge pull request #804 from serra/fix-build-warnings
kennethreitz Mar 11, 2017
aa15249
Link to **Python** docs of travis.
Mar 14, 2017
c14dccf
Merge pull request #807 from guettli/patch-1
kennethreitz Mar 16, 2017
1fd684a
Add Pt_BR - Fixes #788
vcaldas Mar 19, 2017
8376cfa
Update sidebarintro.html
vcaldas Mar 19, 2017
9de13b1
Merge pull request #808 from vcaldas/language
kennethreitz Apr 4, 2017
d6789d2
Check virtualenv installation, close #657
toanant Apr 10, 2017
2994138
Merge pull request #811 from toanant/patch2
kennethreitz Apr 13, 2017
d3d2fcc
python 3 guides
kennethreitz Apr 13, 2017
0c97ce5
update python 2 guides
kennethreitz Apr 13, 2017
ef35770
update installation
kennethreitz Apr 13, 2017
fd8cce0
fix contents
kennethreitz Apr 13, 2017
7096c95
syntax
kennethreitz Apr 13, 2017
9164a1b
working with python 3
kennethreitz Apr 13, 2017
a8ed45d
fixes
kennethreitz Apr 13, 2017
83d1fd4
fixes
kennethreitz Apr 13, 2017
d3e97f2
Remove junk in Jinja code block
Apr 15, 2017
6e0c78d
Adding a reminder for preventing a misuse of the example in "common g…
Apr 18, 2017
e324776
Merge pull request #814 from monchitos82/master
kennethreitz Apr 25, 2017
8fc52da
Merge pull request #812 from ortymid/patch-1
kennethreitz Apr 25, 2017
a3055ae
sponsor
kennethreitz Apr 27, 2017
beef67f
Merge branch 'master' of github.com:kennethreitz/python-guide
kennethreitz Apr 27, 2017
a094400
tweaks
kennethreitz Apr 27, 2017
7f118fc
changes
kennethreitz Apr 27, 2017
39d7cbf
ad placement
kennethreitz Apr 27, 2017
40ac0ad
wsl-guide
kennethreitz May 1, 2017
d88edd0
test adding link
gabrieldes May 8, 2017
62956e9
pytest url fix
May 8, 2017
18d3443
Update learning.rst
gabrieldes May 12, 2017
f412d3a
Update learning.rst
gabrieldes May 12, 2017
6776bc7
Update scrape.rst
gabrieldes May 12, 2017
8aa80b5
Merge pull request #818 from gabrieldes/patch-1
kennethreitz May 12, 2017
88b5223
Merge pull request #817 from r3ticuli/patch-1
kennethreitz May 12, 2017
d2708a6
Adding most basic bbfreeze code
Barmaley13 May 15, 2017
fcd3b13
Adding some documentation
Barmaley13 May 15, 2017
3f8f2fd
`pep8` is nowadays called `pycodestyle`
dandersson May 25, 2017
daa0fca
Merge pull request #820 from dandersson/pep8-is-now-pycodestyle
kennethreitz May 26, 2017
76a7e7c
Merge pull request #819 from Barmaley13/master
kennethreitz May 26, 2017
85ff17b
Create CODE_OF_CONDUCT.md
kennethreitz Jun 5, 2017
90c6b8e
Merge pull request #823 from kennethreitz/add-code-of-conduct-1
kennethreitz Jun 5, 2017
ceffbd8
no ad, for now
kennethreitz Jun 9, 2017
8f7a436
Revert "no ad, for now"
kennethreitz Jun 9, 2017
31f3cf5
update py27 to 36
CarlFK Jun 16, 2017
2660764
Merge pull request #825 from CarlFK/master
kennethreitz Jun 16, 2017
1446c90
Update the Linux installation instructions to reflect Fedora
hroncok Jun 21, 2017
38ce99c
Remove "Ubuntu" from a link to page about general Linux
hroncok Jun 22, 2017
e817de1
Merge pull request #826 from hroncok/fedora
kennethreitz Jun 22, 2017
2b9d469
ad
kennethreitz Jul 7, 2017
39996e8
Merge branch 'master' of github.com:kennethreitz/python-guide
kennethreitz Jul 7, 2017
6b36563
no ad
kennethreitz Jul 7, 2017
79caf4f
fixing link to manual of PyInstaller.
Jul 12, 2017
0537fb4
Merge pull request #829 from pintman/pyinstaller_link_fix
kennethreitz Jul 20, 2017
4432d82
lengthened title underline appropriately
elanorigby Jul 30, 2017
d39c485
clarified module naming re: underscores
elanorigby Jul 30, 2017
1c52b55
Merge pull request #830 from elanorigby/master
kennethreitz Jul 30, 2017
e0f8d91
correct wrong Mac OS X app bundles link
Prodesire Jul 31, 2017
6776b2f
Fix grammar
morenoh149 Jul 31, 2017
1a5c6e4
Merge pull request #832 from morenoh149/patch-1
kennethreitz Jul 31, 2017
9d95236
Merge pull request #831 from Prodesire/master
kennethreitz Aug 1, 2017
7be5179
Add version control ignores to gotchas
vivekjoshy Aug 11, 2017
ec5f791
Correct typo
vivekjoshy Aug 11, 2017
5249c9c
Merge pull request #833 from daegontaven/master
kennethreitz Aug 12, 2017
af75a6a
Changes in how homebrew installs Python on Mac OSX
Aug 17, 2017
2d1b231
Changes in how homebrew installs Python on Mac OSX
Aug 17, 2017
f72ce67
Merge pull request #835 from cclauss/patch-3
kennethreitz Aug 17, 2017
eb1170d
Merge pull request #834 from cclauss/patch-2
kennethreitz Aug 17, 2017
6656c15
BTC
kennethreitz Aug 21, 2017
9a12bb7
Merge branch 'master' of github.com:kennethreitz/python-guide
kennethreitz Aug 21, 2017
7a58e5c
python 3 propganda™
kennethreitz Aug 28, 2017
3254825
Update sidebarintro.html
kennethreitz Aug 30, 2017
0c7fed1
Update sidebarlogo.html
kennethreitz Aug 30, 2017
6a8feb0
Update virtualenvs.rst
kennethreitz Aug 30, 2017
a554f0f
Update virtualenvs.rst
kennethreitz Aug 30, 2017
aee8a9f
Update virtualenvs.rst
kennethreitz Aug 30, 2017
2ca6cdb
Update virtualenvs.rst
kennethreitz Aug 30, 2017
53c1c7d
Update virtualenvs.rst
kennethreitz Aug 30, 2017
97ebece
Update installation.rst
kennethreitz Aug 30, 2017
fbf0d8b
Update which-python.rst
kennethreitz Aug 30, 2017
eeff404
Update which-python.rst
kennethreitz Aug 30, 2017
eab357e
Update installation.rst
kennethreitz Aug 30, 2017
c803543
Update linux.rst
kennethreitz Aug 30, 2017
4c5f4c2
Update osx.rst
kennethreitz Aug 30, 2017
6579fcc
Update win.rst
kennethreitz Aug 30, 2017
134bf0a
Update virtualenvs.rst
kennethreitz Aug 30, 2017
86e7d9f
Update virtualenvs.rst
kennethreitz Aug 30, 2017
ba1cdd5
Update virtualenvs.rst
kennethreitz Aug 31, 2017
4dbf587
Update virtualenvs.rst
kennethreitz Aug 31, 2017
a336f79
Update win.rst
kennethreitz Sep 1, 2017
7c070d7
Update index.rst
kennethreitz Sep 4, 2017
9ba0f4b
Update installation.rst
kennethreitz Sep 4, 2017
900ff69
Update which-python.rst
kennethreitz Sep 4, 2017
87a6f8d
Update linux.rst
kennethreitz Sep 4, 2017
dae92ca
Update linux.rst
kennethreitz Sep 4, 2017
a3ac306
Update osx.rst
kennethreitz Sep 4, 2017
bf0bf4a
Update win.rst
kennethreitz Sep 4, 2017
e69ced1
Update linux.rst
kennethreitz Sep 4, 2017
e24d7d0
Update osx.rst
kennethreitz Sep 4, 2017
0286285
Update win.rst
kennethreitz Sep 4, 2017
e8ae202
Update structure.rst
kennethreitz Sep 4, 2017
62e0474
Update gotchas.rst
kennethreitz Sep 4, 2017
4c37b09
Update logging.rst
kennethreitz Sep 4, 2017
e2ccc68
Update style.rst
kennethreitz Sep 4, 2017
088bbe9
Update documentation.rst
kennethreitz Sep 4, 2017
7fefdb0
Update license.rst
kennethreitz Sep 4, 2017
18fc514
Update reading.rst
kennethreitz Sep 4, 2017
9c0c28d
Update tests.rst
kennethreitz Sep 4, 2017
6305cef
Update tests.rst
kennethreitz Sep 4, 2017
1d6412e
Update structure.rst
kennethreitz Sep 4, 2017
223cfa9
Update tests.rst
kennethreitz Sep 4, 2017
a9e1dcb
Update ci.rst
kennethreitz Sep 4, 2017
309e9e1
Update admin.rst
kennethreitz Sep 4, 2017
b46e777
Update cli.rst
kennethreitz Sep 4, 2017
8ce47b3
Update clibs.rst
kennethreitz Sep 4, 2017
32bf1cf
Update client.rst
kennethreitz Sep 4, 2017
4b098bd
Update client.rst
kennethreitz Sep 4, 2017
11960bd
Update crypto.rst
kennethreitz Sep 4, 2017
5654cb5
Update db.rst
kennethreitz Sep 4, 2017
fd58512
Update gui.rst
kennethreitz Sep 4, 2017
1b594e0
Update imaging.rst
kennethreitz Sep 4, 2017
d0f689b
Update json.rst
kennethreitz Sep 4, 2017
f644801
Update ml.rst
kennethreitz Sep 4, 2017
ed4b4cd
Update network.rst
kennethreitz Sep 4, 2017
1a62b4d
Update scientific.rst
kennethreitz Sep 4, 2017
f81ed3d
Update scrape.rst
kennethreitz Sep 4, 2017
4babd8b
Update serialization.rst
kennethreitz Sep 4, 2017
55a2331
Update speed.rst
kennethreitz Sep 4, 2017
d0e8328
Update web.rst
kennethreitz Sep 4, 2017
53be40e
Update xml.rst
kennethreitz Sep 4, 2017
30c0a34
Update freezing.rst
kennethreitz Sep 4, 2017
2027217
Update packaging.rst
kennethreitz Sep 4, 2017
13832a6
Update virtualenvs.rst
kennethreitz Sep 4, 2017
7eca881
Update pip-virtualenv.rst
kennethreitz Sep 4, 2017
98735c6
Update env.rst
kennethreitz Sep 4, 2017
e9f9d7f
Update community.rst
kennethreitz Sep 4, 2017
ea43442
Update documentation.rst
kennethreitz Sep 4, 2017
6f967c3
Update duction.rst
kennethreitz Sep 4, 2017
cb28f17
Update learning.rst
kennethreitz Sep 4, 2017
d8d7154
Update news.rst
kennethreitz Sep 4, 2017
a6f3450
Update contribute.rst
kennethreitz Sep 4, 2017
dca7b1e
Update contribute.rst
kennethreitz Sep 4, 2017
0e80520
Update license.rst
kennethreitz Sep 4, 2017
d15a63e
Update styleguide.rst
kennethreitz Sep 4, 2017
06d1914
Update index.rst
kennethreitz Sep 4, 2017
59a7b17
Update Readme.rst
kennethreitz Sep 5, 2017
93d8c72
Fix grammar in sentence about bdist_rpm
mivade Sep 11, 2017
9db729e
Merge pull request #841 from mivade/rpm-grammar
kennethreitz Sep 11, 2017
e8b9e3e
add Talk Python & Python Bytes podcasts to news
ofek Sep 13, 2017
4ee9c84
Merge pull request #842 from ofek/patch-1
kennethreitz Sep 13, 2017
28525be
Typo fix
StevenBarre Sep 21, 2017
7a22c3d
Merge pull request #843 from slashterix/typo
kennethreitz Sep 22, 2017
63bde45
Add ref to installation.rst
rougeth Sep 27, 2017
7ce4295
Merge pull request #844 from rougeth/ref-installation
kennethreitz Sep 27, 2017
afa7478
Update virtualenvs.rst
kennethreitz Sep 30, 2017
2580273
updated contents
kennethreitz Sep 30, 2017
21680d2
updates
kennethreitz Sep 30, 2017
c102b18
2
kennethreitz Sep 30, 2017
aa1498d
improve contents
kennethreitz Sep 30, 2017
22ba4af
on your system
kennethreitz Sep 30, 2017
caebc3b
Update the link for latest available Python 2.7 release for Windows
codeaditya Oct 5, 2017
296e780
Update the link for latest available Python 3.6 release for Windows
codeaditya Oct 5, 2017
2eb3bfb
Merge pull request #847 from codeaditya/version-info
kennethreitz Oct 6, 2017
2e2be97
Fix typo
jerobado Oct 7, 2017
3b59736
Merge pull request #848 from mokachokokarbon/typo-01
kennethreitz Oct 7, 2017
1cd8fd2
fixed typo
Armour Oct 9, 2017
028a232
quick typo fix in readme
Nefari0uss Oct 10, 2017
cc02d1c
Fixing typos
Oct 16, 2017
bf25865
Merge pull request #1 from nlsdfnbch/nlsdfnbch-patch-1
Oct 16, 2017
a9d00ef
Fixing broken link
KatherineMichel Oct 18, 2017
27657d5
Fixing another broken link
KatherineMichel Oct 18, 2017
a4a3244
Fixing another broken link
KatherineMichel Oct 18, 2017
e0e59c8
fix indent
yoichi Oct 18, 2017
11b1297
correct typo in virtualenvs.rst
ChandanChainani Oct 26, 2017
d6982f1
add internal link to version control ignores
kikisdeliveryservice Oct 31, 2017
3532755
Merge pull request #854 from yoichi/contents-fix-indent
kennethreitz Nov 2, 2017
32d25ad
Merge pull request #853 from KatherineMichel/fixing-broken-link
kennethreitz Nov 2, 2017
0e70775
Merge pull request #852 from nlsdfnbch/master
kennethreitz Nov 2, 2017
44ee967
Merge pull request #851 from Nefari0uss/master
kennethreitz Nov 2, 2017
7402c26
Merge pull request #856 from kikisdeliveryservice/venv-add-link
kennethreitz Nov 2, 2017
65cf3b1
Merge pull request #855 from BlueStarCoder/patch-1
kennethreitz Nov 2, 2017
28e5118
Merge pull request #850 from Armour/master
kennethreitz Nov 2, 2017
91d788c
deadsnakes repository change
svandragt Nov 9, 2017
0502ad1
Merge pull request #857 from svandragt/patch-1
kennethreitz Nov 13, 2017
65c8a8c
Update structure.rst - fix indentation bug
j127 Nov 14, 2017
8603dfe
Merge pull request #858 from j127/patch-1
kennethreitz Nov 14, 2017
40b1659
update latest MacOS version name (High Sierra)
bakotaco Nov 20, 2017
b0c5b4f
add toga to GUI resources
siddhantgoel Nov 23, 2017
516f9ad
Merge pull request #861 from siddhantgoel/master
kennethreitz Nov 25, 2017
eaaddf5
Nose is deprecated, remove suggestion
Zac-HD Nov 27, 2017
9c6f2b7
Cross-reference structure tests to writing tests
Zac-HD Nov 27, 2017
39b0911
Link scenarios/ci to writing/tests
Zac-HD Nov 27, 2017
ce7530b
New testing tool: Hypothesis
Zac-HD Nov 27, 2017
cb3f026
Update install instructions
Zac-HD Nov 27, 2017
44111ed
Merge pull request #862 from Zac-HD/various
kennethreitz Dec 3, 2017
411599c
Merge pull request #860 from bakotaco/master
kennethreitz Dec 3, 2017
5975727
fix make error on ci.rst and tests.rst
Prodesire Dec 4, 2017
94f009f
Merge pull request #863 from Prodesire/master
kennethreitz Dec 5, 2017
3351291
new ad
kennethreitz Dec 21, 2017
9f1f96f
new urls for ads
kennethreitz Dec 31, 2017
b630755
Add DjangoCon AU
glasnt Jan 5, 2018
835e4d1
Merge pull request #864 from glasnt/topic/django
kennethreitz Jan 5, 2018
ccf2a19
Update learning.rst
techbeamers Jan 6, 2018
d626196
Merge pull request #866 from techbeamers/update-python-guide
kennethreitz Jan 6, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Be cordial or be on your way.

https://www.kennethreitz.org/essays/be-cordial-or-be-on-your-way
4 changes: 3 additions & 1 deletion Readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Hitchhiker's Guide to Python

**Python Best Practices Guidebook**

.. image:: https://farm1.staticflickr.com/628/33173824932_58add34581_k_d.jpg

-----------

**Work in progress. If you'd like to help, please do. There's a lot of work to
Expand All @@ -16,7 +18,7 @@ basis.

Topics include:

- Platform- and version-specific installations
- Platform and version-specific installations
- Py2app, Py2exe, bbfreeze, pyInstaller
- Pip
- Numpy, scipy, statpy, pyplot, matplotlib
Expand Down
Binary file added docs/_static/ad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions docs/_templates/hacks.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
<!-- Alabaster (krTheme++) Hacks -->
<aside id="python27">
Python 3, the new best practice, is here to stay.
Python 2 will retire in only <time></time> months!
</aside>

<!-- Python 2 Death Clock™ -->
<style type="text/css">
body { margin-top: 4em; }
#python27 {
position: fixed;
top: 0;
left: 0; right: 0;
height: auto;
text-align: center;
color: white;
background-color: black;
font-size: larger;
line-height: 3;
}

</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
<script>
var death = new Date('2020-04-12');

var diff = moment.duration(death - moment());

document.querySelector('#python27 time').innerText = (diff.years() * 12) + diff.months();
</script>

<script type="text/javascript">
var _gauges = _gauges || [];
(function() {
Expand Down
15 changes: 13 additions & 2 deletions docs/_templates/sidebarintro.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ <h3>Stay Informed</h3>
<p><a href="https://twitter.com/kennethreitz" class="twitter-follow-button" data-show-count="false">Follow @kennethreitz</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script></p>

<p><a href="http://tinyletter.com/kennethreitz">Join Mailing List</a>.</p>
<p><a href="https://saythanks.io/to/kennethreitz">Say Thanks!</a></p>

<a href="http://www.dataquest.io/?utm_source=hitchhikersguide&utm_medium=ad">
<img src="{{ pathto('_static/ad.png', 1) }}" alt="">
</a>

<hr>

<h3>O'Reilly Book</h3>

Expand All @@ -32,12 +39,15 @@ <h3>Other Projects</h3>

<p>More <a href="http://kennethreitz.org/">Kenneth Reitz</a> projects:</p>
<ul>
<li><a href="http://wsl-guide.org/">wsl-guide.org</a></li>
<li><a href="http://edmsynths.com/">edmsynths.com</a></li>
<li><a href="http://pipenv.org/">pipenv</a></li>
<li><a href="http://pep8.org/">pep8.org</a></li>
<li><a href="http://python-requests.org">Requests: HTTP for Humans</a></li>
<li><a href="https://github.com/kennethreitz/maya">Maya: Datetimes for Humans</a></li>
<li><a href="https://github.com/kennethreitz/records">Records: SQL for Humans</a></li>
<li><a href="http://www.git-legit.org">Legit: Git for Humans</a></li>
<li><a href="http://docs.python-tablib.org/en/latest/">Tablib: Tabular Datasets</a></li>
<li><a href="http://markdownplease.com">Markdown, Please!</a></li>
</ul>

<h3>Contributors</h3>
Expand All @@ -62,6 +72,7 @@ <h3>Translations</h3>
<li><a href="http://docs.python-guide.org/en/latest/">English</a></li>
<li><a href="https://python-guide-fr.readthedocs.io/fr/latest/">French</a></li>
<li><a href="https://pythonguidecn.readthedocs.io/zh/latest/">Chinese</a></li>
<li><a href="https://python-guide-ja.readthedocs.io/en/latest/">Japanese</a></li>
<li><a href="http://python-guideja.readthedocs.io/ja/latest/">Japanese</a></li>
<li><a href="https://python-guide-kr.readthedocs.io/ko/latest/">Korean</a></li>
<li><a href="http://python-guide-pt-br.readthedocs.io/pt_BR/latest/">Brazilian Portuguese</a></li>
</ul>
18 changes: 15 additions & 3 deletions docs/_templates/sidebarlogo.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,15 @@ <h3>Get Updates</h3>
allowtransparency="true" frameborder="0" scrolling="0" width="200" height="20"></iframe></p>

<p><a href="https://twitter.com/kennethreitz" class="twitter-follow-button" data-show-count="false">Follow @kennethreitz</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script></p>

<p><a href="https://saythanks.io/to/kennethreitz">Say Thanks!</a></p>
<p><a href="http://tinyletter.com/kennethreitz">Join Mailing List</a>.</p>

<a href="http://www.dataquest.io/?utm_source=hitchhikersguide&utm_medium=ad">
<img src="{{ pathto('_static/ad.png', 1) }}" alt="">
</a>

<hr>

<h3>O'Reilly Book</h3>

<p>This guide is now available in tangible book form!</p>
Expand All @@ -27,23 +33,29 @@ <h3>O'Reilly Book</h3>

<p>All proceeds are being directly donated to the <a href="https://djangogirls.org">DjangoGirls</a> organization.</p>



<h3>Other Projects</h3>

<p>More <a href="http://kennethreitz.org/">Kenneth Reitz</a> projects:</p>
<ul>
<li><a href="http://wsl-guide.org/">wsl-guide.org</a></li>
<li><a href="http://edmsynths.com/">edmsynths.com</a></li>
<li><a href="http://pipenv.org/">pipenv</a></li>
<li><a href="http://pep8.org/">pep8.org</a></li>
<li><a href="http://python-requests.org">Requests: HTTP for Humans</a></li>
<li><a href="https://github.com/kennethreitz/maya">Maya: Datetimes for Humans</a></li>
<li><a href="https://github.com/kennethreitz/records">Records: SQL for Humans</a></li>
<li><a href="http://www.git-legit.org">Legit: Git for Humans</a></li>
<li><a href="http://docs.python-tablib.org/en/latest/">Tablib: Tabular Datasets</a></li>
<li><a href="http://markdownplease.com">Markdown, Please!</a></li>
</ul>

<h3>Translations</h3>
<ul>
<li><a href="http://docs.python-guide.org/en/latest/">English</a></li>
<li><a href="https://python-guide-fr.readthedocs.io/fr/latest/">French</a></li>
<li><a href="https://pythonguidecn.readthedocs.io/zh/latest/">Chinese</a></li>
<li><a href="https://python-guide-ja.readthedocs.io/en/latest/">Japanese</a></li>
<li><a href="http://python-guideja.readthedocs.io/ja/latest/">Japanese</a></li>
<li><a href="https://python-guide-kr.readthedocs.io/ko/latest/">Korean</a></li>
<li><a href="http://python-guide-pt-br.readthedocs.io/pt_BR/latest/">Brazilian Portuguese</a></li>
</ul>
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@
'github_user': 'kennethreitz',
'github_repo': 'python-guide',
'github_banner': True,
'show_related': False
'show_related': False,
'note_bg': '#FFF59C'
}

# Add any paths that contain custom themes here, relative to this directory.
Expand Down
46 changes: 28 additions & 18 deletions docs/contents.rst.inc
Original file line number Diff line number Diff line change
@@ -1,24 +1,50 @@
Getting Started with Python
---------------------------

New to Python? Let's properly setup up your Python environment.
New to Python? Let's properly setup up your Python environment:

.. toctree::
:maxdepth: 2

starting/which-python

- Properly Install Python
- Properly Install Python on your system:

.. toctree::
:maxdepth: 1

starting/installation
starting/install3/osx
starting/install3/win
starting/install3/linux
starting/install/osx
starting/install/win
starting/install/linux


- Using Virtualenvs with Pipenv:

.. toctree::
:maxdepth: 2

dev/virtualenvs


Python Development Environments
-------------------------------

This part of the guide focus on the Python development environment,
and the best-practice tools that are available for writing Python code.

.. toctree::
:maxdepth: 2

dev/env
dev/virtualenvs
dev/pip-virtualenv




Writing Great Python Code
-------------------------
Expand Down Expand Up @@ -80,22 +106,6 @@ This part of the guide focuses on deploying your Python code.
shipping/freezing


Python Development Environments
-------------------------------

This part of the guide focus on the Python development environment,
and the best-practice tools that are available for writing Python code.

.. toctree::
:maxdepth: 2

dev/env
dev/virtualenvs
dev/pip-virtualenv




Additional Notes
----------------

Expand Down
22 changes: 12 additions & 10 deletions docs/dev/env.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Your Development Environment
============================

.. image:: https://farm3.staticflickr.com/2930/33175624924_7febc46cc4_k_d.jpg


Text Editors
::::::::::::
Expand Down Expand Up @@ -35,11 +37,11 @@ source files.
There is also a handy syntax plugin called syntax_ featuring some improvements
over the syntax file included in Vim 6.1.

These plugins supply you with a basic environment for developing in Python.
To get the most out of Vim, you should continually check your code for syntax
errors and PEP8 compliance. Luckily PEP8_ and Pyflakes_ will do this for you.
If your Vim is compiled with :option:`+python` you can also utilize some very
handy plugins to do these checks from within the editor.
These plugins supply you with a basic environment for developing in Python. To
get the most out of Vim, you should continually check your code for syntax
errors and PEP8 compliance. Luckily pycodestyle_ and Pyflakes_ will do this
for you. If your Vim is compiled with ``+python`` you can also utilize some
very handy plugins to do these checks from within the editor.

For PEP8 checking and pyflakes, you can install vim-flake8_. Now you can map the
function ``Flake8`` to any hotkey or action you want in Vim. The plugin will
Expand Down Expand Up @@ -68,12 +70,12 @@ Python-mode
Python-mode_ is a complex solution for working with Python code in Vim.
It has:

- Asynchronous Python code checking (``pylint``, ``pyflakes``, ``pep8``, ``mccabe``) in any combination
- Asynchronous Python code checking (``pylint``, ``pyflakes``, ``pycodestyle``, ``mccabe``) in any combination
- Code refactoring and autocompletion with Rope
- Fast Python folding
- Virtualenv support
- Search through Python documentation and run Python code
- Auto PEP8_ error fixes
- Auto pycodestyle_ error fixes

And more.

Expand All @@ -86,7 +88,7 @@ using ``<Tab>`` key or any other customized keys.
.. _indent: http://www.vim.org/scripts/script.php?script_id=974
.. _syntax: http://www.vim.org/scripts/script.php?script_id=790
.. _Pyflakes: http://pypi.python.org/pypi/pyflakes/
.. _PEP8: http://pypi.python.org/pypi/pep8/
.. _pycodestyle: https://pypi.python.org/pypi/pycodestyle/
.. _syntastic: https://github.com/scrooloose/syntastic
.. _Python-mode: https://github.com/klen/python-mode
.. _SuperTab: http://www.vim.org/scripts/script.php?script_id=1643
Expand Down Expand Up @@ -148,10 +150,10 @@ known for IntelliJ IDEA. Both share the same code base and most of PyCharm's
features can be brought to IntelliJ with the free
`Python Plug-In <https://plugins.jetbrains.com/plugin/?idea&pluginId=631>`_. There are two
versions of PyCharm: Professional Edition (Free 30-day trial) and Community
Edition(Apache 2.0 License) with fewer features.
Edition (Apache 2.0 License) with fewer features.

Python (on Visual Studio Code)
-----------------------------
------------------------------

`Python for Visual Studio <https://marketplace.visualstudio.com/items?itemName=donjayamanne.python>`_ is an extension for the `Visual Studio Code IDE <https://code.visualstudio.com>`_.
This is a free, light weight, open source IDE, with support for Mac, Windows, and Linux.
Expand Down
6 changes: 4 additions & 2 deletions docs/dev/pip-virtualenv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Further Configuration of Pip and Virtualenv
===========================================

.. image:: https://farm4.staticflickr.com/3934/34018732105_f0e6758859_k_d.jpg

Requiring an active virtual environment for ``pip``
---------------------------------------------------

Expand All @@ -18,8 +20,8 @@ environment of the project. Over time this can result in a messy global package
list.

In order to make sure that you install packages to your active virtual
environment when you use ``pip install``, consider adding the following two
lines to your :file:`~/.bashrc` file:
environment when you use ``pip install``, consider adding the following
line to your :file:`~/.bashrc` file:

.. code-block:: console

Expand Down
Loading