hyperapi-sdk 0.7.1__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.
hyperapi/__init__.py ADDED
@@ -0,0 +1,48 @@
1
+ """HyperAPI Python SDK.
2
+
3
+ Document intelligence APIs for parsing, extracting, classifying, and splitting
4
+ documents. Calls finish via async submit + poll under the hood (transparent to
5
+ the caller) so customer requests are never bound by edge timeouts.
6
+ """
7
+
8
+ import logging
9
+
10
+ from .async_client import AsyncHyperAPIClient
11
+ from .client import HyperAPIClient, Job
12
+ from .exceptions import (
13
+ AuthenticationError,
14
+ ClassifyError,
15
+ DocumentUploadError,
16
+ ExtractError,
17
+ HyperAPIError,
18
+ JobCancelledError,
19
+ JobTimeoutError,
20
+ ParseError,
21
+ RateLimitError,
22
+ RedactError,
23
+ SplitError,
24
+ )
25
+
26
+ __version__ = "0.7.1"
27
+
28
+ # Library-style logger: silent unless the application configures handlers.
29
+ # Customers opt in with: `logging.getLogger("hyperapi").setLevel(logging.INFO)`.
30
+ logging.getLogger(__name__).addHandler(logging.NullHandler())
31
+
32
+ __all__ = [
33
+ "HyperAPIClient",
34
+ "AsyncHyperAPIClient",
35
+ "Job",
36
+ "HyperAPIError",
37
+ "AuthenticationError",
38
+ "RateLimitError",
39
+ "JobTimeoutError",
40
+ "JobCancelledError",
41
+ "ParseError",
42
+ "ExtractError",
43
+ "ClassifyError",
44
+ "SplitError",
45
+ "RedactError",
46
+ "DocumentUploadError",
47
+ "__version__",
48
+ ]