You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dev/env.rst
+31-14Lines changed: 31 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,10 @@ order to do this, add the following lines to your `vimrc`::
63
63
TextMate
64
64
--------
65
65
66
-
"`TextMate <http://macromates.com/>`_ brings Apple's approach to operating systems into the world of text editors. By bridging UNIX underpinnings and GUI, TextMate cherry-picks the best of both worlds to the benefit of expert scripters and novice users alike."
66
+
"`TextMate <http://macromates.com/>`_ brings Apple's approach to operating
67
+
systems into the world of text editors. By bridging UNIX underpinnings and GUI,
68
+
TextMate cherry-picks the best of both worlds to the benefit of expert
69
+
scripters and novice users alike."
67
70
68
71
Sublime Text
69
72
------------
@@ -75,15 +78,18 @@ extraordinary features."
75
78
Sublime Text has excellent support for editing Python code and uses Python for
76
79
its plugin API.
77
80
78
-
`Sublime Text 2 <http://www.sublimetext.com/blog/articles/sublime-text-2-beta>`_ is currently in beta.
81
+
`Sublime Text 2 <http://www.sublimetext.com/blog/articles/sublime-text-2-beta>`_
82
+
is currently in beta.
79
83
80
84
IDEs
81
85
::::
82
86
83
87
PyCharm / IntelliJ IDEA
84
88
-----------------------
85
89
86
-
`PyCharm <http://www.jetbrains.com/pycharm/>`_ is developed by JetBrains, also 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 <http://plugins.intellij.net/plugin/?id=631/>`_.
90
+
`PyCharm <http://www.jetbrains.com/pycharm/>`_ is developed by JetBrains, also
91
+
known for IntelliJ IDEA. Both share the same code base and most of PyCharm's
92
+
features can be brought to IntelliJ with the free `Python Plug-In <http://plugins.intellij.net/plugin/?id=631/>`_.
87
93
88
94
89
95
Eclipse
@@ -95,24 +101,28 @@ The most popular Eclipse plugin for Python development is Aptana's
95
101
96
102
Komodo IDE
97
103
-----------
98
-
`Komodo IDE <http://www.activestate.com/komodo-ide>`_ is developed by ActiveState and is a commercial IDE for Windows, Mac
104
+
`Komodo IDE <http://www.activestate.com/komodo-ide>`_ is developed by
105
+
ActiveState and is a commercial IDE for Windows, Mac
99
106
and Linux.
100
107
101
108
102
109
Spyder
103
110
------
104
111
105
-
`Spyder <http://code.google.com/p/spyderlib/>`_ an IDE specifically geared toward working with scientific python libraries (namely `Scipy <http://www.scipy.org/>`_).
112
+
`Spyder <http://code.google.com/p/spyderlib/>`_ an IDE specifically geared
113
+
toward working with scientific python libraries (namely `Scipy <http://www.scipy.org/>`_).
106
114
Includes integration with pyflakes_, `pylint <http://www.logilab.org/857>`_,
107
115
and `rope <http://rope.sourceforge.net/>`_.
108
116
109
-
Spyder is open-source (free), offers code completion, syntax highlighting, class and function browser, and object inspection.
117
+
Spyder is open-source (free), offers code completion, syntax highlighting,
118
+
class and function browser, and object inspection.
110
119
111
120
112
121
WingIDE
113
122
-------
114
123
115
-
`WingIDE <http://wingware.com/>`_ a python specific IDE. Runs for Linux, Windows, and Mac (as an X11 application, which frustrates some Mac users).
124
+
`WingIDE <http://wingware.com/>`_ a python specific IDE. Runs for Linux,
125
+
Windows, and Mac (as an X11 application, which frustrates some Mac users).
116
126
117
127
118
128
Interpreter Tools
@@ -122,8 +132,10 @@ Interpreter Tools
122
132
virtualenv
123
133
----------
124
134
125
-
Virtualenv is a tool to keep the dependencies required by different projects in separate places, by creating virtual Python environments for them.
126
-
It solves the "Project X depends on version 1.x but, Project Y needs 4.x" dilemma and keeps your global site-packages directory clean and manageable.
135
+
Virtualenv is a tool to keep the dependencies required by different projects
136
+
in separate places, by creating virtual Python environments for them.
137
+
It solves the "Project X depends on version 1.x but, Project Y needs 4.x"
138
+
dilemma and keeps your global site-packages directory clean and manageable.
a folder which contains all the necessary executables to contain the
@@ -195,7 +207,8 @@ control by adding it to the ignore list.
195
207
virtualenvwrapper
196
208
-----------------
197
209
198
-
`Virtualenvwrapper <http://pypi.python.org/pypi/virtualenvwrapper>`_ makes virtualenv a pleasure to use by wrapping the command line API with a nicer CLI.
210
+
`Virtualenvwrapper <http://pypi.python.org/pypi/virtualenvwrapper>`_ makes
211
+
virtualenv a pleasure to use by wrapping the command line API with a nicer CLI.
199
212
200
213
::
201
214
@@ -208,7 +221,8 @@ Put this into your `~/.bash_profile` (Linux/Mac) file:
This will prevent your virtualenvs from relying on your (global) site packages directory, so that they are completely separate..
224
+
This will prevent your virtualenvs from relying on your (global) site packages
225
+
directory, so that they are completely separate..
212
226
213
227
Other Tools
214
228
:::::::::::
@@ -233,10 +247,12 @@ It provides following features:
233
247
IPython
234
248
-------
235
249
236
-
`IPython <http://ipython.org/>`_ provides a rich toolkit to help you make the most out of using Python interactively. Its main components are:
250
+
`IPython <http://ipython.org/>`_ provides a rich toolkit to help you make the
251
+
most out of using Python interactively. Its main components are:
237
252
238
253
* Powerful Python shells (terminal- and Qt-based).
239
-
* A web-based notebook with the same core features but support for rich media, text, code, mathematical expressions and inline plots.
254
+
* A web-based notebook with the same core features but support for rich media,
255
+
text, code, mathematical expressions and inline plots.
240
256
* Support for interactive data visualization and use of GUI toolkits.
241
257
* Flexible, embeddable interpreters to load into your own projects.
242
258
* Tools for high level and interactive parallel computing.
@@ -250,7 +266,8 @@ IPython
250
266
BPython
251
267
-------
252
268
253
-
`bpython <http://bpython-interpreter.org/>`_ is an alternative interface to the Python interpreter for Unix-like operating systems. It has the following features:
269
+
`bpython <http://bpython-interpreter.org/>`_ is an alternative interface to the
270
+
Python interpreter for Unix-like operating systems. It has the following features:
254
271
255
272
* In-line syntax highlighting.
256
273
* Readline-like autocomplete with suggestions displayed as you type.
Copy file name to clipboardExpand all lines: docs/index.rst
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,11 @@ The Hitchhiker's Guide to Python!
8
8
9
9
Welcome to The Hitchhiker's Guide to Python. **DON'T PANIC!**
10
10
11
-
**This guide is currently under heavy development, and is mostly a skeleton at the moment.** If you'd like to help, `fork us on GitHub <https://github.com/kennethreitz/python-guide>`_!
11
+
**This guide is currently under heavy development, and is mostly a skeleton at
12
+
the moment.** If you'd like to help, `fork us on GitHub <https://github.com/kennethreitz/python-guide>`_!
12
13
13
-
This *opinionated* guide exists to provide both novice and expert Python developers a best-practice handbook to the installation, configuration, and usage of Python on a daily basis.
14
+
This *opinionated* guide exists to provide both novice and expert Python
15
+
developers a best-practice handbook to the installation, configuration, and
Copy file name to clipboardExpand all lines: docs/intro/community.rst
+20-9Lines changed: 20 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,30 +4,35 @@ The Community
4
4
BDFL
5
5
----
6
6
7
-
Guido van Rossum, the creator of Python, is often referred to as the BDFL — the Benevolent Dictator For Life.
7
+
Guido van Rossum, the creator of Python, is often referred to as the BDFL — the
8
+
Benevolent Dictator For Life.
8
9
9
10
10
11
11
12
Python Software Foundation
12
13
--------------------------
13
14
14
-
The mission of the Python Software Foundation is to promote, protect, and advance the Python programming language, and to support and facilitate the growth of a diverse and international community of Python programmers.
15
+
The mission of the Python Software Foundation is to promote, protect, and
16
+
advance the Python programming language, and to support and facilitate the
17
+
growth of a diverse and international community of Python programmers.
15
18
16
19
`Learn More about the PSF <http://www.python.org/psf/>`_.
17
20
18
21
19
22
PEPs
20
23
----
21
24
22
-
PEPs are *Python Enhancement Proposals*. They describe changes to Python itself, or the standards around it.
25
+
PEPs are *Python Enhancement Proposals*. They describe changes to Python itself,
26
+
or the standards around it.
23
27
24
28
There are three different types of PEPs (as defined by `PEP1 <http://www.python.org/dev/peps/pep-0001/>`_):
25
29
26
30
**Standards**
27
31
Describes a new feature or implementation.
28
32
29
33
**Informational**
30
-
Describes a design issue, general guidelines, or information to the community.
34
+
Describes a design issue, general guidelines, or information to the
35
+
community.
31
36
32
37
**Process**
33
38
Describes a process related to Python.
@@ -45,29 +50,35 @@ There are a few PEPs that could be considered required reading:
45
50
A list of 19 statements that briefly explain the philosophy behind Python.
The major events for the Python community are developer conferences. The two most notable conferences are PyCon, which is held in the US, and its European sibling, EuroPython.
72
+
The major events for the Python community are developer conferences. The two
73
+
most notable conferences are PyCon, which is held in the US, and its European
74
+
sibling, EuroPython.
66
75
67
76
A comprehensive list of conferences is maintained `at pycon.org <http://www.pycon.org/>`_.
68
77
69
78
70
79
Python User Groups
71
80
--------------------------
72
81
73
-
User Groups are where a bunch of Python developers meet to present or talk about Python topics of interest. A list of local user groups is maintained at the `Python Software Foundation Wiki <http://wiki.python.org/moin/LocalUserGroups>`_.
82
+
User Groups are where a bunch of Python developers meet to present or talk
83
+
about Python topics of interest. A list of local user groups is maintained at
84
+
the `Python Software Foundation Wiki <http://wiki.python.org/moin/LocalUserGroups>`_.
Copy file name to clipboardExpand all lines: docs/intro/learning.rst
+31-22Lines changed: 31 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,62 +7,70 @@ Beginner
7
7
Learn Python Interactive Tutorial
8
8
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9
9
10
-
Learnpython.org is an easy non-intimidating way to get introduced to python. The website takes the same approach used on the popular `Try Ruby <http://tryruby.org/>`_ website, it has an interactive python interpreter built into the site that allows you to go through the lessons without having to install Python locally.
10
+
Learnpython.org is an easy non-intimidating way to get introduced to python.
11
+
The website takes the same approach used on the popular `Try Ruby <http://tryruby.org/>`_
12
+
website, it has an interactive python interpreter built into the site that
13
+
allows you to go through the lessons without having to install Python locally.
11
14
12
15
`Learn Python <http://www.learnpython.org/>`_
13
16
14
17
Learn Python the Hard Way
15
18
~~~~~~~~~~~~~~~~~~~~~~~~~
16
19
17
-
This is an excellent beginner programmer's guide to Python. It covers "hello world" from the console to the web.
20
+
This is an excellent beginner programmer's guide to Python. It covers "hello
21
+
world" from the console to the web.
18
22
19
23
`Learn Python the Hard Way <http://learnpythonthehardway.org/book/>`_
20
24
21
25
22
26
Crash into Python
23
27
~~~~~~~~~~~~~~~~~
24
28
25
-
Also known as *Python for Programmers with 3 Hours*, this guide gives experienced developers from other languages a crash course on Python.
29
+
Also known as *Python for Programmers with 3 Hours*, this guide gives
30
+
experienced developers from other languages a crash course on Python.
26
31
27
32
`Crash into Python <http://stephensugden.com/crash_into_python/>`_
28
33
29
34
30
35
Dive Into Python 3
31
36
~~~~~~~~~~~~~~~~~~
32
37
33
-
Dive Into Python 3 is a good book for those ready to jump in to Python 3. It's a
34
-
good read if you are moving from Python 2 to 3 or if you already have some
38
+
Dive Into Python 3 is a good book for those ready to jump in to Python 3. It's
39
+
a good read if you are moving from Python 2 to 3 or if you already have some
35
40
experience programming in another language.
36
41
37
42
`Dive Into Python 3 <http://diveintopython3.ep.io/>`_
38
43
39
44
Think Python: How to Think Like a Computer Scientist
Copy file name to clipboardExpand all lines: docs/scenarios/ci.rst
+24-10Lines changed: 24 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,20 +5,29 @@ Continuous Integration
5
5
Why?
6
6
----
7
7
8
-
Martin Fowler, who first wrote about `Continuous Integration <http://martinfowler.com/articles/continuousIntegration.html>`_ (short: CI) together with Kent Beck, describes the CI as follows:
8
+
Martin Fowler, who first wrote about `Continuous Integration <http://martinfowler.com/articles/continuousIntegration.html>`_
9
+
(short: CI) together with Kent Beck, describes the CI as follows:
9
10
10
-
Continuous Integration is a software development practice where members of a team integrate their work frequently, usually each person integrates at least daily - leading to multiple integrations per day. Each integration is verified by an automated build (including test) to detect integration errors as quickly as possible. Many teams find that this approach leads to significantly reduced integration problems and allows a team to develop cohesive software more rapidly.
11
+
Continuous Integration is a software development practice where members of
12
+
a team integrate their work frequently, usually each person integrates at
13
+
least daily - leading to multiple integrations per day. Each integration is
14
+
verified by an automated build (including test) to detect integration errors
15
+
as quickly as possible. Many teams find that this approach leads to
16
+
significantly reduced integration problems and allows a team to develop
17
+
cohesive software more rapidly.
11
18
12
19
Jenkins
13
20
-------
14
21
15
-
`Jenkins CI <http://jenkins-ci.org>`_ is an extensible continuous integration engine. Use it.
22
+
`Jenkins CI <http://jenkins-ci.org>`_ is an extensible continuous integration
23
+
engine. Use it.
16
24
17
25
18
26
19
27
Buildbot
20
28
--------
21
-
`Buildbot <http://buildbot.net/buildbot/docs/current>`_ is a Python system to automate the compile/test cycle to validate code changes.
29
+
`Buildbot <http://buildbot.net/buildbot/docs/current>`_ is a Python system to
30
+
automate the compile/test cycle to validate code changes.
22
31
23
32
24
33
Mule?
@@ -29,12 +38,17 @@ Mule?
29
38
Tox
30
39
---
31
40
32
-
`tox <https://bitbucket.org/hpk42/tox>`_ is an automation tool providing packaging, testing and deployment of Python software right from the console or CI server.
33
-
It is a generic virtualenv management and test command line tool which provides the following features:
34
-
35
-
* Checking that packages install correctly with different Python versions and interpreters
36
-
* Running tests in each of the environments, configuring your test tool of choice
37
-
* Acting as a frontend to Continuous Integration servers, reducing boilerplate and merging CI and shell-based testing.
41
+
`tox <https://bitbucket.org/hpk42/tox>`_ is an automation tool providing
42
+
packaging, testing and deployment of Python software right from the console or
43
+
CI server. It is a generic virtualenv management and test command line tool
44
+
which provides the following features:
45
+
46
+
* Checking that packages install correctly with different Python versions and
47
+
interpreters
48
+
* Running tests in each of the environments, configuring your test tool of
49
+
choice
50
+
* Acting as a frontend to Continuous Integration servers, reducing boilerplate
0 commit comments