from .core import * from .codec import * from typing import Any, Union def ToASCII(label: str) -> bytes: return encode(label) def ToUnicode(label: Union[bytes, bytearray]) -> str: return decode(label) def nameprep(s: Any) -> None: raise NotImplementedError('IDNA 2008 does not utilise nameprep protocol')
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 849 B | 0644 |
|
codec.py | File | 3.29 KB | 0644 |
|
compat.py | File | 321 B | 0644 |
|
core.py | File | 12.65 KB | 0644 |
|
idnadata.py | File | 43.33 KB | 0644 |
|
intranges.py | File | 1.84 KB | 0644 |
|
package_data.py | File | 21 B | 0644 |
|
py.typed | File | 0 B | 0644 |
|
uts46data.py | File | 201.7 KB | 0644 |
|