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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ruamel.std.typing-0.1.2.tar.gz.
File metadata
- Download URL: ruamel.std.typing-0.1.2.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8832a5b5bc62307937ae38a5995b321cf4d75e45cfbc1a1a2b9d13756de798eb
|
|
| MD5 |
351273665f6e5a07cd64df8f50f692c7
|
|
| BLAKE2b-256 |
6052782d97322c232151a69246efaa0e79c81f81db79f62c068fe110374ceab9
|
File details
Details for the file ruamel.std.typing-0.1.2-py2.py3-none-any.whl.
File metadata
- Download URL: ruamel.std.typing-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2fb603b7dc285f9173f3fbf1c4c66d0aa5e76567628bcdf47a19703b5e198e2
|
|
| MD5 |
94aa06c40b7585fa8321796891bfeee8
|
|
| BLAKE2b-256 |
072844d23a83000750cd84347e65249b7ccfb27e1ea137623b236f2a46abd282
|