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 (unreleased)

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

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

1.2.dev5 (2018-07-10)

  • (WIP) trying to make the namespace packages work when installed via zc.buildout [tobiasherp]

1.2.dev4 (2018-07-10)

  • Imports work when installed by pip but not when installed by zc.buildout [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]

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

visaplan.tools-1.2.dev5.tar.gz (36.5 kB view details)

Uploaded Source

File details

Details for the file visaplan.tools-1.2.dev5.tar.gz.

File metadata

File hashes

Hashes for visaplan.tools-1.2.dev5.tar.gz
Algorithm Hash digest
SHA256 2d3039713564452e2dbbce9598cc15dc09e2a5e292376755d542e75345ecf32c
MD5 b9a992075dd9fd9714725b801f369f6f
BLAKE2b-256 899271483278ec8613da1ac030773ae4a3327c24f3eba344f46e46cb360f3a37

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