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


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

ANN: marrow.util 1.1

Path csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <alice@gothcandy.com>
X-Original-To python-announce@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; 'subject:ANN': 0.02; 'cache': 0.04; 'instance': 0.05; 'imports': 0.07; 'wrapper': 0.07; 'python': 0.08; 'url:pypi': 0.08; 'arguments.': 0.09; 'commonly': 0.09; 'constants.': 0.09; 'file-like': 0.09; 'handling.': 0.09; 'sets.': 0.09; 'truncate': 0.09; 'seconds': 0.10; '0);': 0.13; 'binary': 0.13; '"><span': 0.16; '(bytes': 0.16; '2-tuple': 0.16; '2.6,': 0.16; 'boolean': 0.16; 'conversions.': 0.16; 'creation.': 0.16; 'ellipsis': 0.16; 'hour,': 0.16; 'integers.': 0.16; 'light- weight': 0.16; 'manipulating': 0.16; 'medium;': 0.16; 'paths.': 0.16; 'placeholder': 0.16; 'py3k': 0.16; 'recursive': 0.16; 'sequence.': 0.16; 'tarball': 0.16; 'trigger.': 0.16; 'utc': 0.16; 'wrapping': 0.16; 'xrange': 0.16; 'values': 0.18; 'bytes': 0.18; 'classes,': 0.18; 'wrap': 0.18; 'exception': 0.19; 'rgb(0,': 0.21; 'code,': 0.21; 'object': 0.22; 'ansi': 0.23; 'optional': 0.23; 'code': 0.25; 'named': 0.26; 'processing': 0.27; 'string': 0.27; 'auto;': 0.28; 'functions,': 0.28; 'provided.': 0.28; 'asynchronous': 0.30; 'attribute': 0.30; 'key.': 0.30; '\xe2\x80\x94': 0.30; 'import': 0.31; 'list': 0.31; 'source': 0.31; 'array': 0.32; 'updated': 0.32; 'error': 0.32; 'convert': 0.33; 'map': 0.33; 'prepared': 0.33; 'extensively': 0.34; 'notation': 0.34; 'text-align:': 0.34; 'unicode': 0.34; 'advanced': 0.35; 'skip:- 30': 0.35; 'consistent': 0.36; 'keyword': 0.36; 'received:10.0.1': 0.36; 'strings': 0.36; 'used': 0.36; 'overview': 0.37; 'received:10.0': 0.37; 'two': 0.38; 'release': 0.38; 'skip:s 20': 0.38; 'received:ca': 0.38; 'announce': 0.38; 'event': 0.38; 'url:org': 0.38; 'determine': 0.39; 'subject:: ': 0.39; 'url:python': 0.39; 'header:Mime- Version:1': 0.39; 'around': 0.40; 'to:addr:python.org': 0.40; 'skip:l 10': 0.40; 'name': 0.61; 'header:Message-Id:1': 0.61; 'rich': 0.62; 'property': 0.63; 'simple': 0.63; 'to:addr:python- announce': 0.67; 'pleasure': 0.67; 'received:174': 0.68; 'week,': 0.72; '18px;': 0.84; 'pronoun': 0.84
From Alice Bevan-McGregor <alice@gothcandy.com>
Date Tue, 1 Feb 2011 16:20:50 -0800
Subject ANN: marrow.util 1.1
To python-announce@python.org
Mime-Version 1.0 (Apple Message framework v1082)
X-Mailer Apple Mail (2.1082)
X-Mailman-Approved-At Wed, 02 Feb 2011 15:52:01 +0100
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
X-Content-Filtered-By Mailman/MimeDel 2.1.12
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <http://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 <http://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.1586.1296658322.6505.python-announce-list@python.org> (permalink)
Lines 111
NNTP-Posting-Host 82.94.164.166
X-Trace 1296658322 news.xs4all.nl 41113 [::ffff:82.94.164.166]:33361
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:1080

Show key headers only | View raw


Howdy!

It is my pleasure to announce an updated release of marrow.util, a package combining many commonly re-implemented utility functions, classes, and compatibility code used extensively by the marrow package suite and others.

The updated package is available from PyPi:

	http://pypi.python.org/pypi/marrow.util

Prepared eggs are available for Python 2.6, 2.7, and 3.1; a source tarball has been included as well.

The following is an overview of the many utilities provided.

marrow.util.bunch:

 * Bunch - attribute access dictionary.
 * MultiBunch - as per Bunch + allowing multiple values per key.

marrow.util.compat:

 * formatdate - consistent import for Py2K + 3K.
 * unquote - consistent unquote_plus import and 3K bytes conversion.
 * range / xrange - Py2K xrange / 3K range consistent imports.
 * execfile - Py3K implementation and consistent import.
 * exception - a version-agnostic method of exception handling.
 * binary / unicode - consistent imports for str/bytes and unicode/str.
 * bytestring - ensure a string is a bytestring.
 * native - ensure a string is native (bytes on 2K, unicode on 3K).
 * uvalues - decode each value of an iterable with advanced error handling.
 * IO - StringIO/cStringIO/BytesIO consistent import.
 * parse_qsl - consistent import.

marrow.util.convert:

 * boolean - convert common string representations into booleans.
 * array - powerful string to list conversions.
 * KeywordProcessor - powerful bidirectional string to rich datatype conversion.
 * tags - a KeywordProcessor for processing space-separated tag sets.
 * terms - a KeywordProcessor for processing demarked search terms (+foo -bar).

marrow.util.escape:

 * unescape - ANSI color code, object property, and pronoun substitution.

marrow.util.events:

 * WaitableEvent - an asynchronous event trigger.

marrow.util.insensitive:

 * CaseInsensitiveDict - the name is descriptive.

marrow.util.object:

 * flatten - recursive iterable flattening.
 * yield_property - a generator which returns a named property from all elements in a sequence.
 * yield_keyvalue - a generator which returns a named item from all elements in a sequence.
 * NoDefault - a useful placeholder singleton for optional keyword arguments.
 * merge - merge two dictionaries.
 * load_object - dot-colon notation string to object resolver.
 * Cache - a simple LRU cache implementation.
 * LoggingFile - a file-like object wrapper around Python logging.
 * CounterMeta - serialized instance creation metaclass.
 * getargspec - a comprehensive argspec inspector.

marrow.util.path:

 * Path - an enhanced deque implementation for manipulating URL paths.

marrow.util.patterns:

 * Borg - a very light-weight borg superclass or mix-in.

marrow.util.pipe:

 * Pipe - a cross-platform TCP-based pipe implementation.
 * pipe - consistent import for platform-aware (Windows-compat) pipe creation.

marrow.util.text:

 * normalize - determine the best unique name for a new item in a sequence.
 * ellipsis - truncate text and add an ellipsis.
 * wrap - wrapping of English text.
 * rewrap - combined unwrapping and wrapping of English text.

marrow.util.time:

 * UTC - a simple concrete UTC implementation.
 * delta_to_seconds - timedelta to seconds conversion.
 * day, week, hour, minute, second, month, year - timedelta constants.
 * minute_range, hour_range, dom_range, month_range, dow_range -
   2-tuple range constants.
 * map_month, map_dow - map strings to integers.

	— Alice.


	— Alice.

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


Thread

ANN: marrow.util 1.1 Alice Bevan-McGregor <alice@gothcandy.com> - 2011-02-01 16:20 -0800

csiph-web