Skip to main content

Cross-platform application utilities in Python

Project description

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

Project details


Download files

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

Source Distribution

applib-1.1.0.tar.gz (38.9 kB view details)

Uploaded Source

File details

Details for the file applib-1.1.0.tar.gz.

File metadata

  • Download URL: applib-1.1.0.tar.gz
  • Upload date:
  • Size: 38.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for applib-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d22e213560d967bb4d0aa29928c3be6adefed7d141e5e24094fc51597275f33d
MD5 2a640060087a7437e4351a9074eafb47
BLAKE2b-256 451e587211f7cb9c356fbd9be29a27f931894a123bef2d7a7f8912eb0b0fc86f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page