Skip to main content

utility library used for openplans.org

Project description

A library of generally useful pieces of python for working with zope, wsgi, pylons, setuptools, dates and the open planning project’s software offerings.

Pu Pu Platter of Python delights

  • ‘topp.utils.config.ConfigMap’ – generates a mapping object from an ini file

  • ‘topp.utils.detag.detag’ – removes all HTML/XML from a string

  • ‘topp.utils.filesystem’ – abspath, makedir, get_args, which

  • ‘topp.utils.introspection.dumb_method’ – auto apply staticmethod

    and classmethod descriptors

  • ‘topp.utils.memorycache.Cache’ – simple in memory cache

  • ‘topp.utils.modules.uninstall_package’ – remove a python package from the current environment

  • ‘topp.utils.persistence’ – some extensions of ZODB persistence classes

  • ‘topp.utils.pretty_date.prettyDate’ – data beautifier

  • ‘topp.utils.pretty_text.truncate’ – string truncater

  • ‘topp.utils.testing.layer_factory’ – create layers on the fly to

    use with zope.testing

  • ‘topp.utils.uri’ – functions for working with urls

  • ‘topp.utils.wenvutils’ – deprecated functions for working with workingenvs

  • ‘topp.utils.zutils.aq_iface’ – find objects up the acquisition

    chain in Zope2 by interface implemented

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

topp.utils-0.5.1.tar.gz (11.1 kB view hashes)

Uploaded Source

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