wordlift-client 1.127.0__py3-none-any.whl → 1.128.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.
- wordlift_client/__init__.py +2 -2
- wordlift_client/api_client.py +1 -1
- wordlift_client/configuration.py +1 -1
- wordlift_client/models/__init__.py +1 -1
- wordlift_client/models/ai_visibility_analysis_result.py +3 -3
- wordlift_client/models/query_coverage_output.py +92 -0
- {wordlift_client-1.127.0.dist-info → wordlift_client-1.128.0.dist-info}/METADATA +1 -1
- {wordlift_client-1.127.0.dist-info → wordlift_client-1.128.0.dist-info}/RECORD +11 -10
- {wordlift_client-1.127.0.dist-info → wordlift_client-1.128.0.dist-info}/LICENSE +0 -0
- {wordlift_client-1.127.0.dist-info → wordlift_client-1.128.0.dist-info}/WHEEL +0 -0
- {wordlift_client-1.127.0.dist-info → wordlift_client-1.128.0.dist-info}/top_level.txt +0 -0
wordlift_client/__init__.py
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
""" # noqa: E501
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
__version__ = "1.
|
|
18
|
+
__version__ = "1.128.0"
|
|
19
19
|
|
|
20
20
|
# import apis into sdk package
|
|
21
21
|
from wordlift_client.api.account_api import AccountApi
|
|
@@ -234,7 +234,7 @@ from wordlift_client.models.problem_detail import ProblemDetail
|
|
|
234
234
|
from wordlift_client.models.project_type import ProjectType
|
|
235
235
|
from wordlift_client.models.properties import Properties
|
|
236
236
|
from wordlift_client.models.properties1 import Properties1
|
|
237
|
-
from wordlift_client.models.
|
|
237
|
+
from wordlift_client.models.query_coverage_output import QueryCoverageOutput
|
|
238
238
|
from wordlift_client.models.question_and_answer import QuestionAndAnswer
|
|
239
239
|
from wordlift_client.models.question_and_answer_request import QuestionAndAnswerRequest
|
|
240
240
|
from wordlift_client.models.quick_win import QuickWin
|
wordlift_client/api_client.py
CHANGED
|
@@ -89,7 +89,7 @@ class ApiClient:
|
|
|
89
89
|
self.default_headers[header_name] = header_value
|
|
90
90
|
self.cookie = cookie
|
|
91
91
|
# Set default User-Agent.
|
|
92
|
-
self.user_agent = 'OpenAPI-Generator/1.
|
|
92
|
+
self.user_agent = 'OpenAPI-Generator/1.128.0/python'
|
|
93
93
|
self.client_side_validation = configuration.client_side_validation
|
|
94
94
|
|
|
95
95
|
async def __aenter__(self):
|
wordlift_client/configuration.py
CHANGED
|
@@ -426,7 +426,7 @@ conf = wordlift_client.Configuration(
|
|
|
426
426
|
"OS: {env}\n"\
|
|
427
427
|
"Python Version: {pyversion}\n"\
|
|
428
428
|
"Version of the API: 1.0\n"\
|
|
429
|
-
"SDK Package Version: 1.
|
|
429
|
+
"SDK Package Version: 1.128.0".\
|
|
430
430
|
format(env=sys.platform, pyversion=sys.version)
|
|
431
431
|
|
|
432
432
|
def get_host_settings(self):
|
|
@@ -148,7 +148,7 @@ from wordlift_client.models.problem_detail import ProblemDetail
|
|
|
148
148
|
from wordlift_client.models.project_type import ProjectType
|
|
149
149
|
from wordlift_client.models.properties import Properties
|
|
150
150
|
from wordlift_client.models.properties1 import Properties1
|
|
151
|
-
from wordlift_client.models.
|
|
151
|
+
from wordlift_client.models.query_coverage_output import QueryCoverageOutput
|
|
152
152
|
from wordlift_client.models.question_and_answer import QuestionAndAnswer
|
|
153
153
|
from wordlift_client.models.question_and_answer_request import QuestionAndAnswerRequest
|
|
154
154
|
from wordlift_client.models.quick_win import QuickWin
|
|
@@ -20,7 +20,7 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, StrictFloat, StrictInt, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Union
|
|
23
|
-
from wordlift_client.models.
|
|
23
|
+
from wordlift_client.models.query_coverage_output import QueryCoverageOutput
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
@@ -35,7 +35,7 @@ class AIVisibilityAnalysisResult(BaseModel):
|
|
|
35
35
|
query_reasoning: StrictStr
|
|
36
36
|
covered_count: StrictInt
|
|
37
37
|
total_queries: StrictInt
|
|
38
|
-
query_details: List[
|
|
38
|
+
query_details: List[QueryCoverageOutput]
|
|
39
39
|
content_chunks_count: StrictInt
|
|
40
40
|
coverage_score: Union[StrictFloat, StrictInt]
|
|
41
41
|
__properties: ClassVar[List[str]] = ["url", "num_queries_requested", "coverage_threshold", "entity_name", "query_reasoning", "covered_count", "total_queries", "query_details", "content_chunks_count", "coverage_score"]
|
|
@@ -107,7 +107,7 @@ class AIVisibilityAnalysisResult(BaseModel):
|
|
|
107
107
|
"query_reasoning": obj.get("query_reasoning"),
|
|
108
108
|
"covered_count": obj.get("covered_count"),
|
|
109
109
|
"total_queries": obj.get("total_queries"),
|
|
110
|
-
"query_details": [
|
|
110
|
+
"query_details": [QueryCoverageOutput.from_dict(_item) for _item in obj["query_details"]] if obj.get("query_details") is not None else None,
|
|
111
111
|
"content_chunks_count": obj.get("content_chunks_count"),
|
|
112
112
|
"coverage_score": obj.get("coverage_score")
|
|
113
113
|
})
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
WordLift API
|
|
5
|
+
|
|
6
|
+
WordLift API
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0
|
|
9
|
+
Contact: hello@wordlift.io
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
from __future__ import annotations
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
import json
|
|
20
|
+
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, StrictBool, StrictFloat, StrictInt, StrictStr
|
|
22
|
+
from typing import Any, ClassVar, Dict, List, Union
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class QueryCoverageOutput(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
QueryCoverageOutput
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
query: StrictStr
|
|
31
|
+
is_covered: StrictBool
|
|
32
|
+
similarity: Union[StrictFloat, StrictInt]
|
|
33
|
+
__properties: ClassVar[List[str]] = ["query", "is_covered", "similarity"]
|
|
34
|
+
|
|
35
|
+
model_config = ConfigDict(
|
|
36
|
+
populate_by_name=True,
|
|
37
|
+
validate_assignment=True,
|
|
38
|
+
protected_namespaces=(),
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def to_str(self) -> str:
|
|
43
|
+
"""Returns the string representation of the model using alias"""
|
|
44
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
45
|
+
|
|
46
|
+
def to_json(self) -> str:
|
|
47
|
+
"""Returns the JSON representation of the model using alias"""
|
|
48
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
49
|
+
return json.dumps(self.to_dict())
|
|
50
|
+
|
|
51
|
+
@classmethod
|
|
52
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
53
|
+
"""Create an instance of QueryCoverageOutput from a JSON string"""
|
|
54
|
+
return cls.from_dict(json.loads(json_str))
|
|
55
|
+
|
|
56
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
57
|
+
"""Return the dictionary representation of the model using alias.
|
|
58
|
+
|
|
59
|
+
This has the following differences from calling pydantic's
|
|
60
|
+
`self.model_dump(by_alias=True)`:
|
|
61
|
+
|
|
62
|
+
* `None` is only added to the output dict for nullable fields that
|
|
63
|
+
were set at model initialization. Other fields with value `None`
|
|
64
|
+
are ignored.
|
|
65
|
+
"""
|
|
66
|
+
excluded_fields: Set[str] = set([
|
|
67
|
+
])
|
|
68
|
+
|
|
69
|
+
_dict = self.model_dump(
|
|
70
|
+
by_alias=True,
|
|
71
|
+
exclude=excluded_fields,
|
|
72
|
+
exclude_none=True,
|
|
73
|
+
)
|
|
74
|
+
return _dict
|
|
75
|
+
|
|
76
|
+
@classmethod
|
|
77
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
78
|
+
"""Create an instance of QueryCoverageOutput from a dict"""
|
|
79
|
+
if obj is None:
|
|
80
|
+
return None
|
|
81
|
+
|
|
82
|
+
if not isinstance(obj, dict):
|
|
83
|
+
return cls.model_validate(obj)
|
|
84
|
+
|
|
85
|
+
_obj = cls.model_validate({
|
|
86
|
+
"query": obj.get("query"),
|
|
87
|
+
"is_covered": obj.get("is_covered"),
|
|
88
|
+
"similarity": obj.get("similarity")
|
|
89
|
+
})
|
|
90
|
+
return _obj
|
|
91
|
+
|
|
92
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
wordlift_client/__init__.py,sha256=
|
|
2
|
-
wordlift_client/api_client.py,sha256=
|
|
1
|
+
wordlift_client/__init__.py,sha256=ondwCtteLqn9cvZgkvlnLHkasNGLUqTWQi9Xl5-PSWo,20232
|
|
2
|
+
wordlift_client/api_client.py,sha256=gcU5921l1BQGnUFW-e_JlQykXtPYfR5DuwK-3W99Z-Q,26397
|
|
3
3
|
wordlift_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
wordlift_client/configuration.py,sha256=
|
|
4
|
+
wordlift_client/configuration.py,sha256=X1GnXdlH7rC6L5n4GcDee6VTu-ZgiP9x76fninElSbc,15932
|
|
5
5
|
wordlift_client/exceptions.py,sha256=KvTu-E964XhAzMXOSfVycfOL1Eeraob5bgD4CfElD7M,5912
|
|
6
6
|
wordlift_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
wordlift_client/rest.py,sha256=3D4hicZkeSFLxmhmgnlH63K7P39ToGyPk_3aQlHGznI,6817
|
|
@@ -81,7 +81,7 @@ wordlift_client/api/web_asyncs_metadata_api.py,sha256=cpDQmIGc6uHu5rFXwZAy1cVgcW
|
|
|
81
81
|
wordlift_client/api/web_asyncs_responses_api.py,sha256=h91xI3iIgGoMUcZ7Oft5xiLy0rHh_2qzZDrFTRz3P8w,10889
|
|
82
82
|
wordlift_client/api/web_pages_api.py,sha256=VKPLIaQRxxDn3daP0zvXRiHj2eegsZIjxUmHKzxZXoc,10839
|
|
83
83
|
wordlift_client/api/web_pages_imports_api.py,sha256=yPhNLZ1jV2dEDnYuHb7OpiFH3K2ROrRYHG4ZrAf4VMU,11719
|
|
84
|
-
wordlift_client/models/__init__.py,sha256=
|
|
84
|
+
wordlift_client/models/__init__.py,sha256=fukxe5AI1gLrRZmG3rqXizo3Zy3rJIS7wvornkwFlWo,14628
|
|
85
85
|
wordlift_client/models/account.py,sha256=trGNzy3ZBGE1VsSke4aoXBQem-3jK60xVz0OWOOMWso,5523
|
|
86
86
|
wordlift_client/models/account_config.py,sha256=_4YZ8IGS4h16wa9aSaL9rpeoZYR8faiwEAtovP4eBVI,2592
|
|
87
87
|
wordlift_client/models/account_info.py,sha256=tCqVHqfeK5u1cQkLOBgJRUTs-e8vmGCjqZ4wgfmNIuw,7750
|
|
@@ -89,7 +89,7 @@ wordlift_client/models/account_stats.py,sha256=hMtiIDYGGMp4ytKgvgBIx40U5EyWr6-IJ
|
|
|
89
89
|
wordlift_client/models/account_subscription.py,sha256=hJNuMXCDt9EqLvp3vfgv2xMc1Uk7UQ7gzTM320MsPbk,2858
|
|
90
90
|
wordlift_client/models/active_account.py,sha256=rFDPX3X2hwMQfMnURcLEPgb9W5NGE1xmDIQhPZRMXQA,5707
|
|
91
91
|
wordlift_client/models/add_on_configuration.py,sha256=8sEIAr91rjmj-A3B1vGUVlZkc_hVxOSmO_Irt4irhz4,3731
|
|
92
|
-
wordlift_client/models/ai_visibility_analysis_result.py,sha256=
|
|
92
|
+
wordlift_client/models/ai_visibility_analysis_result.py,sha256=mAAQA8cJxKooYYGNNnK7agxtvjnEsFtvCKCoBD8j8tg,4120
|
|
93
93
|
wordlift_client/models/analyses_request.py,sha256=_D_X2nN1Dkq835XUs8rinSSNOgQf5nXrFUV_YFbUI6E,4553
|
|
94
94
|
wordlift_client/models/analyses_response.py,sha256=Nd7Tm2Cll3zqLCAx6KpgaY-dqQgmYLwKxnICOBBdmhU,2924
|
|
95
95
|
wordlift_client/models/analyses_response_item.py,sha256=A-Xu3xm-XsOLfcxQa4ULb6p_T3CUXcrz7jVmzg3cBvM,3906
|
|
@@ -221,6 +221,7 @@ wordlift_client/models/project_type.py,sha256=nUZ2YFzVSArByM6HMCzVdR7GH2cab22Rcw
|
|
|
221
221
|
wordlift_client/models/properties.py,sha256=MiXOK8WyyBI_n-SCFq0ZFzyiNesx3IRud9FHculCk4g,2657
|
|
222
222
|
wordlift_client/models/properties1.py,sha256=bcVIqb9yCa3bLztYT3Z8hwcTbNhz_FuBvzwnES6s05s,2712
|
|
223
223
|
wordlift_client/models/query_coverage.py,sha256=O3_omdnagA9UyMU8DrZHgxzqRXim0KxCQof4ovB5LZc,2775
|
|
224
|
+
wordlift_client/models/query_coverage_output.py,sha256=Q25HcSN60ihgDx5g2OWBAEXXdP1QXPD7V4FzYw7BP18,2678
|
|
224
225
|
wordlift_client/models/question_and_answer.py,sha256=y2-ZyG-KKlRQZzG-u8GX2QB_w8FiWKS24x5ngbJOQMs,5655
|
|
225
226
|
wordlift_client/models/question_and_answer_request.py,sha256=yPMv-dFIkCkyMD0mwfYujvecVo0TAhEVy6gkHKOCwzc,3111
|
|
226
227
|
wordlift_client/models/quick_win.py,sha256=WVcvUhh0uii0QYbEF-7CGvs-NtUO6lbZzLkcu8tZhgc,3187
|
|
@@ -280,8 +281,8 @@ wordlift_client/models/with_limits.py,sha256=rSzDb_If8APxR2Rw2U6cfFRFubnnai3Vj3-
|
|
|
280
281
|
wordlift_client/models/word.py,sha256=FPCGb6ohwdfydE5_qG4PT-UrnMzaTktAWqEEnezwaso,3922
|
|
281
282
|
wordlift_client/models/word_repetition_data.py,sha256=CQnxCnhakt12czl6a_AQIPgHlJtvR9YGBIjGV22rq14,2659
|
|
282
283
|
wordlift_client/models/word_request.py,sha256=ZD13xNRYCZmF14jxEDrRRyEMAd-quDT-HsqkbUP_xWU,2627
|
|
283
|
-
wordlift_client-1.
|
|
284
|
-
wordlift_client-1.
|
|
285
|
-
wordlift_client-1.
|
|
286
|
-
wordlift_client-1.
|
|
287
|
-
wordlift_client-1.
|
|
284
|
+
wordlift_client-1.128.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
285
|
+
wordlift_client-1.128.0.dist-info/METADATA,sha256=U-zXN-sMssVwPLaQg7f8WYo-hMqOHubZnYtUsIGZaXo,530
|
|
286
|
+
wordlift_client-1.128.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
287
|
+
wordlift_client-1.128.0.dist-info/top_level.txt,sha256=p7KFYU869ksxkpP7ADvg8baPgWkTYCzcOpDl1qrJdHk,16
|
|
288
|
+
wordlift_client-1.128.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|