mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
copy edits
This commit is contained in:
@@ -240,13 +240,13 @@ Chef
|
||||
Puppet
|
||||
------
|
||||
|
||||
`Puppet <http://puppetlabs.com>`_ is an IT Automation and configuration management
|
||||
`Puppet <http://puppetlabs.com>`_ is IT Automation and configuration management
|
||||
software from Puppet Labs that allows System Administrators to define the state of
|
||||
their IT Infrastructure, thereby providing an elegant way to manage their fleet of
|
||||
physical and virtual machines.
|
||||
|
||||
Puppet is available both as an Open Source and an Enterprise variant. Modules are
|
||||
small,shareable units of code written to automate or define the state of a system.
|
||||
small, shareable units of code written to automate or define the state of a system.
|
||||
`Puppet Forge <https://forge.puppetlabs.com/>`_ is a repository for modules written
|
||||
by the community for Open Source and Enterprise Puppet.
|
||||
|
||||
@@ -261,7 +261,7 @@ how each node should be configured and sends it to the agent. The agent enforces
|
||||
change as prescribed in the catalog and sends a report back to the Puppet Master.
|
||||
|
||||
Facter is an interesting tool that ships with Puppet that pulls basic facts about
|
||||
the System. These facts can be referenced as a variable while writing your
|
||||
the system. These facts can be referenced as a variable while writing your
|
||||
Puppet modules.
|
||||
|
||||
.. code-block:: console
|
||||
@@ -328,7 +328,7 @@ everytime the sshd configuration file is changed.
|
||||
hasrestart=> true,
|
||||
}
|
||||
|
||||
For more information checkout `Puppet Labs Documentation <http://docs.puppetlabs.com>`_
|
||||
For more information, refer to the `Puppet Labs Documentation <http://docs.puppetlabs.com>`_
|
||||
|
||||
Blueprint
|
||||
---------
|
||||
|
||||
@@ -35,7 +35,7 @@ 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 actively being developed by a community and free to use. It operates
|
||||
Kivy is actively being developed by a community and is free to use. It operates
|
||||
on all major platforms (Linux, OSX, Windows, Android).
|
||||
|
||||
The main resource for information is the website: http://kivy.org
|
||||
|
||||
@@ -26,7 +26,7 @@ IPython
|
||||
|
||||
`IPython <http://ipython.org/>`_ is an enhanced version of Python interpreter,
|
||||
which provides features of great interest to scientists. The `inline mode`
|
||||
allow graphics and plots to be displayed in the terminal (Qt based version).
|
||||
allows graphics and plots to be displayed in the terminal (Qt based version).
|
||||
Moreover, the `notebook` mode supports literate programming and reproducible
|
||||
science generating a web-based Python notebook. This notebook allows you to
|
||||
store chunks of Python code along side the results and additional comments
|
||||
@@ -55,9 +55,9 @@ NumPy is compatible with Python versions 2.4 through to 2.7.2 and 3.1+.
|
||||
Numba
|
||||
-----
|
||||
|
||||
`Numba <http://numba.pydata.org>`_ is an Numpy aware Python compiler
|
||||
`Numba <http://numba.pydata.org>`_ is a NumPy aware Python compiler
|
||||
(just-in-time (JIT) specializing compiler) which compiles annotated Python (and
|
||||
Numpy) code to LLVM (Low Level Virtual Machine) through special decorators.
|
||||
NumPy) code to LLVM (Low Level Virtual Machine) through special decorators.
|
||||
Briefly, Numba uses a system that compiles Python code with LLVM to code which
|
||||
can be natively executed at runtime.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ Web Applications
|
||||
================
|
||||
|
||||
As a powerful scripting language adapted to both fast prototyping
|
||||
and bigger projects, Python is widely used in Web applications
|
||||
and bigger projects, Python is widely used in web application
|
||||
development.
|
||||
|
||||
Context
|
||||
@@ -84,8 +84,8 @@ Werkzeug
|
||||
`Werkzeug <http://werkzeug.pocoo.org/>`_ is not actually a real framework, but
|
||||
rather a very powerful set of tools for building web applications. It provides
|
||||
URL routing utilities, request and response objects and a basic development
|
||||
server. It is mostly used where users need bigger flexibility for their
|
||||
application that is not commonly found in other web frameworks.
|
||||
server. It is mostly used where users need more flexibility for their
|
||||
application than is commonly found in other web frameworks.
|
||||
|
||||
Support can be found on its `mailing list <http://werkzeug.pocoo.org/community/#mailinglist>`_.
|
||||
|
||||
@@ -179,7 +179,7 @@ variables <https://uwsgi-docs.readthedocs.org/en/latest/Vars.html>`_.
|
||||
Server Best Practices
|
||||
:::::::::::::::::::::
|
||||
|
||||
The majority of self hosted Python applications today are hosted with a WSGI
|
||||
The majority of self-hosted Python applications today are hosted with a WSGI
|
||||
server such as :ref:`Gunicorn <gunicorn-ref>`, either directly or behind a
|
||||
lightweight web server such as :ref:`nginx <nginx-ref>`.
|
||||
|
||||
@@ -195,7 +195,7 @@ Platform-as-a-Service
|
||||
|
||||
Platform-as-a-Service (PaaS) is a type of cloud computing infrastructure
|
||||
which abstracts and manages infrastructure, routing, and scaling of web
|
||||
applications. When using PaaS, application developers can focus on writing
|
||||
applications. When using a PaaS, application developers can focus on writing
|
||||
application code rather than needing to be concerned with deployment
|
||||
details.
|
||||
|
||||
@@ -327,8 +327,8 @@ Here some important html tags in Jinja2:
|
||||
|
||||
|
||||
|
||||
The next listings is an example of a web site in combination with the tornado
|
||||
web server. Tornado is not very complicate to use.
|
||||
The next listings is an example of a web site in combination with the Tornado
|
||||
web server. Tornado is not very complicated to use.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
||||
Reference in New Issue
Block a user