mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 14:50:19 +00:00
Mostly added s, AUTHORS.rst, fixed some links, added some text editors
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
Authors
|
||||||
|
-------
|
||||||
|
|
||||||
|
.. todo:: Add authors
|
||||||
@@ -1,8 +1,7 @@
|
|||||||
Introduction
|
Introduction
|
||||||
============
|
============
|
||||||
|
|
||||||
Someone should write a general blurb introducing the Python language here.
|
.. todo:: write a general blurb introducing the Python language
|
||||||
|
|
||||||
|
|
||||||
About This Guide
|
About This Guide
|
||||||
----------------
|
----------------
|
||||||
|
|||||||
@@ -59,13 +59,9 @@ Advanced
|
|||||||
Pro Python
|
Pro Python
|
||||||
~~~~~~~~~~
|
~~~~~~~~~~
|
||||||
|
|
||||||
TODO: Write about this book
|
.. todo:: Write about `Pro Python <http://propython.com/>`_
|
||||||
|
|
||||||
`Pro Python <http://propython.com/>`_
|
|
||||||
|
|
||||||
Expert Python Programming
|
Expert Python Programming
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
TODO: Write about this book
|
.. todo:: Write about `Expert Python Programming <http://www.packtpub.com/expert-python-programming/book>`_
|
||||||
|
|
||||||
`Expert Python Programming <http://www.packtpub.com/expert-python-programming/book>`_
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ If you'd like to contribute, there's plenty to do. Here's a short todo_ list.
|
|||||||
|
|
||||||
|
|
||||||
.. _GitHub: http://github.com/kennethreitz/python-guide/
|
.. _GitHub: http://github.com/kennethreitz/python-guide/
|
||||||
.. _AUTHORS: http://github.com/kennethreitz/python-guide/blob/master/AUTHORS
|
.. _AUTHORS: http://github.com/kennethreitz/python-guide/blob/master/AUTHORS.rst
|
||||||
.. _todo: https://github.com/kennethreitz/python-guide/blob/master/TODO.rst
|
.. _todo: https://github.com/kennethreitz/python-guide/blob/master/TODO.rst
|
||||||
|
|
||||||
|
.. include:: ../../AUTHORS.rst
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
License
|
License
|
||||||
-------
|
-------
|
||||||
|
|
||||||
TBD.
|
.. todo:: Determine License
|
||||||
@@ -4,14 +4,24 @@ Systems Administration
|
|||||||
Fabric
|
Fabric
|
||||||
------
|
------
|
||||||
|
|
||||||
|
.. todo:: Write about Fabric
|
||||||
|
|
||||||
Chef
|
Chef
|
||||||
----
|
----
|
||||||
|
|
||||||
|
.. todo:: Write about Chef
|
||||||
|
|
||||||
Puppet
|
Puppet
|
||||||
------
|
------
|
||||||
|
|
||||||
|
.. todo:: Write about Puppet
|
||||||
|
|
||||||
Blueprint
|
Blueprint
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
.. todo:: Write about Blueprint
|
||||||
|
|
||||||
|
Buildout
|
||||||
|
--------
|
||||||
|
|
||||||
|
.. todo:: Write about Buildout
|
||||||
+10
-5
@@ -5,23 +5,28 @@ Continuous Integration
|
|||||||
Why?
|
Why?
|
||||||
----
|
----
|
||||||
|
|
||||||
Martin Fowler, who first wrote about Continuous Integration (short: CI) together with Kent Beck, describes the CI as follows:
|
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:
|
||||||
|
|
||||||
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. This article is a quick overview of Continuous Integration summarizing the technique and its current usage.
|
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. This article is a quick overview of Continuous Integration summarizing the technique and its current usage.
|
||||||
|
|
||||||
Source: http://martinfowler.com/articles/continuousIntegration.html
|
|
||||||
|
|
||||||
Jenkins
|
Jenkins
|
||||||
-------
|
-------
|
||||||
|
|
||||||
Jenkins CI (http://jenkins-ci.org) is an extensible continuous integration engine. Use it.
|
`Jenkins CI <http://jenkins-ci.org>`_ is an extensible continuous integration engine. Use it.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Buildbot
|
Buildbot
|
||||||
--------
|
--------
|
||||||
Buildbot (http://buildbot.net/buildbot/docs/current) is a Python system to automate the compile/test cycle to validate code changes.
|
`Buildbot <http://buildbot.net/buildbot/docs/current>`_ is a Python system to automate the compile/test cycle to validate code changes.
|
||||||
|
|
||||||
|
|
||||||
Mule?
|
Mule?
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
.. todo:: Write about Mule
|
||||||
|
|
||||||
|
Tox
|
||||||
|
---
|
||||||
|
|
||||||
|
.. todo:: Write about `Tox <http://codespeak.net/~hpk/tox/>`_
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
Command Line Applications
|
Command Line Applications
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
|
.. todo:: Explain "Command Line Applications"
|
||||||
|
|
||||||
Clint
|
Clint
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
.. todo:: Write about Clint
|
||||||
@@ -22,3 +22,7 @@ database-agnostic code without SQL.
|
|||||||
|
|
||||||
pip install sqlalchemy
|
pip install sqlalchemy
|
||||||
|
|
||||||
|
Django ORM
|
||||||
|
----------
|
||||||
|
|
||||||
|
.. todo:: Explain Django ORM
|
||||||
@@ -12,16 +12,17 @@ http://developer.qt.nokia.com/wiki/PySideDownloads/
|
|||||||
|
|
||||||
PyQt
|
PyQt
|
||||||
----
|
----
|
||||||
*Note: If your software does not fully comply with the GPL you will need a commercial license!*
|
.. note:: If your software does not fully comply with the GPL you will need a commercial license!
|
||||||
|
|
||||||
http://www.riverbankcomputing.co.uk/software/pyqt/download
|
http://www.riverbankcomputing.co.uk/software/pyqt/download
|
||||||
|
|
||||||
Cocoa
|
Cocoa
|
||||||
:::::
|
:::::
|
||||||
*Note: The Cocoa framework is only available on Mac OSX. Don't pick this if you're writing a cross-platform application!*
|
.. note:: The Cocoa framework is only available on Mac OSX. Don't pick this if you're writing a cross-platform application!
|
||||||
|
|
||||||
PyObjC
|
PyObjC
|
||||||
------
|
------
|
||||||
*Note: Only available on Mac OSX. Don't pick this if you're writing a cross-platform application.*
|
.. note:: Only available on Mac OSX. Don't pick this if you're writing a cross-platform application.
|
||||||
|
|
||||||
WXPython
|
WXPython
|
||||||
::::::::
|
::::::::
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ Speed
|
|||||||
|
|
||||||
CPython, the most commonly used implementation of Python, is slow for CPU bound tasks. `PyPy`_ is fast.
|
CPython, the most commonly used implementation of Python, is slow for CPU bound tasks. `PyPy`_ is fast.
|
||||||
|
|
||||||
|
.. todo:: Fill in stub for Speed comparisons
|
||||||
|
|
||||||
Context
|
Context
|
||||||
:::::::
|
:::::::
|
||||||
|
|||||||
@@ -74,10 +74,13 @@ already exist to suit your needs.
|
|||||||
Pyramid
|
Pyramid
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
.. todo:: Explian Pyramid
|
||||||
|
|
||||||
Servers
|
Servers
|
||||||
:::::::
|
:::::::
|
||||||
|
|
||||||
|
.. todo:: Explain Apache deployment
|
||||||
|
|
||||||
Apache + mod_wsgi
|
Apache + mod_wsgi
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
@@ -107,6 +110,7 @@ setup for Nginx + gUnicorn can be found in the gUnicorn
|
|||||||
Mongrel2 + Brubeck
|
Mongrel2 + Brubeck
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
.. todo:: Explain Mongrel2 + Brubeck
|
||||||
|
|
||||||
Mongrel2 + wsgid
|
Mongrel2 + wsgid
|
||||||
----------------
|
----------------
|
||||||
@@ -209,6 +213,8 @@ Gondor publishes guides to deploying `Django projects
|
|||||||
Shared Web Hosting
|
Shared Web Hosting
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
.. todo:: Fill in "Shared Web Hosting" stub
|
||||||
|
|
||||||
WebFaction
|
WebFaction
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,9 @@ Many applications you use every day do this:
|
|||||||
- BitTorrent
|
- BitTorrent
|
||||||
-
|
-
|
||||||
|
|
||||||
|
|
||||||
|
.. todo:: Fill in "Freezing Your Code" stub
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
:::::::
|
:::::::
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ Packaging Your Code
|
|||||||
|
|
||||||
Packaging your code is important.
|
Packaging your code is important.
|
||||||
|
|
||||||
|
.. todo:: Write introduction for "Packaging Your Code"
|
||||||
|
|
||||||
For Python Developers
|
For Python Developers
|
||||||
:::::::::::::::::::::
|
:::::::::::::::::::::
|
||||||
@@ -14,7 +15,7 @@ If you're writing an open source Python module, `PyPI <http://pypi.python.org>`_
|
|||||||
Pip vs. easy_install
|
Pip vs. easy_install
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
Use pip. More details `here <http://stackoverflow.com/questions/3220404/why-use-pip-over-easy-install>`_
|
Use `pip <http://pypi.python.org/pypi/pip>`_. More details `here <http://stackoverflow.com/questions/3220404/why-use-pip-over-easy-install>`_
|
||||||
|
|
||||||
|
|
||||||
Personal PyPI
|
Personal PyPI
|
||||||
@@ -54,10 +55,13 @@ $ pip install http://127.0.0.1:9000/MyPackage.tar.gz
|
|||||||
Chishop
|
Chishop
|
||||||
+++++++
|
+++++++
|
||||||
|
|
||||||
|
`Chishop <https://github.com/benliles/djangopypi>`_ is a simple PyPI server written in django which allows you to register/upload with distutils and install with easy_install/pip.
|
||||||
|
|
||||||
For Linux Distributions
|
For Linux Distributions
|
||||||
::::::::::::::::::::::::
|
::::::::::::::::::::::::
|
||||||
|
|
||||||
|
.. todo:: Fill in "For Linux Distributions" packaging stub
|
||||||
|
|
||||||
Useful Tools
|
Useful Tools
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|||||||
@@ -54,6 +54,19 @@ the following lines into your vimrc::
|
|||||||
|
|
||||||
.. todo:: add supertab notes
|
.. todo:: add supertab notes
|
||||||
|
|
||||||
|
TextMate
|
||||||
|
--------
|
||||||
|
|
||||||
|
"`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."
|
||||||
|
|
||||||
|
Sublime Text
|
||||||
|
------------
|
||||||
|
|
||||||
|
"`Sublime Text <http://www.sublimetext.com/>`_ is a sophisticated text editor for code, html and prose. You'll love the slick user interface and extraordinary features."
|
||||||
|
|
||||||
|
Sublime Text uses Python for its plugin API.
|
||||||
|
|
||||||
|
`Sublime Text 2 <http://www.sublimetext.com/blog/articles/sublime-text-2-beta>`_ is currently in beta.
|
||||||
|
|
||||||
IDEs
|
IDEs
|
||||||
::::
|
::::
|
||||||
@@ -61,7 +74,7 @@ IDEs
|
|||||||
PyCharm / IntelliJ IDEA
|
PyCharm / IntelliJ IDEA
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
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/>`_..
|
`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/>`_.
|
||||||
|
|
||||||
Eclipse
|
Eclipse
|
||||||
-------
|
-------
|
||||||
@@ -82,8 +95,7 @@ Spyder
|
|||||||
Includes integration with `pyflakes <http://pypi.python.org/pypi/pyflakes>`_, `pylint <http://www.logilab.org/857>`_,
|
Includes integration with `pyflakes <http://pypi.python.org/pypi/pyflakes>`_, `pylint <http://www.logilab.org/857>`_,
|
||||||
and `rope <http://rope.sourceforge.net/>`_.
|
and `rope <http://rope.sourceforge.net/>`_.
|
||||||
|
|
||||||
Spyder is open-source (free), offers code completion, syntax highlighting, class and function browser, and object
|
Spyder is open-source (free), offers code completion, syntax highlighting, class and function browser, and object inspection.
|
||||||
inspection
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -100,7 +112,7 @@ It solves the "Project X depends on version 1.x but, Project Y needs 4.x" dilemm
|
|||||||
virtualenvwrapper
|
virtualenvwrapper
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
Virtualenvwrapper makes virtualenv a pleasure to use by wrapping the command line API with a nicer CLI.
|
`Virtualenvwrapper <http://pypi.python.org/pypi/virtualenvwrapper>`_ makes virtualenv a pleasure to use by wrapping the command line API with a nicer CLI.
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
@@ -121,9 +133,17 @@ Other Tools
|
|||||||
IPython
|
IPython
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
`IPython <http://ipython.org/>`_ provides a rich toolkit to help you make the most out of using Python interactively. Its main components are:
|
||||||
|
|
||||||
|
* Powerful Python shells (terminal- and Qt-based).
|
||||||
|
* A web-based notebook with the same core features but support for rich media, text, code, mathematical expressions and inline plots.
|
||||||
|
* Support for interactive data visualization and use of GUI toolkits.
|
||||||
|
* Flexible, embeddable interpreters to load into your own projects.
|
||||||
|
* Tools for high level and interactive parallel computing.
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
$ pip install ipython
|
pip install ipython
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -132,6 +152,6 @@ BPython
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
$ pip install bpython
|
pip install bpython
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Choosing a License
|
|||||||
Open source.
|
Open source.
|
||||||
|
|
||||||
|
|
||||||
|
.. todo:: Fill in License stub
|
||||||
|
|
||||||
|
|
||||||
Non-Restrictive
|
Non-Restrictive
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ Structuring Your Project
|
|||||||
|
|
||||||
Structuring your project properly is extremely important.
|
Structuring your project properly is extremely important.
|
||||||
|
|
||||||
|
.. todo:: Fill in "Structuring Your Project" stub
|
||||||
|
|
||||||
Structure is Key
|
Structure is Key
|
||||||
----------------
|
----------------
|
||||||
|
|||||||
Reference in New Issue
Block a user