Skip to main content

General Python tools

Project description

This is a collection of utility modules for Python projects.

Features

  • “classes” module:

    Several classes derived from Python dicts, e.g. Mirror and Proxy.

  • “html” module:

    • HtmlEntityProxy - a dict which returns unicode characters when given a named HTML entity

  • “http” module:

    • extract_hostname (using url.split and raising ValueError)

  • “coding” module:

    Factory functions to create safe_encode resp. safe_decode functions as needed

Documentation

The modules are documented by doctests. Full documentation for end users can be found in the “docs” folder.

Installation

Simply install visaplan.tools by using pip:

pip install visaplan.tools

or by adding it to your buildout:

[buildout]

...

eggs =
    visaplan.tools

and then running bin/buildout

Contribute

Support

If you are having issues, please let us know; please use the issue tracker mentioned above.

License

The project is licensed under the Apache Software License.

Contributors

Changelog

1.2.1 (unreleased)

  • module ‘sequences’:

    • new function ‘nocomment_split’ [tobiasherp]

1.2 (2018-07-11)

  • breaking changes:

    • ‘classes’: Proxy is now a factory rather than a class

  • modules ‘debug’, ‘dicts’, ‘lands0’, ‘minifuncs’ [tobiasherp]

1.1 (2018-06-12)

  • modules ‘sequences’, ‘times’, ‘files’

  • Minor Bugfixes [tobiasherp]

1.0 (2018-06-11)

  • Initial release, including modules ‘classes’, ‘html’, ‘http’ and ‘coding’ [tobiasherp]

Supported by

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