mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Merge pull request #284 from kuyan/master
Grammar, capitalization fixes
This commit is contained in:
@@ -4,13 +4,14 @@ Systems Administration
|
||||
Fabric
|
||||
------
|
||||
|
||||
`Fabric <http://docs.fabfile.org>`_ is a library for simplifying system administration tasks. While Chef
|
||||
and Puppet tend to focus on managing servers and system libraries,
|
||||
fabric is more focused on application level tasks such as deployment.
|
||||
`Fabric <http://docs.fabfile.org>`_ is a library for simplifying system
|
||||
administration tasks. While Chef and Puppet tend to focus on managing servers
|
||||
and system libraries, fabric is more focused on application level tasks such
|
||||
as deployment.
|
||||
|
||||
Install Fabric:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ pip install fabric
|
||||
|
||||
@@ -40,7 +41,7 @@ server.
|
||||
With the previous code saved in a file named fabfile.py, we can check memory
|
||||
usage with:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ fab memory_usage
|
||||
[my_server1] Executing task 'memory'
|
||||
@@ -59,7 +60,7 @@ usage with:
|
||||
|
||||
and we can deploy with:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ fab deploy
|
||||
|
||||
@@ -78,7 +79,7 @@ multiple servers using simple template files.
|
||||
|
||||
Salt supports python versions 2.6 and 2.7 and can be installed via pip:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ pip install salt
|
||||
|
||||
@@ -87,7 +88,7 @@ shell commands or use pre-built modules of complex commands on our minions.
|
||||
|
||||
The following command lists all available minion hosts, using the ping module.
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ salt '*' test.ping
|
||||
|
||||
@@ -98,7 +99,7 @@ provide a host taxonomy for the salt modules.
|
||||
|
||||
The following command lists all available minions running CentOS using the grains system:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ salt -G 'os:CentOS' test.ping
|
||||
|
||||
|
||||
+14
-5
@@ -29,14 +29,18 @@ PyObjC
|
||||
|
||||
wxPython
|
||||
--------
|
||||
wxPython is a GUI toolkit for the Python programming language. It allows Python programmers to create programs with a robust, highly functional graphical user interface, simply and easily. It is implemented as a Python extension module (native code) that wraps the popular wxWidgets cross platform GUI library, which is written in C++.
|
||||
wxPython is a GUI toolkit for the Python programming language. It allows
|
||||
Python programmers to create programs with a robust, highly functional
|
||||
graphical user interface, simply and easily. It is implemented as a Python
|
||||
extension module (native code) that wraps the popular wxWidgets cross platform
|
||||
GUI library, which is written in C++.
|
||||
|
||||
Install (Stable)
|
||||
~~~~~~~~~~~~~~~~
|
||||
*Go to http://www.wxpython.org/download.php#stable and download the appropriate
|
||||
package for your OS.*
|
||||
|
||||
Gtk
|
||||
GTk
|
||||
---
|
||||
PyGTK provides Python bindings for the GTK+ toolkit. Like the GTK+ library
|
||||
itself, it is currently licensed under the GNU LGPL. It is worth noting that
|
||||
@@ -60,10 +64,15 @@ available on the `Python Wiki <http://wiki.python.org/moin/TkInter>`_.
|
||||
|
||||
Kivy
|
||||
----
|
||||
`Kivy <http://kivy.org>`_ is a Python library for development of multi-touch enabled media rich applications. The aim is to allow for quick and easy interaction design and rapid prototyping, while making your code reusable and deployable.
|
||||
`Kivy <http://kivy.org>`_ is a Python library for development of multi-touch
|
||||
enabled media rich applications. The aim is to allow for quick and easy
|
||||
interaction design and rapid prototyping, while making your code reusable
|
||||
and deployable.
|
||||
|
||||
Kivy is written in Python, based on OpenGL and supports different input devices such as: Mouse, Dual Mouse, TUIO, WiiMote, WM_TOUCH, HIDtouch, Apple's products and so on.
|
||||
Kivy is written in Python, based on OpenGL and supports different input devices
|
||||
such as: Mouse, Dual Mouse, TUIO, WiiMote, WM_TOUCH, HIDtouch, Apple's products and so on.
|
||||
|
||||
Kivy is actively being developed by a community and free to use. It operates on all major platforms (Linux, OSX, Windows, Android).
|
||||
Kivy is actively being developed by a community and free to use. It operates
|
||||
on all major platforms (Linux, OSX, Windows, Android).
|
||||
|
||||
The main resource for information is the website: http://kivy.org
|
||||
|
||||
@@ -4,10 +4,10 @@ Networking
|
||||
Twisted
|
||||
-------
|
||||
|
||||
`Twisted <http://twistedmatrix.com/trac/>`_ is an event-driven networking engine. It can be
|
||||
used to build applications around many different networking protocols, including http servers
|
||||
and clients, applications using SMTP, POP3, IMAP or SSH protocols, instant messaging and
|
||||
`many more <http://twistedmatrix.com/trac/wiki/Documentation>`_.
|
||||
`Twisted <http://twistedmatrix.com/trac/>`_ is an event-driven networking
|
||||
engine. It can be used to build applications around many different networking
|
||||
protocols, including http servers and clients, applications using SMTP, POP3,
|
||||
IMAP or SSH protocols, instant messaging and `much more <http://twistedmatrix.com/trac/wiki/Documentation>`_.
|
||||
|
||||
PyZMQ
|
||||
-----
|
||||
|
||||
Reference in New Issue
Block a user