urlpipe 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.
urlpipe/__init__.py ADDED
@@ -0,0 +1,78 @@
1
+ """The official Python client for the URLpipe API: turn a URL into Markdown,
2
+ HTML, a screenshot, metadata, a summary, keywords, console errors or a
3
+ Lighthouse audit.
4
+
5
+ import urlpipe
6
+
7
+ client = urlpipe.Client() # reads URLPIPE_API_KEY
8
+ print(client.markdown("https://example.com").data)
9
+
10
+ Docs: https://urlpipe.dev/docs
11
+ """
12
+
13
+ from . import errors
14
+ from ._client import AsyncClient, Client
15
+ from ._models import (
16
+ ConsoleEntry,
17
+ Operation,
18
+ PageMeta,
19
+ Quota,
20
+ Response,
21
+ ResponseMeta,
22
+ ResponseStatus,
23
+ ScrapeOperationResult,
24
+ ScrapeResult,
25
+ Screenshot,
26
+ )
27
+ from ._version import __version__
28
+ from .errors import (
29
+ AnalysisFailedError,
30
+ APIConnectionError,
31
+ AuthenticationError,
32
+ ConcurrencyLimitError,
33
+ ConfigurationError,
34
+ EmailUnverifiedError,
35
+ InvalidRequestError,
36
+ NotFoundError,
37
+ QuotaExceededError,
38
+ RateLimitedError,
39
+ ServerError,
40
+ StaleResultError,
41
+ UrlpipeError,
42
+ WaitTimeoutError,
43
+ WebhookVerificationError,
44
+ )
45
+ from .webhooks import verify_webhook
46
+
47
+ __all__ = [
48
+ "APIConnectionError",
49
+ "AnalysisFailedError",
50
+ "AsyncClient",
51
+ "AuthenticationError",
52
+ "Client",
53
+ "ConcurrencyLimitError",
54
+ "ConfigurationError",
55
+ "ConsoleEntry",
56
+ "EmailUnverifiedError",
57
+ "InvalidRequestError",
58
+ "NotFoundError",
59
+ "Operation",
60
+ "PageMeta",
61
+ "Quota",
62
+ "QuotaExceededError",
63
+ "RateLimitedError",
64
+ "Response",
65
+ "ResponseMeta",
66
+ "ResponseStatus",
67
+ "ScrapeOperationResult",
68
+ "ScrapeResult",
69
+ "Screenshot",
70
+ "ServerError",
71
+ "StaleResultError",
72
+ "UrlpipeError",
73
+ "WaitTimeoutError",
74
+ "WebhookVerificationError",
75
+ "__version__",
76
+ "errors",
77
+ "verify_webhook",
78
+ ]