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.2.tar.gz
(12.6 kB
view hashes)
Built Distribution
Close
Hashes for ruamel.std.typing-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2fb603b7dc285f9173f3fbf1c4c66d0aa5e76567628bcdf47a19703b5e198e2 |
|
MD5 | 94aa06c40b7585fa8321796891bfeee8 |
|
BLAKE2b-256 | 072844d23a83000750cd84347e65249b7ccfb27e1ea137623b236f2a46abd282 |