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
Release history Release notifications | RSS feed
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.0.tar.gz
(11.7 kB
view hashes)
Built Distribution
Close
Hashes for ruamel.std.typing-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaa0491cd586008ac906325183f5e7a07283ee92abba7d1de84e5ce0243ae35e |
|
MD5 | a6e93e335cb2c2046eb2b7dc76d869ce |
|
BLAKE2b-256 | 0f18f4c1fd4ba101171a1095979148a0114d682bf9cc6106bf46ac32b166eeb1 |