Skip to main content

wrapper to handle dependency differences between version, and missing Text in 3.5.0/1

Project description

package ruamel.std.pathlib is a drop-in replacement to extend the Python standard typing` module.

  • adds pip install dependency for 2.7/3.3/3.4

  • adds Text for 3.5.0 and 3.5.1

This package alleviates the need to do:

import sys
if sys.version_info >= (3, 5, 2):
    from typing import Dict, List, Any, Union, Text   # NOQA

instead you can just do:

from ruamel.std.typing import Dict, List, Any, Union, Text

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

ruamel.std.typing-0.1.2.tar.gz (12.6 kB view hashes)

Uploaded Source

Built Distribution

ruamel.std.typing-0.1.2-py2.py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 2 Python 3

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