supertext-sdk 0.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- supertext/__init__.py +16 -0
- supertext/files.py +859 -0
- supertext/py.typed +0 -0
- supertext/transport.py +68 -0
- supertext/v1/__init__.py +62 -0
- supertext/v1/api_key_check.py +114 -0
- supertext/v1/client.py +401 -0
- supertext/v1/corrections.py +124 -0
- supertext/v1/errors.py +156 -0
- supertext/v1/html_document.py +135 -0
- supertext/v1/languages.py +289 -0
- supertext/version.py +5 -0
- supertext_sdk-0.6.0.dist-info/METADATA +263 -0
- supertext_sdk-0.6.0.dist-info/RECORD +17 -0
- supertext_sdk-0.6.0.dist-info/WHEEL +5 -0
- supertext_sdk-0.6.0.dist-info/licenses/LICENSE +21 -0
- supertext_sdk-0.6.0.dist-info/top_level.txt +1 -0
supertext/__init__.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""Supertext SDK. Everything that talks to the API is versioned with it:
|
|
2
|
+
|
|
3
|
+
from supertext import v1 # or: from supertext.v1 import SupertextClient
|
|
4
|
+
|
|
5
|
+
client = v1.SupertextClient(api_key)
|
|
6
|
+
|
|
7
|
+
A later API version gets ``supertext.v2`` next to ``v1``. The HTTP layer every version shares is
|
|
8
|
+
:mod:`supertext.transport` (also re-exported from ``supertext.v1``).
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from . import v1
|
|
12
|
+
from .version import SDK_VERSION
|
|
13
|
+
|
|
14
|
+
__version__ = SDK_VERSION
|
|
15
|
+
|
|
16
|
+
__all__ = ["SDK_VERSION", "__version__", "v1"]
|