parseapi 1.11.2__tar.gz → 1.11.4__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.
- {parseapi-1.11.2 → parseapi-1.11.4}/CHANGELOG.md +9 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/PKG-INFO +11 -7
- {parseapi-1.11.2 → parseapi-1.11.4}/README.md +10 -6
- {parseapi-1.11.2 → parseapi-1.11.4}/pyproject.toml +1 -1
- {parseapi-1.11.2 → parseapi-1.11.4}/src/parseapi/__init__.py +1 -1
- {parseapi-1.11.2 → parseapi-1.11.4}/src/parseapi/_client.py +1 -1
- {parseapi-1.11.2 → parseapi-1.11.4}/.github/workflows/publish.yml +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/.github/workflows/test.yml +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/.gitignore +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/LICENSE +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/api/public.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/scripts/public_api.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/smoke/smoke.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/src/parseapi/city.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/src/parseapi/py.typed +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/country-aq.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/country-corrected.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/country-de.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/emoji-artwork.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/emoji-catalog.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/iso-contract.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/measure-response.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/postal-weather.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/clean-company-coverage.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/clean-company-profile.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/clean-emoji-catalog.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/clean-emoji-metadata.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/clean-provider.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/clean-tariff-search.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/clean-tariff.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/clean-time.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/clean-timezones.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-company-coverage.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-company-profile.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-emoji-catalog.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-emoji-metadata.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-provider.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-tariff-search.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-tariff.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-time.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-timezones.json +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_card_dx.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_city_canonical.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_city_quality.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_city_query_parity.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_client.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_company_directory.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_country_corrected.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_email_enrichment.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_emoji.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_iso_contract.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_language.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_name_formatting.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_postal_localities.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_postal_weather.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_public_api.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_response_decoding.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_stack.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_time_complete.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_time_gaps.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/test_version.py +0 -0
- {parseapi-1.11.2 → parseapi-1.11.4}/tests/typing_company_directory.py +0 -0
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.11.4 — 2026-11-01
|
|
4
|
+
|
|
5
|
+
- Correct documentation to match existing Deep access, complete Core reference data and retired national Company behavior.
|
|
6
|
+
- Preserve all business response fields, models, methods, dependencies and access.
|
|
7
|
+
|
|
8
|
+
## 1.11.3 — 2026-11-01
|
|
9
|
+
|
|
10
|
+
- Correct Point and optional Deep documentation to describe existing access. Language facts remain in Core; request behavior and response JSON are unchanged.
|
|
11
|
+
|
|
3
12
|
## 1.11.2 — 2026-10-31
|
|
4
13
|
|
|
5
14
|
- Correct Postal compact property-tax and Weather minute-rate migration guidance.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: parseapi
|
|
3
|
-
Version: 1.11.
|
|
3
|
+
Version: 1.11.4
|
|
4
4
|
Summary: Official ParseAPI client for Python. One key, minimal JSON, fast.
|
|
5
5
|
Project-URL: Homepage, https://parseapi.com
|
|
6
6
|
Project-URL: Documentation, https://parseapi.com/docs
|
|
@@ -85,6 +85,8 @@ Use at most one selector: `query` for a name, `domain`, `ticker`, or `identifier
|
|
|
85
85
|
|
|
86
86
|
Directory profiles are plain JSON data. `deep` belongs to each company in search results and adds legal/reference detail plus nullable `description`, `logo`, `founded`, and the `social_profiles`, `phone_numbers`, `email_addresses`, `domains` and `sources` collections. A logo is a reported URL. `founded` has `value` and `precision`, distinct from incorporation. Sources identify the website, filing or business register, supported fields and observation/update timestamps. Employee observations retain count, measurement date, organization scope and approximation; null means unknown. Missing, null, empty and unknown fields retain their response values. An empty search is a successful result. Invalid inputs and unknown IDs raise the existing API error.
|
|
87
87
|
|
|
88
|
+
The public-directory service retires national-number Company lookups in both API versions. Use the directory methods with API 2.0.0.
|
|
89
|
+
|
|
88
90
|
Company directory social profiles contain `platform`, `url` and `handle`; unknown metadata stays null. Phone and email records use `type` for the source-reported purpose. Earlier response fields remain readable by the client.
|
|
89
91
|
|
|
90
92
|
The recipe requests one candidate page, one explicitly chosen profile and directory coverage, plus a second page when a cursor is returned. Each operation uses the existing retry settings. The number-validation call remains unchanged. `lang` applies to national company-number lookup, while directory calls use the source labels.
|
|
@@ -270,7 +272,7 @@ Read `population` as the source’s count for that place boundary. Keep missing
|
|
|
270
272
|
|
|
271
273
|
Country deep includes `land_area` and `water_area` in km2, `coastline` in km, and `elevation_average` in meters. `lowest_point` and `highest_point` contain a nullable `name` and an `elevation` in metres. Values below sea level are negative. Missing or null values stay unknown, and zero stays zero.
|
|
272
274
|
|
|
273
|
-
Point returns the timezone ID with the core location. Its optional
|
|
275
|
+
Point returns the timezone ID with the core location. Its optional Deep adds terrain, compact nearest-city context and supported electoral detail on paid plans. Existing accounts retain their current Deep access. A nearest city is null when none is within 200 km.
|
|
274
276
|
|
|
275
277
|
Weather returns current conditions by default. Paid deep adds specialist current measurements, forecasts and related detail. A past `date` is a UTC day and requires deep: it adds `deep.history` alongside current conditions. Date alone does not request history.
|
|
276
278
|
|
|
@@ -295,8 +297,9 @@ Choose enrichment for the question you need answered.
|
|
|
295
297
|
| IP | Richer IP fields included with a paid plan. No separate check meter. |
|
|
296
298
|
| Domain | Registration dates, registrar, status and DNSSEC, included with a paid plan. Use `dns` for DNS records and `mx` for mail routing. |
|
|
297
299
|
| Email | A metered mailbox check with deliverability, catch-all, status, reason and address hints, using included email checks or enabled on-demand usage. |
|
|
298
|
-
| Phone, Time, Date,
|
|
299
|
-
|
|
|
300
|
+
| Phone, Time, Date, Emoji, Point | Optional detail on paid plans in the same pooled request. Existing accounts retain their current Deep access. |
|
|
301
|
+
| Language | All language facts are in Core; requested Deep is empty. |
|
|
302
|
+
| Currency | Currency lookup facts are complete in Core; requested Deep is empty. Lookup and exchange-rate conversion use pooled requests. |
|
|
300
303
|
| Country, State, District, City, Postal | The place profile on paid plans, including demographic and tax facts where held. |
|
|
301
304
|
| Name, Industry | Name evidence or the industry definition profile on paid plans. |
|
|
302
305
|
| Company | The complete product detail bag on paid plans. |
|
|
@@ -360,9 +363,10 @@ and a CDN SVG `logo`. Brand detection uses reviewed network rules independently
|
|
|
360
363
|
of issuer records. Unknown or ambiguous prefixes return null brand fields and a
|
|
361
364
|
generic logo; a known network without reviewed artwork also uses the generic logo.
|
|
362
365
|
|
|
363
|
-
Optional Deep adds `prefix`, `issuer`, `country`, `type` and `prepaid
|
|
364
|
-
in the same pooled request
|
|
365
|
-
|
|
366
|
+
Optional Deep adds `prefix`, `issuer`, `country`, `type` and `prepaid` on paid plans
|
|
367
|
+
in the same pooled request. Existing accounts retain their current Deep access.
|
|
368
|
+
Requested but locked Deep is `{}`. Six or more digits enable directory
|
|
369
|
+
matching. With Deep access, fewer digits return all-null Deep fields. Compare `deep.prefix` with
|
|
366
370
|
`bin`: equal is an exact recorded match; shorter is broader; null is no match.
|
|
367
371
|
The longest row wins, including null fields. `prepaid: null` means unknown, not
|
|
368
372
|
false. This is partial reference data, not card validity or payment acceptance.
|
|
@@ -66,6 +66,8 @@ Use at most one selector: `query` for a name, `domain`, `ticker`, or `identifier
|
|
|
66
66
|
|
|
67
67
|
Directory profiles are plain JSON data. `deep` belongs to each company in search results and adds legal/reference detail plus nullable `description`, `logo`, `founded`, and the `social_profiles`, `phone_numbers`, `email_addresses`, `domains` and `sources` collections. A logo is a reported URL. `founded` has `value` and `precision`, distinct from incorporation. Sources identify the website, filing or business register, supported fields and observation/update timestamps. Employee observations retain count, measurement date, organization scope and approximation; null means unknown. Missing, null, empty and unknown fields retain their response values. An empty search is a successful result. Invalid inputs and unknown IDs raise the existing API error.
|
|
68
68
|
|
|
69
|
+
The public-directory service retires national-number Company lookups in both API versions. Use the directory methods with API 2.0.0.
|
|
70
|
+
|
|
69
71
|
Company directory social profiles contain `platform`, `url` and `handle`; unknown metadata stays null. Phone and email records use `type` for the source-reported purpose. Earlier response fields remain readable by the client.
|
|
70
72
|
|
|
71
73
|
The recipe requests one candidate page, one explicitly chosen profile and directory coverage, plus a second page when a cursor is returned. Each operation uses the existing retry settings. The number-validation call remains unchanged. `lang` applies to national company-number lookup, while directory calls use the source labels.
|
|
@@ -251,7 +253,7 @@ Read `population` as the source’s count for that place boundary. Keep missing
|
|
|
251
253
|
|
|
252
254
|
Country deep includes `land_area` and `water_area` in km2, `coastline` in km, and `elevation_average` in meters. `lowest_point` and `highest_point` contain a nullable `name` and an `elevation` in metres. Values below sea level are negative. Missing or null values stay unknown, and zero stays zero.
|
|
253
255
|
|
|
254
|
-
Point returns the timezone ID with the core location. Its optional
|
|
256
|
+
Point returns the timezone ID with the core location. Its optional Deep adds terrain, compact nearest-city context and supported electoral detail on paid plans. Existing accounts retain their current Deep access. A nearest city is null when none is within 200 km.
|
|
255
257
|
|
|
256
258
|
Weather returns current conditions by default. Paid deep adds specialist current measurements, forecasts and related detail. A past `date` is a UTC day and requires deep: it adds `deep.history` alongside current conditions. Date alone does not request history.
|
|
257
259
|
|
|
@@ -276,8 +278,9 @@ Choose enrichment for the question you need answered.
|
|
|
276
278
|
| IP | Richer IP fields included with a paid plan. No separate check meter. |
|
|
277
279
|
| Domain | Registration dates, registrar, status and DNSSEC, included with a paid plan. Use `dns` for DNS records and `mx` for mail routing. |
|
|
278
280
|
| Email | A metered mailbox check with deliverability, catch-all, status, reason and address hints, using included email checks or enabled on-demand usage. |
|
|
279
|
-
| Phone, Time, Date,
|
|
280
|
-
|
|
|
281
|
+
| Phone, Time, Date, Emoji, Point | Optional detail on paid plans in the same pooled request. Existing accounts retain their current Deep access. |
|
|
282
|
+
| Language | All language facts are in Core; requested Deep is empty. |
|
|
283
|
+
| Currency | Currency lookup facts are complete in Core; requested Deep is empty. Lookup and exchange-rate conversion use pooled requests. |
|
|
281
284
|
| Country, State, District, City, Postal | The place profile on paid plans, including demographic and tax facts where held. |
|
|
282
285
|
| Name, Industry | Name evidence or the industry definition profile on paid plans. |
|
|
283
286
|
| Company | The complete product detail bag on paid plans. |
|
|
@@ -341,9 +344,10 @@ and a CDN SVG `logo`. Brand detection uses reviewed network rules independently
|
|
|
341
344
|
of issuer records. Unknown or ambiguous prefixes return null brand fields and a
|
|
342
345
|
generic logo; a known network without reviewed artwork also uses the generic logo.
|
|
343
346
|
|
|
344
|
-
Optional Deep adds `prefix`, `issuer`, `country`, `type` and `prepaid
|
|
345
|
-
in the same pooled request
|
|
346
|
-
|
|
347
|
+
Optional Deep adds `prefix`, `issuer`, `country`, `type` and `prepaid` on paid plans
|
|
348
|
+
in the same pooled request. Existing accounts retain their current Deep access.
|
|
349
|
+
Requested but locked Deep is `{}`. Six or more digits enable directory
|
|
350
|
+
matching. With Deep access, fewer digits return all-null Deep fields. Compare `deep.prefix` with
|
|
347
351
|
`bin`: equal is an exact recorded match; shorter is broader; null is no match.
|
|
348
352
|
The longest row wins, including null fields. `prepaid: null` means unknown, not
|
|
349
353
|
false. This is partial reference data, not card validity or payment acceptance.
|
|
@@ -13,7 +13,7 @@ from urllib.parse import quote
|
|
|
13
13
|
import httpx
|
|
14
14
|
from .city import CityAmbiguityCandidate, city_error_candidates
|
|
15
15
|
|
|
16
|
-
VERSION = "1.11.
|
|
16
|
+
VERSION = "1.11.4"
|
|
17
17
|
_API_VERSION = "2.0.0"
|
|
18
18
|
DEFAULT_BASE_URL = "https://api.parseapi.com"
|
|
19
19
|
DEFAULT_TIMEOUT = 10.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/clean-company-coverage.json
RENAMED
|
File without changes
|
{parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/clean-company-profile.json
RENAMED
|
File without changes
|
{parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/clean-emoji-catalog.json
RENAMED
|
File without changes
|
{parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/clean-emoji-metadata.json
RENAMED
|
File without changes
|
|
File without changes
|
{parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/clean-tariff-search.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-company-coverage.json
RENAMED
|
File without changes
|
{parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-company-profile.json
RENAMED
|
File without changes
|
{parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-emoji-catalog.json
RENAMED
|
File without changes
|
{parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-emoji-metadata.json
RENAMED
|
File without changes
|
|
File without changes
|
{parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-tariff-search.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{parseapi-1.11.2 → parseapi-1.11.4}/tests/fixtures/response-fixtures/standard-timezones.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|