pingintel-api 1.4.9__tar.gz → 1.4.11__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.
Files changed (66) hide show
  1. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/.gitignore +167 -166
  2. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/.pre-commit-config.yaml +21 -21
  3. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/LICENSE +21 -21
  4. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/PKG-INFO +16 -11
  5. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/README.md +180 -176
  6. pingintel_api-1.4.11/examples/data/corrections.csv +2 -0
  7. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/data/demo_email.eml +364 -364
  8. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/ping-data/enhance_multiple_locations.py +84 -84
  9. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/ping-data/enhance_one_location.py +25 -25
  10. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/ping-data/pingdata_enhance.py +84 -84
  11. pingintel_api-1.4.11/examples/ping-extraction/build_sov_pipeline.py +275 -0
  12. pingintel_api-1.4.11/examples/ping-extraction/get_or_create_sov_output.py +47 -0
  13. pingintel_api-1.4.11/examples/ping-extraction/monitor_sov_activity.py +74 -0
  14. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/ping-extraction/parse_sov.py +76 -76
  15. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/ping-extraction/sovfixer_fix_sov.py +9 -9
  16. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/ping-extraction/sovfixer_list_activity.py +33 -33
  17. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/ping-extraction/sovfixer_reoutput_sov.py +102 -102
  18. pingintel_api-1.4.11/examples/ping-extraction/update_sov.py +81 -0
  19. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/ping-vision/clear_and_triage_api.py +593 -593
  20. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/ping-vision/pingvision_activity.py +19 -19
  21. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/ping-vision/send_and_track_submission.py +154 -154
  22. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/pingvision_assignment.py +457 -457
  23. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/test_reoutput_locations.csv +3 -3
  24. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/generate_docs.py +54 -54
  25. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/justfile +28 -28
  26. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/pyproject.toml +42 -42
  27. pingintel_api-1.4.11/requirements.txt +3 -0
  28. pingintel_api-1.4.11/src/pingintel_api/__about__.py +1 -0
  29. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/__init__.py +6 -6
  30. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/api_client_base.py +218 -218
  31. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/common_types.py +9 -9
  32. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/constants.py +4 -4
  33. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/pingdata/pingdata_api_client.py +406 -319
  34. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/pingdata/types.py +277 -223
  35. pingintel_api-1.4.11/src/pingintel_api/pingdataapi_cmd.py +449 -0
  36. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/pingmaps/pingmaps_api_client.py +62 -62
  37. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/pingmaps/types.py +84 -80
  38. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/pingmapsapi_cmd.py +108 -108
  39. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/pingvision/pingvision_api_client.py +460 -375
  40. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/pingvision/types.py +231 -231
  41. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/pingvisionapi_cmd.py +426 -370
  42. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/sov_fixer/sov_fixer_api_client.py +827 -825
  43. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/sov_fixer/types.py +266 -266
  44. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/sovfixerapi_cmd.py +532 -529
  45. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/url_signature_factory.py +41 -41
  46. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/src/pingintel_api/utils.py +93 -93
  47. pingintel_api-1.4.9/.claude/settings.json +0 -7
  48. pingintel_api-1.4.9/.claude/settings.local.json +0 -16
  49. pingintel_api-1.4.9/SOV10 2026-02_Acc-STG.txt +0 -7
  50. pingintel_api-1.4.9/examples/Untitled-9.json5 +0 -1155
  51. pingintel_api-1.4.9/examples/assignment_queue.xlsx +0 -0
  52. pingintel_api-1.4.9/examples/close_submissions.py +0 -129
  53. pingintel_api-1.4.9/examples/completed_submissions.xlsx +0 -0
  54. pingintel_api-1.4.9/examples/find-amwins-missing-account-numbers.py +0 -154
  55. pingintel_api-1.4.9/examples/ping-vision/pingvision_clear_and_triage.py +0 -147
  56. pingintel_api-1.4.9/examples/pingvision_declination_flow.py +0 -195
  57. pingintel_api-1.4.9/examples/sovfixer_list_history.py +0 -57
  58. pingintel_api-1.4.9/examples/sovfixer_list_history_ping_None_1_run2.csv +0 -70
  59. pingintel_api-1.4.9/examples/sovfixerapi +0 -0
  60. pingintel_api-1.4.9/output-data-f432c75e-b40e-11f0-9e68-3c58c2f91432-1.json +0 -131
  61. pingintel_api-1.4.9/requirements.txt +0 -2
  62. pingintel_api-1.4.9/src/pingintel_api/__about__.py +0 -1
  63. pingintel_api-1.4.9/src/pingintel_api/pingdataapi_cmd.py +0 -218
  64. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/data/parse_sov_testfile.xlsx +0 -0
  65. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/examples/test_sov.xlsx +0 -0
  66. {pingintel_api-1.4.9 → pingintel_api-1.4.11}/tests/__init__.py +0 -0
@@ -1,166 +1,167 @@
1
- # Byte-compiled / optimized / DLL files
2
- __pycache__/
3
- *.py[cod]
4
- *$py.class
5
-
6
- # C extensions
7
- *.so
8
-
9
- # Distribution / packaging
10
- .Python
11
- build/
12
- develop-eggs/
13
- dist/
14
- downloads/
15
- eggs/
16
- .eggs/
17
- lib/
18
- lib64/
19
- parts/
20
- sdist/
21
- var/
22
- wheels/
23
- share/python-wheels/
24
- *.egg-info/
25
- .installed.cfg
26
- *.egg
27
- MANIFEST
28
-
29
- # PyInstaller
30
- # Usually these files are written by a python script from a template
31
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
- *.manifest
33
- *.spec
34
-
35
- # Installer logs
36
- pip-log.txt
37
- pip-delete-this-directory.txt
38
-
39
- # Unit test / coverage reports
40
- htmlcov/
41
- .tox/
42
- .nox/
43
- .coverage
44
- .coverage.*
45
- .cache
46
- nosetests.xml
47
- coverage.xml
48
- *.cover
49
- *.py,cover
50
- .hypothesis/
51
- .pytest_cache/
52
- cover/
53
-
54
- # Translations
55
- *.mo
56
- *.pot
57
-
58
- # Django stuff:
59
- *.log
60
- local_settings.py
61
- db.sqlite3
62
- db.sqlite3-journal
63
-
64
- # Flask stuff:
65
- instance/
66
- .webassets-cache
67
-
68
- # Scrapy stuff:
69
- .scrapy
70
-
71
- # Sphinx documentation
72
- docs/_build/
73
-
74
- # PyBuilder
75
- .pybuilder/
76
- target/
77
-
78
- # Jupyter Notebook
79
- .ipynb_checkpoints
80
-
81
- # IPython
82
- profile_default/
83
- ipython_config.py
84
-
85
- # pyenv
86
- # For a library or package, you might want to ignore these files since the code is
87
- # intended to run in multiple environments; otherwise, check them in:
88
- # .python-version
89
-
90
- # pipenv
91
- # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
- # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
- # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
- # install all needed dependencies.
95
- #Pipfile.lock
96
-
97
- # poetry
98
- # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99
- # This is especially recommended for binary packages to ensure reproducibility, and is more
100
- # commonly ignored for libraries.
101
- # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102
- #poetry.lock
103
-
104
- # pdm
105
- # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106
- #pdm.lock
107
- # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108
- # in version control.
109
- # https://pdm.fming.dev/#use-with-ide
110
- .pdm.toml
111
-
112
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113
- __pypackages__/
114
-
115
- # Celery stuff
116
- celerybeat-schedule
117
- celerybeat.pid
118
-
119
- # SageMath parsed files
120
- *.sage.py
121
-
122
- # Environments
123
- .env
124
- .venv
125
- env/
126
- venv/
127
- ENV/
128
- env.bak/
129
- venv.bak/
130
-
131
- # Spyder project settings
132
- .spyderproject
133
- .spyproject
134
-
135
- # Rope project settings
136
- .ropeproject
137
-
138
- # mkdocs documentation
139
- /site
140
-
141
- # mypy
142
- .mypy_cache/
143
- .dmypy.json
144
- dmypy.json
145
-
146
- # Pyre type checker
147
- .pyre/
148
-
149
- # pytype static type analyzer
150
- .pytype/
151
-
152
- # Cython debug symbols
153
- cython_debug/
154
-
155
- # PyCharm
156
- # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157
- # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
- # and can be added to the global gitignore or merged into this file. For a more nuclear
159
- # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
- #.idea/
161
-
162
- release.bat
163
- /_version.py
164
-
165
- .DS_Store
166
- *.bak
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # poetry
98
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102
+ #poetry.lock
103
+
104
+ # pdm
105
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106
+ #pdm.lock
107
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108
+ # in version control.
109
+ # https://pdm.fming.dev/#use-with-ide
110
+ .pdm.toml
111
+
112
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113
+ __pypackages__/
114
+
115
+ # Celery stuff
116
+ celerybeat-schedule
117
+ celerybeat.pid
118
+
119
+ # SageMath parsed files
120
+ *.sage.py
121
+
122
+ # Environments
123
+ .env
124
+ .venv
125
+ env/
126
+ venv/
127
+ ENV/
128
+ env.bak/
129
+ venv.bak/
130
+
131
+ # Spyder project settings
132
+ .spyderproject
133
+ .spyproject
134
+
135
+ # Rope project settings
136
+ .ropeproject
137
+
138
+ # mkdocs documentation
139
+ /site
140
+
141
+ # mypy
142
+ .mypy_cache/
143
+ .dmypy.json
144
+ dmypy.json
145
+
146
+ # Pyre type checker
147
+ .pyre/
148
+
149
+ # pytype static type analyzer
150
+ .pytype/
151
+
152
+ # Cython debug symbols
153
+ cython_debug/
154
+
155
+ # PyCharm
156
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
157
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
159
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
+ #.idea/
161
+
162
+ release.bat
163
+ /_version.py
164
+
165
+ .DS_Store
166
+ *.bak
167
+ .python-version
@@ -1,21 +1,21 @@
1
- default_language_version:
2
- python: python3.11
3
- repos:
4
- - repo: https://github.com/psf/black
5
- rev: 24.2.0
6
- hooks:
7
- - id: black
8
- - repo: https://github.com/pycqa/isort
9
- rev: 5.13.2
10
- hooks:
11
- - id: isort
12
- - repo: https://github.com/pre-commit/pre-commit-hooks
13
- rev: v4.5.0
14
- hooks:
15
- - id: debug-statements
16
- - repo: https://github.com/asottile/pyupgrade
17
- rev: v3.15.0
18
- hooks:
19
- - id: pyupgrade
20
- args: [--py311-plus]
21
-
1
+ default_language_version:
2
+ python: python3.11
3
+ repos:
4
+ - repo: https://github.com/psf/black
5
+ rev: 24.2.0
6
+ hooks:
7
+ - id: black
8
+ - repo: https://github.com/pycqa/isort
9
+ rev: 5.13.2
10
+ hooks:
11
+ - id: isort
12
+ - repo: https://github.com/pre-commit/pre-commit-hooks
13
+ rev: v4.5.0
14
+ hooks:
15
+ - id: debug-statements
16
+ - repo: https://github.com/asottile/pyupgrade
17
+ rev: v3.15.0
18
+ hooks:
19
+ - id: pyupgrade
20
+ args: [--py311-plus]
21
+
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Ping Data Intelligence
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Ping Data Intelligence
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pingintel-api
3
- Version: 1.4.9
3
+ Version: 1.4.11
4
4
  Summary: Python-based client to Ping Data Intelligence APIs
5
5
  Project-URL: Homepage, https://github.com/pingintel/pingintel-api
6
6
  Project-URL: Issues, https://github.com/pingintel/pingintel-api/issues
@@ -12,6 +12,7 @@ Classifier: Programming Language :: Python :: 3
12
12
  Requires-Python: >=3.11
13
13
  Requires-Dist: click
14
14
  Requires-Dist: requests
15
+ Requires-Dist: typing-extensions>=4.13
15
16
  Description-Content-Type: text/markdown
16
17
 
17
18
  # pingintel-api
@@ -90,7 +91,9 @@ Commands:
90
91
  activity List submission activity.
91
92
  create Create new submission from file(s).
92
93
  download-document Download document by document URL.
94
+ events List submission events.
93
95
  get Get submission detail.
96
+ get-output Fetch or generate an output from a previous...
94
97
  list-submission-statuses List submission statuses.
95
98
  list-teams List teams.
96
99
 
@@ -112,11 +115,14 @@ Options:
112
115
  --help Show this message and exit.
113
116
 
114
117
  Commands:
115
- activity List submission activity.
116
- check-progress Check the progress of a submission.
117
- fix Extract insurance information from file(s).
118
- get-output Fetch or generate an output from a previous extraction.
118
+ activity List submission activity.
119
+ check-progress Check the progress of a submission.
120
+ fix Extract insurance information from file(s).
121
+ get-output Fetch or generate an output from a previous...
122
+ history List submission activity.
123
+ list-output-formats List available output formats.
119
124
  serverinfo
125
+ update Update an existing SOV with new location data.
120
126
 
121
127
  ```
122
128
 
@@ -140,8 +146,11 @@ Options:
140
146
  --help Show this message and exit.
141
147
 
142
148
  Commands:
143
- bulk-enhance Request data about multiple addresses using async API.
144
- enhance Request data synchronously about a single address.
149
+ bulk-enhance Request data about multiple addresses using async API.
150
+ enhance Request data synchronously about a single address.
151
+ get-datasource Get the configuration for a single datasource by its...
152
+ list-datasources List the datasource configurations the authenticated...
153
+ usage Get API credit usage over a time range, broken down...
145
154
 
146
155
  ```
147
156
 
@@ -160,10 +169,6 @@ Options:
160
169
  PINGDATA_AUTH_TOKEN environment variable.
161
170
  -v, --verbose Can be used multiple times. -v for INFO, -vv
162
171
  for DEBUG, -vvv for very DEBUG.
163
- -D, --delegate-to ORG_SHORT_NAME
164
- Delegate to another organization. Provide
165
- the 'short name' of the desired delegatee.
166
- Requires the `delegate` permission.
167
172
  --help Show this message and exit.
168
173
 
169
174
  Commands: