opportify-sdk 0.1.0__tar.gz → 0.1.1__tar.gz

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.

Potentially problematic release.


This version of opportify-sdk might be problematic. Click here for more details.

Files changed (89) hide show
  1. opportify_sdk-0.1.1/PKG-INFO +108 -0
  2. opportify_sdk-0.1.1/opportify_sdk.egg-info/PKG-INFO +108 -0
  3. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/pyproject.toml +1 -1
  4. opportify_sdk-0.1.1/setup.py +39 -0
  5. opportify_sdk-0.1.0/PKG-INFO +0 -16
  6. opportify_sdk-0.1.0/opportify_sdk.egg-info/PKG-INFO +0 -16
  7. opportify_sdk-0.1.0/setup.py +0 -38
  8. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/README.md +0 -0
  9. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/__init__.py +0 -0
  10. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/__init__.py +0 -0
  11. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/__init__.py +0 -0
  12. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/api/__init__.py +0 -0
  13. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/api/email_insights_api.py +0 -0
  14. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/api/ip_insights_api.py +0 -0
  15. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/api_client.py +0 -0
  16. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/api_response.py +0 -0
  17. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/configuration.py +0 -0
  18. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/exceptions.py +0 -0
  19. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/__init__.py +0 -0
  20. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/abuse_contact.py +0 -0
  21. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/admin_contact.py +0 -0
  22. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/analyze_email200_response.py +0 -0
  23. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/analyze_email400_response.py +0 -0
  24. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/analyze_email400_response_error.py +0 -0
  25. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/analyze_email500_response.py +0 -0
  26. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/analyze_email500_response_error.py +0 -0
  27. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/analyze_email_request.py +0 -0
  28. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/analyze_ip200_response.py +0 -0
  29. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/analyze_ip400_response.py +0 -0
  30. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/analyze_ip400_response_error.py +0 -0
  31. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/analyze_ip404_response.py +0 -0
  32. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/analyze_ip500_response.py +0 -0
  33. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/analyze_ip_request.py +0 -0
  34. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/asn.py +0 -0
  35. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/block_listed.py +0 -0
  36. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/email_dns.py +0 -0
  37. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/geo.py +0 -0
  38. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/internalerror.py +0 -0
  39. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/invalidemail.py +0 -0
  40. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/ipvalidationfailed.py +0 -0
  41. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/malformedrequest.py +0 -0
  42. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/malformedrequest1.py +0 -0
  43. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/notfound.py +0 -0
  44. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/organization.py +0 -0
  45. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/risk_report.py +0 -0
  46. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/tech_contact.py +0 -0
  47. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/trusted_provider.py +0 -0
  48. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/models/whois.py +0 -0
  49. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/py.typed +0 -0
  50. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/lib/v1/openapi_client/rest.py +0 -0
  51. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/opportify_sdk.egg-info/SOURCES.txt +0 -0
  52. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/opportify_sdk.egg-info/dependency_links.txt +0 -0
  53. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/opportify_sdk.egg-info/requires.txt +0 -0
  54. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/opportify_sdk.egg-info/top_level.txt +0 -0
  55. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/setup.cfg +0 -0
  56. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/src/__init__.py +0 -0
  57. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/src/email_insights.py +0 -0
  58. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/src/ip_insights.py +0 -0
  59. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_abuse_contact.py +0 -0
  60. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_admin_contact.py +0 -0
  61. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_analyze_email200_response.py +0 -0
  62. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_analyze_email400_response.py +0 -0
  63. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_analyze_email400_response_error.py +0 -0
  64. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_analyze_email500_response.py +0 -0
  65. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_analyze_email500_response_error.py +0 -0
  66. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_analyze_email_request.py +0 -0
  67. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_analyze_ip200_response.py +0 -0
  68. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_analyze_ip400_response.py +0 -0
  69. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_analyze_ip400_response_error.py +0 -0
  70. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_analyze_ip404_response.py +0 -0
  71. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_analyze_ip500_response.py +0 -0
  72. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_analyze_ip_request.py +0 -0
  73. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_asn.py +0 -0
  74. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_block_listed.py +0 -0
  75. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_email_dns.py +0 -0
  76. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_email_insights_api.py +0 -0
  77. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_geo.py +0 -0
  78. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_internalerror.py +0 -0
  79. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_invalidemail.py +0 -0
  80. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_ip_insights_api.py +0 -0
  81. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_ipvalidationfailed.py +0 -0
  82. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_malformedrequest.py +0 -0
  83. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_malformedrequest1.py +0 -0
  84. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_notfound.py +0 -0
  85. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_organization.py +0 -0
  86. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_risk_report.py +0 -0
  87. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_tech_contact.py +0 -0
  88. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_trusted_provider.py +0 -0
  89. {opportify_sdk-0.1.0 → opportify_sdk-0.1.1}/test/test_whois.py +0 -0
@@ -0,0 +1,108 @@
1
+ Metadata-Version: 2.1
2
+ Name: opportify_sdk
3
+ Version: 0.1.1
4
+ Summary: Opportify Insights API
5
+ Home-page: https://github.com/opportify/opportify-sdk-python
6
+ Author: Opportify & OpenAPI-Generator
7
+ Author-email:
8
+ Keywords: OpenAPI,OpenAPI-Generator,Opportify Insights API,Opportify
9
+ Description-Content-Type: text/markdown
10
+ Requires-Dist: urllib3<3.0.0,>=1.25.3
11
+ Requires-Dist: python-dateutil>=2.8.2
12
+ Requires-Dist: pydantic>=2
13
+ Requires-Dist: typing-extensions>=4.7.1
14
+
15
+ # Opportify-SDK-Python
16
+
17
+ ## Overview
18
+
19
+ The **Opportify Insights API** provides access to a powerful and up-to-date platform. With advanced data warehousing and AI-driven capabilities, this API is designed to empower your business to make informed, data-driven decisions and effectively assess potential risks.
20
+
21
+ [Sign Up Free](https://www.opportify.ai)
22
+
23
+ ### Base URL
24
+ Use the following base URL for all API requests:
25
+
26
+ ```plaintext
27
+ https://api.opportify.ai/insights/v1/<service>/<endpoint>
28
+ ```
29
+
30
+ ## Requirements
31
+
32
+ Requires Python v3.8 or later
33
+
34
+ ## Getting Started
35
+
36
+ First, install Opportify SDK via PyPI manager:
37
+
38
+ ```
39
+ pip install opportify-sdk
40
+ ```
41
+
42
+ ### Calling Email Insights
43
+
44
+ ```python
45
+ from opportify_sdk import EmailInsights
46
+
47
+ # Initialize the wrapper with your API key
48
+ api_key = "<YOUR-API-KEY-HERE>"
49
+ email_insights = EmailInsights(api_key)
50
+
51
+ # Optional: Configure host, version, and debug mode
52
+ email_insights.set_version("v1")
53
+
54
+ # Define request parameters
55
+ params = {
56
+ "email": "<SOME-EMAIL-HERE>",
57
+ "enableAutoCorrection": True,
58
+ "enableAi": True
59
+ }
60
+
61
+ # Call the API
62
+ try:
63
+ result = email_insights.analyze(params)
64
+ print("Response:", result)
65
+ except Exception as e:
66
+ print(f"Error: {e}")
67
+ ```
68
+
69
+ ### Calling IP Insights
70
+
71
+ ```python
72
+
73
+ from opportify_sdk import IpInsights
74
+
75
+ # Initialize the wrapper with your API key
76
+ api_key = "<YOUR-API-KEY-HERE>"
77
+ ip_insights = IpInsights(api_key)
78
+
79
+ # Optional: Configure host, version, and debug mode
80
+ ip_insights.set_version("v1")
81
+
82
+ # Define request parameters
83
+ params = {
84
+ "ip": "<SOME-IP-HERE>",
85
+ "enableAi": True
86
+ }
87
+
88
+ # Call the API
89
+ try:
90
+ result = ip_insights.analyze(params)
91
+ print("Response:", result)
92
+ except Exception as e:
93
+ print(f"Error: {e}")
94
+ ```
95
+
96
+ ### Enable Debug Mode
97
+
98
+ ```python
99
+ ip_insights.set_version("v1").set_debug_mode(True)
100
+ email_insights.set_version("v1").set_debug_mode(False)
101
+ ```
102
+
103
+ ## About this package
104
+
105
+ This Python package is a customization of the base generated by:
106
+
107
+ - [OpenAPI Generator](https://openapi-generator.tech) project.
108
+
@@ -0,0 +1,108 @@
1
+ Metadata-Version: 2.1
2
+ Name: opportify_sdk
3
+ Version: 0.1.1
4
+ Summary: Opportify Insights API
5
+ Home-page: https://github.com/opportify/opportify-sdk-python
6
+ Author: Opportify & OpenAPI-Generator
7
+ Author-email:
8
+ Keywords: OpenAPI,OpenAPI-Generator,Opportify Insights API,Opportify
9
+ Description-Content-Type: text/markdown
10
+ Requires-Dist: urllib3<3.0.0,>=1.25.3
11
+ Requires-Dist: python-dateutil>=2.8.2
12
+ Requires-Dist: pydantic>=2
13
+ Requires-Dist: typing-extensions>=4.7.1
14
+
15
+ # Opportify-SDK-Python
16
+
17
+ ## Overview
18
+
19
+ The **Opportify Insights API** provides access to a powerful and up-to-date platform. With advanced data warehousing and AI-driven capabilities, this API is designed to empower your business to make informed, data-driven decisions and effectively assess potential risks.
20
+
21
+ [Sign Up Free](https://www.opportify.ai)
22
+
23
+ ### Base URL
24
+ Use the following base URL for all API requests:
25
+
26
+ ```plaintext
27
+ https://api.opportify.ai/insights/v1/<service>/<endpoint>
28
+ ```
29
+
30
+ ## Requirements
31
+
32
+ Requires Python v3.8 or later
33
+
34
+ ## Getting Started
35
+
36
+ First, install Opportify SDK via PyPI manager:
37
+
38
+ ```
39
+ pip install opportify-sdk
40
+ ```
41
+
42
+ ### Calling Email Insights
43
+
44
+ ```python
45
+ from opportify_sdk import EmailInsights
46
+
47
+ # Initialize the wrapper with your API key
48
+ api_key = "<YOUR-API-KEY-HERE>"
49
+ email_insights = EmailInsights(api_key)
50
+
51
+ # Optional: Configure host, version, and debug mode
52
+ email_insights.set_version("v1")
53
+
54
+ # Define request parameters
55
+ params = {
56
+ "email": "<SOME-EMAIL-HERE>",
57
+ "enableAutoCorrection": True,
58
+ "enableAi": True
59
+ }
60
+
61
+ # Call the API
62
+ try:
63
+ result = email_insights.analyze(params)
64
+ print("Response:", result)
65
+ except Exception as e:
66
+ print(f"Error: {e}")
67
+ ```
68
+
69
+ ### Calling IP Insights
70
+
71
+ ```python
72
+
73
+ from opportify_sdk import IpInsights
74
+
75
+ # Initialize the wrapper with your API key
76
+ api_key = "<YOUR-API-KEY-HERE>"
77
+ ip_insights = IpInsights(api_key)
78
+
79
+ # Optional: Configure host, version, and debug mode
80
+ ip_insights.set_version("v1")
81
+
82
+ # Define request parameters
83
+ params = {
84
+ "ip": "<SOME-IP-HERE>",
85
+ "enableAi": True
86
+ }
87
+
88
+ # Call the API
89
+ try:
90
+ result = ip_insights.analyze(params)
91
+ print("Response:", result)
92
+ except Exception as e:
93
+ print(f"Error: {e}")
94
+ ```
95
+
96
+ ### Enable Debug Mode
97
+
98
+ ```python
99
+ ip_insights.set_version("v1").set_debug_mode(True)
100
+ email_insights.set_version("v1").set_debug_mode(False)
101
+ ```
102
+
103
+ ## About this package
104
+
105
+ This Python package is a customization of the base generated by:
106
+
107
+ - [OpenAPI Generator](https://openapi-generator.tech) project.
108
+
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "opportify_sdk"
3
- version = "0.1.0"
3
+ version = "0.1.1"
4
4
  description = "Opportify Insights API"
5
5
  authors = ["OpenAPI Generator Community <team@openapitools.org>"]
6
6
  license = "NoLicense"
@@ -0,0 +1,39 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Opportify Insights API
5
+
6
+ ## Overview The **Opportify Insights API** provides access to a powerful and up-to-date platform. With advanced data warehousing and AI-driven capabilities, this API is designed to empower your business to make informed, data-driven decisions and effectively assess potential risks. ### Base URL Use the following base URL for all API requests: ```plaintext https://api.opportify.ai/insights/v1/<service>/<endpoint> ``` ### Features - [**Email Insights:**](/docs/api-reference/email-insights) - Validate email syntax. - Identify email types (free, disposable, corporate or unknown). - Real time verifications: - Reachable: Confirms if the email domain has valid MX DNS records using DNS lookup. - Deliverable: Simulates an SMTP handshake to check if the email address exists and is deliverable. - Catch-All: Detects if the domain accepts all emails (catch-all configuration). - Intelligent Error Correction: Automatically corrects well-known misspelled email addresses. - Risk Report: Provides an AI-driven normalized score (200-1000) to evaluate email risk, using predefined thresholds. [Access Documentation >>](/docs/api-reference/email-insights) - [**IP Insights:**](/docs/api-reference/ip-insights) - Connection types: Detects connection types such as `wired`, `mobile`, `enterprise`, `satellite`, `VPN`, `cloud-provider`, `open-proxy`, or `Tor`. - Geo location: Delivers detailed insights such as country, city, timezone, language preferences, and additional location-based information to enhance regional understanding. - WHOIS: Provides main details including RIR, ASN, organization, and abuse/admin/technical contacts. - Trusted Provider Recognition: Identifies if the IP is part of a known trusted provider (e.g., ZTNA - Zero Trust Network Access). - Blocklist Reports: Retrieves up-to-date blocklist statuses, active reports, and the latest detections. - Risk Report: Delivers an AI-driven normalized score (200-1000) to evaluate IP risk, supported by predefined thresholds. [Access Documentation >>](/docs/api-reference/ip-insights) ### Authentication & Security - **API Key:** Access to the API requires an API key, which must be included in the request headers. Businesses can generate unlimited API keys directly from their account, offering flexibility and ease of use. - **ACL Rules:** Enhance security with Access Control Lists (ACL), allowing you to restrict API access from specific IP addresses or ranges. This feature provides an additional layer of protection by ensuring only authorized IPs can interact with the API. - **No Query Parameters:** As a precautionary measure, our API avoids the use of query parameters for all operations, including authentication and handling Personally Identifiable Information (PII). This approach minimizes security risks by preventing sensitive data from being exposed in access logs, browser history, cached URLs, debugging tools, or inadvertently shared URLs. All sensitive information is securely transmitted through headers or the request body.
7
+
8
+ """ # noqa: E501
9
+
10
+ from setuptools import setup, find_packages # noqa: H301
11
+
12
+ with open('README.md') as readme_file:
13
+ readme = readme_file.read()
14
+
15
+ NAME = "opportify_sdk"
16
+ VERSION = "0.1.1"
17
+ PYTHON_REQUIRES = ">= 3.8"
18
+ REQUIRES = [
19
+ "urllib3 >= 1.25.3, < 3.0.0",
20
+ "python-dateutil >= 2.8.2",
21
+ "pydantic >= 2",
22
+ "typing-extensions >= 4.7.1",
23
+ ]
24
+
25
+ setup(
26
+ name=NAME,
27
+ version=VERSION,
28
+ description="Opportify Insights API",
29
+ author="Opportify & OpenAPI-Generator",
30
+ author_email="",
31
+ url="https://github.com/opportify/opportify-sdk-python",
32
+ keywords=["OpenAPI", "OpenAPI-Generator", "Opportify Insights API","Opportify"],
33
+ install_requires=REQUIRES,
34
+ packages=find_packages(exclude=["test", "tests"]),
35
+ include_package_data=True,
36
+ long_description_content_type='text/markdown',
37
+ long_description=readme,
38
+ package_data={"openapi_client": ["py.typed"]},
39
+ )
@@ -1,16 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: opportify_sdk
3
- Version: 0.1.0
4
- Summary: Opportify Insights API
5
- Home-page: https://github.com/opportify/opportify-sdk-python
6
- Author: Opportify & OpenAPI-Generator
7
- Author-email:
8
- Keywords: OpenAPI,OpenAPI-Generator,Opportify Insights API,Opportify
9
- Description-Content-Type: text/markdown
10
- Requires-Dist: urllib3<3.0.0,>=1.25.3
11
- Requires-Dist: python-dateutil>=2.8.2
12
- Requires-Dist: pydantic>=2
13
- Requires-Dist: typing-extensions>=4.7.1
14
-
15
- ## Overview The **Opportify Insights API** provides access to a powerful and up-to-date platform. With advanced data warehousing and AI-driven capabilities, this API is designed to empower your business to make informed, data-driven decisions and effectively assess potential risks. ### Base URL Use the following base URL for all API requests: &#x60;&#x60;&#x60;plaintext https://api.opportify.ai/insights/v1/&lt;service&gt;/&lt;endpoint&gt; &#x60;&#x60;&#x60; ### Features - [**Email Insights:**](/docs/api-reference/email-insights) - Validate email syntax. - Identify email types (free, disposable, corporate or unknown). - Real time verifications: - Reachable: Confirms if the email domain has valid MX DNS records using DNS lookup. - Deliverable: Simulates an SMTP handshake to check if the email address exists and is deliverable. - Catch-All: Detects if the domain accepts all emails (catch-all configuration). - Intelligent Error Correction: Automatically corrects well-known misspelled email addresses. - Risk Report: Provides an AI-driven normalized score (200-1000) to evaluate email risk, using predefined thresholds. [Access Documentation &gt;&gt;](/docs/api-reference/email-insights) - [**IP Insights:**](/docs/api-reference/ip-insights) - Connection types: Detects connection types such as &#x60;wired&#x60;, &#x60;mobile&#x60;, &#x60;enterprise&#x60;, &#x60;satellite&#x60;, &#x60;VPN&#x60;, &#x60;cloud-provider&#x60;, &#x60;open-proxy&#x60;, or &#x60;Tor&#x60;. - Geo location: Delivers detailed insights such as country, city, timezone, language preferences, and additional location-based information to enhance regional understanding. - WHOIS: Provides main details including RIR, ASN, organization, and abuse/admin/technical contacts. - Trusted Provider Recognition: Identifies if the IP is part of a known trusted provider (e.g., ZTNA - Zero Trust Network Access). - Blocklist Reports: Retrieves up-to-date blocklist statuses, active reports, and the latest detections. - Risk Report: Delivers an AI-driven normalized score (200-1000) to evaluate IP risk, supported by predefined thresholds. [Access Documentation &gt;&gt;](/docs/api-reference/ip-insights) ### Authentication &amp; Security - **API Key:** Access to the API requires an API key, which must be included in the request headers. Businesses can generate unlimited API keys directly from their account, offering flexibility and ease of use. - **ACL Rules:** Enhance security with Access Control Lists (ACL), allowing you to restrict API access from specific IP addresses or ranges. This feature provides an additional layer of protection by ensuring only authorized IPs can interact with the API. - **No Query Parameters:** As a precautionary measure, our API avoids the use of query parameters for all operations, including authentication and handling Personally Identifiable Information (PII). This approach minimizes security risks by preventing sensitive data from being exposed in access logs, browser history, cached URLs, debugging tools, or inadvertently shared URLs. All sensitive information is securely transmitted through headers or the request body.
16
-
@@ -1,16 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: opportify_sdk
3
- Version: 0.1.0
4
- Summary: Opportify Insights API
5
- Home-page: https://github.com/opportify/opportify-sdk-python
6
- Author: Opportify & OpenAPI-Generator
7
- Author-email:
8
- Keywords: OpenAPI,OpenAPI-Generator,Opportify Insights API,Opportify
9
- Description-Content-Type: text/markdown
10
- Requires-Dist: urllib3<3.0.0,>=1.25.3
11
- Requires-Dist: python-dateutil>=2.8.2
12
- Requires-Dist: pydantic>=2
13
- Requires-Dist: typing-extensions>=4.7.1
14
-
15
- ## Overview The **Opportify Insights API** provides access to a powerful and up-to-date platform. With advanced data warehousing and AI-driven capabilities, this API is designed to empower your business to make informed, data-driven decisions and effectively assess potential risks. ### Base URL Use the following base URL for all API requests: &#x60;&#x60;&#x60;plaintext https://api.opportify.ai/insights/v1/&lt;service&gt;/&lt;endpoint&gt; &#x60;&#x60;&#x60; ### Features - [**Email Insights:**](/docs/api-reference/email-insights) - Validate email syntax. - Identify email types (free, disposable, corporate or unknown). - Real time verifications: - Reachable: Confirms if the email domain has valid MX DNS records using DNS lookup. - Deliverable: Simulates an SMTP handshake to check if the email address exists and is deliverable. - Catch-All: Detects if the domain accepts all emails (catch-all configuration). - Intelligent Error Correction: Automatically corrects well-known misspelled email addresses. - Risk Report: Provides an AI-driven normalized score (200-1000) to evaluate email risk, using predefined thresholds. [Access Documentation &gt;&gt;](/docs/api-reference/email-insights) - [**IP Insights:**](/docs/api-reference/ip-insights) - Connection types: Detects connection types such as &#x60;wired&#x60;, &#x60;mobile&#x60;, &#x60;enterprise&#x60;, &#x60;satellite&#x60;, &#x60;VPN&#x60;, &#x60;cloud-provider&#x60;, &#x60;open-proxy&#x60;, or &#x60;Tor&#x60;. - Geo location: Delivers detailed insights such as country, city, timezone, language preferences, and additional location-based information to enhance regional understanding. - WHOIS: Provides main details including RIR, ASN, organization, and abuse/admin/technical contacts. - Trusted Provider Recognition: Identifies if the IP is part of a known trusted provider (e.g., ZTNA - Zero Trust Network Access). - Blocklist Reports: Retrieves up-to-date blocklist statuses, active reports, and the latest detections. - Risk Report: Delivers an AI-driven normalized score (200-1000) to evaluate IP risk, supported by predefined thresholds. [Access Documentation &gt;&gt;](/docs/api-reference/ip-insights) ### Authentication &amp; Security - **API Key:** Access to the API requires an API key, which must be included in the request headers. Businesses can generate unlimited API keys directly from their account, offering flexibility and ease of use. - **ACL Rules:** Enhance security with Access Control Lists (ACL), allowing you to restrict API access from specific IP addresses or ranges. This feature provides an additional layer of protection by ensuring only authorized IPs can interact with the API. - **No Query Parameters:** As a precautionary measure, our API avoids the use of query parameters for all operations, including authentication and handling Personally Identifiable Information (PII). This approach minimizes security risks by preventing sensitive data from being exposed in access logs, browser history, cached URLs, debugging tools, or inadvertently shared URLs. All sensitive information is securely transmitted through headers or the request body.
16
-
@@ -1,38 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Opportify Insights API
5
-
6
- ## Overview The **Opportify Insights API** provides access to a powerful and up-to-date platform. With advanced data warehousing and AI-driven capabilities, this API is designed to empower your business to make informed, data-driven decisions and effectively assess potential risks. ### Base URL Use the following base URL for all API requests: ```plaintext https://api.opportify.ai/insights/v1/<service>/<endpoint> ``` ### Features - [**Email Insights:**](/docs/api-reference/email-insights) - Validate email syntax. - Identify email types (free, disposable, corporate or unknown). - Real time verifications: - Reachable: Confirms if the email domain has valid MX DNS records using DNS lookup. - Deliverable: Simulates an SMTP handshake to check if the email address exists and is deliverable. - Catch-All: Detects if the domain accepts all emails (catch-all configuration). - Intelligent Error Correction: Automatically corrects well-known misspelled email addresses. - Risk Report: Provides an AI-driven normalized score (200-1000) to evaluate email risk, using predefined thresholds. [Access Documentation >>](/docs/api-reference/email-insights) - [**IP Insights:**](/docs/api-reference/ip-insights) - Connection types: Detects connection types such as `wired`, `mobile`, `enterprise`, `satellite`, `VPN`, `cloud-provider`, `open-proxy`, or `Tor`. - Geo location: Delivers detailed insights such as country, city, timezone, language preferences, and additional location-based information to enhance regional understanding. - WHOIS: Provides main details including RIR, ASN, organization, and abuse/admin/technical contacts. - Trusted Provider Recognition: Identifies if the IP is part of a known trusted provider (e.g., ZTNA - Zero Trust Network Access). - Blocklist Reports: Retrieves up-to-date blocklist statuses, active reports, and the latest detections. - Risk Report: Delivers an AI-driven normalized score (200-1000) to evaluate IP risk, supported by predefined thresholds. [Access Documentation >>](/docs/api-reference/ip-insights) ### Authentication & Security - **API Key:** Access to the API requires an API key, which must be included in the request headers. Businesses can generate unlimited API keys directly from their account, offering flexibility and ease of use. - **ACL Rules:** Enhance security with Access Control Lists (ACL), allowing you to restrict API access from specific IP addresses or ranges. This feature provides an additional layer of protection by ensuring only authorized IPs can interact with the API. - **No Query Parameters:** As a precautionary measure, our API avoids the use of query parameters for all operations, including authentication and handling Personally Identifiable Information (PII). This approach minimizes security risks by preventing sensitive data from being exposed in access logs, browser history, cached URLs, debugging tools, or inadvertently shared URLs. All sensitive information is securely transmitted through headers or the request body.
7
-
8
- """ # noqa: E501
9
-
10
- from setuptools import setup, find_packages # noqa: H301
11
-
12
- NAME = "opportify_sdk"
13
- VERSION = "0.1.0"
14
- PYTHON_REQUIRES = ">= 3.8"
15
- REQUIRES = [
16
- "urllib3 >= 1.25.3, < 3.0.0",
17
- "python-dateutil >= 2.8.2",
18
- "pydantic >= 2",
19
- "typing-extensions >= 4.7.1",
20
- ]
21
-
22
- setup(
23
- name=NAME,
24
- version=VERSION,
25
- description="Opportify Insights API",
26
- author="Opportify & OpenAPI-Generator",
27
- author_email="",
28
- url="https://github.com/opportify/opportify-sdk-python",
29
- keywords=["OpenAPI", "OpenAPI-Generator", "Opportify Insights API","Opportify"],
30
- install_requires=REQUIRES,
31
- packages=find_packages(exclude=["test", "tests"]),
32
- include_package_data=True,
33
- long_description_content_type='text/markdown',
34
- long_description="""\
35
- ## Overview The **Opportify Insights API** provides access to a powerful and up-to-date platform. With advanced data warehousing and AI-driven capabilities, this API is designed to empower your business to make informed, data-driven decisions and effectively assess potential risks. ### Base URL Use the following base URL for all API requests: &#x60;&#x60;&#x60;plaintext https://api.opportify.ai/insights/v1/&lt;service&gt;/&lt;endpoint&gt; &#x60;&#x60;&#x60; ### Features - [**Email Insights:**](/docs/api-reference/email-insights) - Validate email syntax. - Identify email types (free, disposable, corporate or unknown). - Real time verifications: - Reachable: Confirms if the email domain has valid MX DNS records using DNS lookup. - Deliverable: Simulates an SMTP handshake to check if the email address exists and is deliverable. - Catch-All: Detects if the domain accepts all emails (catch-all configuration). - Intelligent Error Correction: Automatically corrects well-known misspelled email addresses. - Risk Report: Provides an AI-driven normalized score (200-1000) to evaluate email risk, using predefined thresholds. [Access Documentation &gt;&gt;](/docs/api-reference/email-insights) - [**IP Insights:**](/docs/api-reference/ip-insights) - Connection types: Detects connection types such as &#x60;wired&#x60;, &#x60;mobile&#x60;, &#x60;enterprise&#x60;, &#x60;satellite&#x60;, &#x60;VPN&#x60;, &#x60;cloud-provider&#x60;, &#x60;open-proxy&#x60;, or &#x60;Tor&#x60;. - Geo location: Delivers detailed insights such as country, city, timezone, language preferences, and additional location-based information to enhance regional understanding. - WHOIS: Provides main details including RIR, ASN, organization, and abuse/admin/technical contacts. - Trusted Provider Recognition: Identifies if the IP is part of a known trusted provider (e.g., ZTNA - Zero Trust Network Access). - Blocklist Reports: Retrieves up-to-date blocklist statuses, active reports, and the latest detections. - Risk Report: Delivers an AI-driven normalized score (200-1000) to evaluate IP risk, supported by predefined thresholds. [Access Documentation &gt;&gt;](/docs/api-reference/ip-insights) ### Authentication &amp; Security - **API Key:** Access to the API requires an API key, which must be included in the request headers. Businesses can generate unlimited API keys directly from their account, offering flexibility and ease of use. - **ACL Rules:** Enhance security with Access Control Lists (ACL), allowing you to restrict API access from specific IP addresses or ranges. This feature provides an additional layer of protection by ensuring only authorized IPs can interact with the API. - **No Query Parameters:** As a precautionary measure, our API avoids the use of query parameters for all operations, including authentication and handling Personally Identifiable Information (PII). This approach minimizes security risks by preventing sensitive data from being exposed in access logs, browser history, cached URLs, debugging tools, or inadvertently shared URLs. All sensitive information is securely transmitted through headers or the request body.
36
- """, # noqa: E501
37
- package_data={"openapi_client": ["py.typed"]},
38
- )
File without changes
File without changes