Skip to main content

applib

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.

News

1.2

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!

1.1.0

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 sh.run 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

1.0.1

Release date: 23-July-2010

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

1.0.0

Release date: 29-Jun-2010

  • bb #1: Broken pipe error when breaking less

1.0.0c10

Release date: 27-May-2010

  • More Python3 related fixes

1.0.0c9

Release date: 25-May-2010

  • Fixed UnboundLocalError with ‘sys’ in _cmdln.py#L1190

1.0.0c8

Release date: 28-Apr-2010

  • Fixed sys.exc_info related Python3 port

1.0.0c7

Release date: 28-Apr-2010

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

1.0.0c6

Release date: 28-Apr-2010

  • Fixed more modules supporting Python 3

1.0.0c5

Release date: 28-Apr-2010

  • Python 3 support

1.0.0c4

Release date: 13-Apr-2010

  • Fix a NameError with _proc.RunTimedout

1.0.0c3

Release date: 30-Mar-2010

  • Fix: require_option was throwing Exception with empty message

1.0.0c2

Release date: 19-Mar-2010

  • Add applib.textui:askyesno

Metadata

Release files for applib 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for applib 1.2
File Size Uploaded
applib-1.2.tar.gz 38.0 kB Details

Release files / applib-1.2.tar.gz

Download URL applib-1.2.tar.gz
Size 38.0 kB
Tags Source
SHA-256 checksum
How to use checksums
735a4c2104d652d41048219581a8aa0c00b95ab5316730bda8a7d46235aaf824
BLAKE2b-256 checksum
How to use checksums
d42067c3c98b557cfa2aa95dc0a9281989e6ab740a5058ee1f8a5f8febba8aaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2 This release

1 release file

1.1.0

1 release file

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page