Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #1805

ANNOUNCING: Availability of a pre-alpha release of a Python CLI API and associated character-mode emulation of the pixel-mode wxPython GUI API

Path csiph.com!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rigordo@comcast.net>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'operator': 0.03; '-----------': 0.04; 'debug': 0.04; 'messages.': 0.04; 'subject:Python': 0.05; 'repository': 0.05; 'emulates': 0.07; 'mouse': 0.07; 'optparse': 0.07; 'setup.py': 0.07; 'api': 0.09; 'buttons': 0.09; 'development)': 0.09; 'facilitates': 0.09; 'formatted': 0.09; 'i\xe2\x80\x99ve': 0.09; 'logger': 0.09; 'pixel': 0.09; 'positional': 0.09; 'units.': 0.09; 'url:github': 0.09; 'python': 0.10; 'exception': 0.13; 'index': 0.13; '"python': 0.16; '(default)': 0.16; '8-bit': 0.16; 'buttons,': 0.16; 'curses': 0.16; 'dictionaries': 0.16; 'emulation': 0.16; 'from:addr:comcast.net': 0.16; 'install"': 0.16; 'message- id:@comcast.net': 0.16; 'modules,': 0.16; 'ncurses': 0.16; 'next.': 0.16; 'platform:': 0.16; 'pypi.': 0.16; 'scripts.': 0.16; 'skip:" 70': 0.16; 'subject:GUI': 0.16; 'unix-style': 0.16; 'linux,': 0.18; 'nested': 0.18; 'skip:g 40': 0.18; 'creates': 0.18; 'gui': 0.18; 'input': 0.18; 'settings': 0.20; '(not': 0.20; 'versions': 0.20; 'windows': 0.20; 'developer': 0.20; 'skip:" 40': 0.20; 'arguments': 0.22; 'exceptions': 0.22; 'features,': 0.22; 'keyboard': 0.22; 'parser': 0.22; 'priorities': 0.22; 'subject:release': 0.22; 'techniques,': 0.22; 'programming': 0.22; 'code,': 0.23; 'demonstrate': 0.23; 'unlike': 0.23; 'unix': 0.24; 'module': 0.25; 'install': 0.25; 'example': 0.26; 'command': 0.26; 'installed': 0.26; 'error': 0.27; '(e.g.': 0.27; 'coding': 0.27; 'handling': 0.27; 'logging': 0.27; 'separate': 0.27; '(such': 0.27; 'host': 0.28; 'interface': 0.29; 'dictionary': 0.29; 'dimensions': 0.29; 'environment': 0.29; 'character': 0.29; 'launch': 0.29; 'objects': 0.29; 'creating': 0.30; 'code': 0.30; 'task': 0.30; 'entry': 0.31; 'implement': 0.32; 'received:10.0.0': 0.32; 'screen': 0.32; 'run': 0.33; 'options': 0.33; 'useful': 0.33; 'source': 0.33; 'common': 0.33; 'builds': 0.33; 'received:comcast.net': 0.33; 'skip:- 10': 0.34; 'changing': 0.34; 'file': 0.34; 'received:10.0': 0.34; 'text': 0.35; '8bit%:4': 0.35; 'displays': 0.35; 'draft': 0.35; 'formats': 0.35; 'mapping': 0.35; 'set.': 0.35; 'remote': 0.35; 'community': 0.36; 'tool': 0.36; 'mode': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'display': 0.37; 'operating': 0.37; 'mac': 0.37; 'release': 0.37; 'progress': 0.38; 'feedback': 0.38; 'building': 0.38; 'skip:p 20': 0.38; 'files': 0.38; 'provide': 0.61; 'received:96': 0.63; 'latest': 0.64; 'capable': 0.65; 'capture': 0.66; 'date,': 0.66; 'of:': 0.66; 'services': 0.67; 'skip:\xe2 10': 0.70; '8bit%:43': 0.72; 'feeling': 0.72; '8bit%:46': 0.76; 'coordination': 0.84; 'facilitated': 0.84; 'palette': 0.84; 'received:10.0.0.2': 0.84; 'skip:s 80': 0.84; 'subject:Availability': 0.84; 'subject:mode': 0.84; 'triggering': 0.84; 'graphical': 0.91; 'support:': 0.91
From "Richard S. Gordon" <rigordo@comcast.net>
Date Thu, 6 Aug 2015 14:53:58 -0400
Subject ANNOUNCING: Availability of a pre-alpha release of a Python CLI API and associated character-mode emulation of the pixel-mode wxPython GUI API
To python-announce-list@python.org
Mime-Version 1.0 (Mac OS X Mail 8.2 \(2102\))
X-Mailer Apple Mail (2.2102)
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1438887239; bh=vRY4QdXnbiQ+gt8aEABj024Lfw0KXDlzvsCMFy+WOlM=; h=Received:Received:From:Content-Type:Date:Subject:To:Message-Id: Mime-Version; b=iaEMefsrLYd1r/IbcHFz8YE9S5Xz7C0XRlvXBldJlZVGlmivPwL7QR9ysf3G1k6FO geaqZxgT3E4mYLygVzEMcw7UrhZ7gRm5WXvi0oaFou85OT2kiq6ruCDUrTMypV5YMQ OtlwDyquwbXXpuocZOAQKok49k/Pa28wBKTLst64fQmreGJhX/0ZyTX3XZ+hKtxNla zOZT4I8Vmtki0upOKn+0ZsffA8UVQtoazmeQCVUhZgxCFTPb8tDLzprWve+QQ9jAu+ csSby/w5LGuxY4GUokCSmgkeGSEfMXvUEe8WyvBtZDohio4hPP7O08trUZCgD/Oc7U aijIQzrKt+IzQ==
X-Mailman-Approved-At Fri, 07 Aug 2015 10:59:50 +0200
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
X-Content-Filtered-By Mailman/MimeDel 2.1.20+
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.1299.1438937992.3674.python-announce-list@python.org> (permalink)
Lines 107
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1438937992 news.xs4all.nl 2825 [2001:888:2000:d::a6]:46886
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:1805

Show key headers only | View raw


Members of the Python developer community might find some useful information, programming techniques, building block modules, packages and tools in the toolkit I’ve released via github:

https://github.com/ <https://github.com/>rigordo959/tsWxGTUI_PyVx_Repository

The repository includes Python 2x and 3x versions of:
A cross-platform Python 2x & Python 3x based Command Line Interface (CLI) API which works on various releases of Linux, Mac OS X, Microsoft Windows and Unix.
A cross-platform Python 2x & Python 3x based character-mode emulation of the pixel-mode "wxPython" Graphical User Interface (GUI) API which works on various releases of Linux, Mac OS X, Microsoft Windows (requires Cygwin plugin) and Unix.
Python version-specific Site-Packages (e.g. installable via commands such as "python2.6.8 setup.py install" or "python2.7.9 setup.py install” in "./tsWxGTUI_PyVx_Repository/SourceDistributions/Site-Packages/Python-2x”) which augments the standard Python Global Module Index
Python version-independant Developer-Sandboxes (e.g. run test and tool applications in "./tsWxGTUI_PyVx_Repository/SourceDistributions/Developer-Sandboxes/Python-3x/tsWxGTUI_Py3x") which facilitates experimentation without corrupting installed Site-Packages.
Python 2x & Python 3x based applications and instructions in "./tsWxGTUI_PyVx_Repository/Documents/Demo.txt" that demonstrate the Toolkit’s local and remote usage and coding techniques.
A single "python setup.py sdist” command cannot be used to release the repository via PyPI. Separate “python setup.py install” commands can be used to install the Python 2x and Python 3x site-packages. However, it is most important to keep a single repository because development and maintenance are facilitated when source code components share a common API and a single document set.

Unlike host operating systems, which provide native GUI services and standard terminal emulators (8-/16-color xterm-family and non-color vt100-family without interpreting mouse input), this Toolkit emulates the wxPython 68-color palette, and association of mouse input with wxPython triggering objects (such as buttons, checkboxes, radio buttons, scroll bar buttons and sliders/gauges).

Though its still a work in progress (pre-alpha), I"ve released the existing source code, documentation, man-pages and draft engineering notebooks in order to solicit feedback on the features, performance and priorities of features to implement next.

Richard S. Gordon

-----------
CLI API
-----------

A report packager/module that formats date, time, file size and nested dictionaries for creating message time stamps and configuration logs.
An exception package/module for mapping various exceptions into Unix-style 8-bit error codes to facilitate coordination of multiple Python scripts.
A logger package/module which creates a dated and time stamped directory in the directory from which a Python application is launched which will capture stdout/stderr, debug  and curses messages.
A Platform Run Time Environment package/module which builds and displays a formatted nested dictionary of Python system and host platform information. 
An Operator Settings Parser which extracts key-word value pair options and positional arguments using the latest available Python parser (argparse, optparse of getopt) with example code for each that can support:
-h/—help
-a/—about
-v/—version
-V/—Verbose
-d/—debug
-----------
GUI API
-----------

A curses-based character mode emulation of the pixel-mode wxPython Graphical User Interface API
It provides a pixel-mode “wxPython" feeling on character-mode 8-/16-color (xterm-family) & non-color (vt100-family) terminals and terminal emulators.
It supports:
Launching from command line interface mode
Frames, Dialogs, Scrolled Windows
Panels
Buttons, CheckBoxes, Radio Boxes/Buttons
Text Entry and Password Entry (still under development)
Splash Screen display constructed or re-used during launch
68-color palette (mapped into 8-/16-color Curses palette)
Logging to Screen and Files
Event Handling (not yet general purpose)
Task Bar (not yet capable of changing focus)
Position and dimensions accepted in Pixel (default) or Character (option) cell units.
Keyboard and mouse input works with:
Curses CLI applications on 32-/64-bit host platform:
"Terminal” on GNU/Linux
"Terminal” on Mac OS X
“Console” on Microsoft Windows with “Cygwin”, GNU/Linux-like plug-in from Red Hat
“Terminal” on Unix
nCurses CLI applications on 32-/64-bit host platform:
"XTerm" and "UXTerm” on GNU/Linux
"iTerm2" on Mac OS X
“Mintty” on Microsoft Windows with “Cygwin”, GNU/Linux-like plug-in from Red Hat

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

ANNOUNCING: Availability of a pre-alpha release of a Python CLI API and associated character-mode emulation of the pixel-mode wxPython GUI API "Richard S. Gordon" <rigordo@comcast.net> - 2015-08-06 14:53 -0400

csiph-web