Menu

Tree [760704] default tip /
 History

Read Only access


File Date Author Commit
 _test 2017-04-19 Anthon van der Neut Anthon van der Neut [eca9aa] initial version
 .hgtags 2020-03-30 Anthon van der Neut Anthon van der Neut [760704] Added tag 0.1.2 for changeset a1c6b28f81ef
 LICENSE 2020-03-30 Anthon van der Neut Anthon van der Neut [74da87] update setup.py
 README.rst 2017-04-19 Anthon van der Neut Anthon van der Neut [eca9aa] initial version
 __init__.py 2020-03-30 Anthon van der Neut Anthon van der Neut [a1c6b2] update setup.py
 setup.py 2020-03-30 Anthon van der Neut Anthon van der Neut [74da87] update setup.py

Read Me

ruamel.std.typing

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