cernisdata 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.
cernisdata/__init__.py ADDED
@@ -0,0 +1,65 @@
1
+ """Cernis Data: one API key for people, company, contact, signal and web data.
2
+
3
+ from cernisdata import CernisData
4
+
5
+ client = CernisData() # reads CERNIS_DATA_API_KEY and CERNIS_DATA_BASE_URL
6
+ page = client.people.search(job_titles=["VP Sales"], company_domains="stripe.com", limit=10)
7
+ """
8
+
9
+ from ._client import AsyncCernisData, AsyncJob, CernisData, Job, prepare_input, snake_keys
10
+ from ._errors import (
11
+ APIConnectionError,
12
+ AuthenticationError,
13
+ CernisDataError,
14
+ ConflictError,
15
+ EndpointNotAvailableError,
16
+ InsufficientBalanceError,
17
+ InvalidInputError,
18
+ NotFoundError,
19
+ PermissionDeniedError,
20
+ RateLimitError,
21
+ ServerError,
22
+ TimeoutError,
23
+ WebhookVerificationError,
24
+ )
25
+ from ._generated import DEFAULT_BASE_URL, ENDPOINTS, CompanyFilters, PeopleFilters
26
+ from ._types import Envelope, IncludeExclude, JobItem, JobStatus, Meta, Page, Range, RequestRecord, Wallet
27
+ from ._version import __version__
28
+ from ._webhooks import verify_webhook
29
+
30
+ __all__ = [
31
+ "CernisData",
32
+ "AsyncCernisData",
33
+ "Job",
34
+ "AsyncJob",
35
+ "verify_webhook",
36
+ "prepare_input",
37
+ "snake_keys",
38
+ "ENDPOINTS",
39
+ "DEFAULT_BASE_URL",
40
+ "CernisDataError",
41
+ "InvalidInputError",
42
+ "AuthenticationError",
43
+ "InsufficientBalanceError",
44
+ "PermissionDeniedError",
45
+ "NotFoundError",
46
+ "ConflictError",
47
+ "RateLimitError",
48
+ "EndpointNotAvailableError",
49
+ "TimeoutError",
50
+ "ServerError",
51
+ "APIConnectionError",
52
+ "WebhookVerificationError",
53
+ "Envelope",
54
+ "Meta",
55
+ "Page",
56
+ "Wallet",
57
+ "JobItem",
58
+ "JobStatus",
59
+ "RequestRecord",
60
+ "IncludeExclude",
61
+ "Range",
62
+ "PeopleFilters",
63
+ "CompanyFilters",
64
+ "__version__",
65
+ ]