Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 554fb16

Browse filesBrowse files
committed
- Reformatting first paragraph of cli to conform to 78 character width.
-- Same for Click, Cement. - In gui, similarly for Camelot, PyGObject, Kivy, Pyjs Desktop, Qt -- PySimpleGUI, Toga, TkInterwxPython
1 parent 188e336 commit 554fb16
Copy full SHA for 554fb16

File tree

Expand file treeCollapse file tree

2 files changed

+49
-42
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+49
-42
lines changed

‎docs/scenarios/cli.rst

Copy file name to clipboardExpand all lines: docs/scenarios/cli.rst
+15-16Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ Command-line Applications
55

66
.. image:: /_static/photos/34435690330_11930b5987_k_d.jpg
77

8-
Command-line applications, also referred to as
9-
`Console Applications <http://en.wikipedia.org/wiki/Console_application>`_,
10-
are computer programs designed to be used from a text interface, such as a
11-
`shell <http://en.wikipedia.org/wiki/Shell_(computing)>`_. Command-line
12-
applications usually accept various inputs as arguments, often referred to as
13-
parameters or sub-commands, as well as options, often referred to as flags or
14-
switches.
8+
Command-line applications, also referred to as `Console Applications
9+
<http://en.wikipedia.org/wiki/Console_application>`_, are computer programs
10+
designed to be used from a text interface, such as a `shell
11+
<http://en.wikipedia.org/wiki/Shell_(computing)>`_. Command-line applications
12+
usually accept various inputs as arguments, often referred to as parameters or
13+
sub-commands, as well as options, often referred to as flags or switches.
1514

1615
Some popular command-line applications include:
1716

@@ -29,9 +28,9 @@ Click
2928
*****
3029

3130
`click <http://click.pocoo.org/>`_ is a Python package for creating
32-
command-line interfaces in a composable way with as little code as
33-
possible. This “Command-Line Interface Creation Kit” is highly
34-
configurable but comes with good defaults out of the box.
31+
command-line interfaces in a composable way with as little code as possible.
32+
This “Command-Line Interface Creation Kit” is highly configurable but comes
33+
with good defaults out of the box.
3534

3635

3736
******
@@ -72,12 +71,12 @@ sub-command to do the work.
7271
Cement
7372
******
7473

75-
`Cement <http://builtoncement.com/>`_ is an advanced CLI Application Framework.
76-
Its goal is to introduce a standard and feature-full platform
77-
for both simple and complex command line applications as well
78-
as support rapid development needs without sacrificing quality.
79-
Cement is flexible, and its use cases span from the simplicity of a micro-framework
80-
to the complexity of a mega-framework.
74+
`Cement <http://builtoncement.com/>`_ is an advanced CLI Application
75+
Framework. Its goal is to introduce a standard and feature-full platform for
76+
both simple and complex command line applications as well as support rapid
77+
development needs without sacrificing quality. Cement is flexible, and its use
78+
cases span from the simplicity of a micro-framework to the complexity of a
79+
mega-framework.
8180

8281

8382
***********

‎docs/scenarios/gui.rst

Copy file name to clipboardExpand all lines: docs/scenarios/gui.rst
+34-26Lines changed: 34 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Camelot
1414
*******
1515

1616
`Camelot <http://www.python-camelot.com>`_ provides components for building
17-
applications on top of Python, SQLAlchemy, and Qt. It is inspired by
18-
the Django admin interface.
17+
applications on top of Python, SQLAlchemy, and Qt. It is inspired by the Django
18+
admin interface.
1919

2020
The main resource for information is the website:
2121
http://www.python-camelot.com
@@ -40,8 +40,10 @@ GTk
4040
PyGObject aka (PyGi)
4141
********************
4242

43-
`PyGObject <https://wiki.gnome.org/Projects/PyGObject>`_ provides Python bindings which gives access to the entire GNOME software platform.
44-
It is fully compatible with GTK+ 3. Here is a tutorial to get started with `Python GTK+ 3 Tutorial <https://python-gtk-3-tutorial.readthedocs.io/en/latest/>`_.
43+
`PyGObject <https://wiki.gnome.org/Projects/PyGObject>`_ provides Python
44+
bindings which gives access to the entire GNOME software platform. It is fully
45+
compatible with GTK+ 3. Here is a tutorial to get started with `Python GTK+ 3
46+
Tutorial <https://python-gtk-3-tutorial.readthedocs.io/en/latest/>`_.
4547

4648
`API Reference <http://lazka.github.io/pgi-docs/>`_
4749

@@ -52,8 +54,8 @@ Kivy
5254

5355
`Kivy <http://kivy.org>`_ is a Python library for development of multi-touch
5456
enabled media rich applications. The aim is to allow for quick and easy
55-
interaction design and rapid prototyping, while making your code reusable
56-
and deployable.
57+
interaction design and rapid prototyping, while making your code reusable and
58+
deployable.
5759

5860
Kivy is written in Python, based on OpenGL, and supports different input devices
5961
such as: Mouse, Dual Mouse, TUIO, WiiMote, WM_TOUCH, HIDtouch, Apple's products,
@@ -100,8 +102,9 @@ http://www.riverbankcomputing.co.uk/software/pyqt/download
100102
Pyjs Desktop (formerly Pyjamas Desktop)
101103
*****************************
102104

103-
Pyjs Desktop is a application widget set for desktop and a cross-platform framework. It allows the exact same Python web
104-
application source code to be executed as a standalone desktop application.
105+
Pyjs Desktop is a application widget set for desktop and a cross-platform
106+
framework. It allows the exact same Python web application source code to be
107+
executed as a standalone desktop application.
105108

106109

107110
The main website: `pyjs <http://pyjs.org/>`_.
@@ -111,35 +114,40 @@ The main website: `pyjs <http://pyjs.org/>`_.
111114
Qt
112115
**
113116

114-
`Qt <http://qt-project.org/>`_ is a cross-platform application framework that
115-
is widely used for developing software with a GUI but can also be used for
116-
non-GUI applications.
117+
`Qt <http://qt-project.org/>`_ is a cross-platform application framework that is
118+
widely used for developing software with a GUI but can also be used for non-GUI
119+
applications.
117120

118121

119122
***********
120123
PySimpleGUI
121124
***********
122125

123-
`PySimpleGUI <https://pysimplegui.readthedocs.io/>`_ is a wrapper for Tkinter and Qt (others on the way). The amount of code required to implement custom GUIs is much shorter using PySimpleGUI than if the same GUI were written directly using Tkinter or Qt. PySimpleGUI code can be "ported" between GUI frameworks by changing import statements.
126+
`PySimpleGUI <https://pysimplegui.readthedocs.io/>`_ is a wrapper for Tkinter
127+
and Qt (others on the way). The amount of code required to implement custom
128+
GUIs is much shorter using PySimpleGUI than if the same GUI were written
129+
directly using Tkinter or Qt. PySimpleGUI code can be "ported" between GUI
130+
frameworks by changing import statements.
124131

125132
.. code-block:: console
126133
127134
$ pip install pysimplegui
128135
129-
PySimpleGUI is contained in a single PySimpleGUI.py file. Should pip installation be impossible, copying the PySimpleGUI.py file into a project's folder is all that's required to import and begin using.
136+
PySimpleGUI is contained in a single PySimpleGUI.py file. Should pip
137+
installation be impossible, copying the PySimpleGUI.py file into a project's
138+
folder is all that's required to import and begin using.
130139

131140

132141
****
133142
Toga
134143
****
135144

136-
`Toga <https://toga.readthedocs.io/en/latest/>`_ is a Python native, OS
137-
native, cross platform GUI toolkit. Toga consists of a library of base
138-
components with a shared interface to simplify platform-agnostic GUI
139-
development.
145+
`Toga <https://toga.readthedocs.io/en/latest/>`_ is a Python native, OS native,
146+
cross platform GUI toolkit. Toga consists of a library of base components with a
147+
shared interface to simplify platform-agnostic GUI development.
140148

141-
Toga is available on mOS, Windows, Linux (GTK), and mobile platforms such
142-
as Android and iOS.
149+
Toga is available on mOS, Windows, Linux (GTK), and mobile platforms such as
150+
Android and iOS.
143151

144152

145153
**
@@ -154,20 +162,20 @@ Both Tk and Tkinter are available on most Unix platforms, as well as on Windows
154162
and Macintosh systems. Starting with the 8.0 release, Tk offers native look and
155163
feel on all platforms.
156164

157-
There's a good multi-language Tk tutorial with Python examples at
158-
`TkDocs <http://www.tkdocs.com/tutorial/index.html>`_. There's more information
165+
There's a good multi-language Tk tutorial with Python examples at `TkDocs
166+
<http://www.tkdocs.com/tutorial/index.html>`_. There's more information
159167
available on the `Python Wiki <http://wiki.python.org/moin/TkInter>`_.
160168

161169

162170
********
163171
wxPython
164172
********
165173

166-
wxPython is a GUI toolkit for the Python programming language. It allows
167-
Python programmers to create programs with a robust, highly functional
168-
graphical user interface, simply and easily. It is implemented as a Python
169-
extension module (native code) that wraps the popular wxWidgets cross platform
170-
GUI library, which is written in C++.
174+
wxPython is a GUI toolkit for the Python programming language. It allows Python
175+
programmers to create programs with a robust, highly functional graphical user
176+
interface, simply and easily. It is implemented as a Python extension module
177+
(native code) that wraps the popular wxWidgets cross platform GUI library, which
178+
is written in C++.
171179

172180
**Install (Stable) wxPython**
173181
*go to https://www.wxpython.org/pages/downloads/ and download the appropriate

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.