freetheai 0.1.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.
freetheai/__init__.py ADDED
@@ -0,0 +1,61 @@
1
+ """Official Python client for the FreeTheAI API (https://freetheai.org).
2
+
3
+ One OpenAI-compatible endpoint with free AI models, web search, and media
4
+ tasks. Docs: https://freetheai.org/docs
5
+ """
6
+
7
+ from ._client import DEFAULT_BASE_URL, AsyncFreeTheAI, FreeTheAI
8
+ from ._errors import (
9
+ APIConnectionError,
10
+ APIStatusError,
11
+ AuthenticationError,
12
+ BadRequestError,
13
+ CheckinRequiredError,
14
+ ConcurrencyLimitError,
15
+ ContentFilterError,
16
+ DailyLimitError,
17
+ EmailNotVerifiedError,
18
+ FreeTheAIError,
19
+ ImagesNotSupportedError,
20
+ IncompleteKeyError,
21
+ InternalServerError,
22
+ ModelBusyError,
23
+ ModelNotFoundError,
24
+ NotFoundError,
25
+ PermissionDeniedError,
26
+ ProviderBudgetError,
27
+ RateLimitError,
28
+ RequestTooLargeError,
29
+ StreamInterruptedError,
30
+ TaskFailedError,
31
+ )
32
+ from ._version import __version__
33
+
34
+ __all__ = [
35
+ "DEFAULT_BASE_URL",
36
+ "APIConnectionError",
37
+ "APIStatusError",
38
+ "AsyncFreeTheAI",
39
+ "AuthenticationError",
40
+ "BadRequestError",
41
+ "CheckinRequiredError",
42
+ "ConcurrencyLimitError",
43
+ "ContentFilterError",
44
+ "DailyLimitError",
45
+ "EmailNotVerifiedError",
46
+ "FreeTheAI",
47
+ "FreeTheAIError",
48
+ "ImagesNotSupportedError",
49
+ "IncompleteKeyError",
50
+ "InternalServerError",
51
+ "ModelBusyError",
52
+ "ModelNotFoundError",
53
+ "NotFoundError",
54
+ "PermissionDeniedError",
55
+ "ProviderBudgetError",
56
+ "RateLimitError",
57
+ "RequestTooLargeError",
58
+ "StreamInterruptedError",
59
+ "TaskFailedError",
60
+ "__version__",
61
+ ]