Skip to main content
Help us improve Python packaging – donate today!

Cross-platform application utilities in Python

Project Description


applib is a set of cross-platform application utilities that originated in the PyPM project at ActiveState. It contains the following modules:

  • sh: shell related operations including compression routines
  • textui: utilities for textual UI such as progress bar and column printing
  • log: log file rolling, exception-and-verbosity, sub commands, etc.

If you’re interested in this module, please let me know - as that may motivate me to document it fully.



Release date: 19-March-2011

  • sh.rm: ensure that only symlinks are deleted (not the entire dir)
  • sh.rm: remove symlinks as well (PyPM Bug #89540)
  • #12: sh.RunError now handles non-ascii stdout/stderr
  • sh.RunError now strips long stdout/stderr messages
  • applib.misc.safe_unicode: error-free unicode strings!


Release date: 20-December-2010

  • applib now depends on appdirs and six
  • #1: Deprecate applib.base.Locations and applib.locations in favour of ‘appdirs’
  • #3: sh.unpack now ensures single top-level directory
  • #4: Stop using unicode (py3k); applib now depends on the six package
  • #5: Stop using raw_input (py3k)
  • #6: Progress Bar prints delay with proper precision on py3k
  • textui: Progress Bar shows ETA
  • #8: progressbar prints floats as delay on py3k
  • textui: ProgressBar.iterate clean-ups output if there is an exception/break
  • textui: ProgressBar.iterate(post=’…’) to print post message after progress
  • compression: Workaround zipfile bug with long paths on Windows (issue10447)
  • proc: make accept cmd as a list of arguments
  • _simpledb: force PickeType to use protocol 2. PyPM Bug #88882
  • textui: Make colprint not prune columns when stdout is not a terminal


Release date: 23-July-2010

  • applib.log: support for specifying the default verbosity level


Release date: 29-Jun-2010

  • bb #1: Broken pipe error when breaking less


Release date: 27-May-2010

  • More Python3 related fixes


Release date: 25-May-2010

  • Fixed UnboundLocalError with ‘sys’ in


Release date: 28-Apr-2010

  • Fixed sys.exc_info related Python3 port


Release date: 28-Apr-2010

  • Updated applib._cmdln with cmdln:^/branches/cfg


Release date: 28-Apr-2010

  • Fixed more modules supporting Python 3


Release date: 28-Apr-2010

  • Python 3 support


Release date: 13-Apr-2010

  • Fix a NameError with _proc.RunTimedout


Release date: 30-Mar-2010

  • Fix: require_option was throwing Exception with empty message


Release date: 19-Mar-2010

  • Add applib.textui:askyesno

Release history Release notifications

This version
History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
applib-1.2.tar.gz (38.0 kB) Copy SHA256 hash SHA256 Source None Mar 18, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page