internetdata 2.9.3__tar.gz → 2.9.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.
Files changed (98) hide show
  1. {internetdata-2.9.3 → internetdata-2.9.4}/PKG-INFO +2 -2
  2. {internetdata-2.9.3 → internetdata-2.9.4}/README.md +1 -1
  3. {internetdata-2.9.3 → internetdata-2.9.4}/spec/openapi.yaml +8 -8
  4. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/__init__.py +1 -1
  5. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/api_keys/account_rotate_apikey.py +4 -4
  6. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/database.py +1 -1
  7. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/database_version.py +2 -2
  8. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/client.py +1 -1
  9. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/errors.py +1 -1
  10. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/models.py +1 -1
  11. {internetdata-2.9.3 → internetdata-2.9.4}/tests/test_conformance.py +1 -1
  12. {internetdata-2.9.3 → internetdata-2.9.4}/.gitignore +0 -0
  13. {internetdata-2.9.3 → internetdata-2.9.4}/LICENSE +0 -0
  14. {internetdata-2.9.3 → internetdata-2.9.4}/pyproject.toml +0 -0
  15. {internetdata-2.9.3 → internetdata-2.9.4}/scripts/download-spec.sh +0 -0
  16. {internetdata-2.9.3 → internetdata-2.9.4}/scripts/generate.sh +0 -0
  17. {internetdata-2.9.3 → internetdata-2.9.4}/scripts/publish.sh +0 -0
  18. {internetdata-2.9.3 → internetdata-2.9.4}/scripts/v2_subset.py +0 -0
  19. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_core.py +0 -0
  20. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/__init__.py +0 -0
  21. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/__init__.py +0 -0
  22. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/account/__init__.py +0 -0
  23. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/account/account_identity.py +0 -0
  24. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/api_keys/__init__.py +0 -0
  25. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/api_keys/account_create_apikey.py +0 -0
  26. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/api_keys/account_list_apikeys.py +0 -0
  27. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/api_keys/account_reveal_apikey.py +0 -0
  28. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/api_keys/account_revoke_apikey.py +0 -0
  29. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/authorization/__init__.py +0 -0
  30. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/authorization/oauth_authorize.py +0 -0
  31. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/authorization/oauth_device_authorization.py +0 -0
  32. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/authorization/oauth_metadata.py +0 -0
  33. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/authorization/oauth_register.py +0 -0
  34. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/authorization/oauth_revoke.py +0 -0
  35. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/authorization/oauth_token.py +0 -0
  36. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/database_v_2/__init__.py +0 -0
  37. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/database_v_2/database_checksum_v2.py +0 -0
  38. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/database_v_2/database_metadata_v2.py +0 -0
  39. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/database_v_2/download_database_v2.py +0 -0
  40. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/database_v_2/list_databases.py +0 -0
  41. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/database_v_2/list_downloads.py +0 -0
  42. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/organization/__init__.py +0 -0
  43. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/organization/account_org.py +0 -0
  44. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/api/organization/account_org_members.py +0 -0
  45. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/client.py +0 -0
  46. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/errors.py +0 -0
  47. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/__init__.py +0 -0
  48. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/account_create_apikey_request.py +0 -0
  49. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/account_created_apikey.py +0 -0
  50. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/account_org.py +0 -0
  51. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/account_org_ref.py +0 -0
  52. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/account_org_wrap.py +0 -0
  53. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/account_rc.py +0 -0
  54. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/account_revealed_apikey.py +0 -0
  55. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/account_user.py +0 -0
  56. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/apikey_detail.py +0 -0
  57. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/apikey_list.py +0 -0
  58. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/client_registration.py +0 -0
  59. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/client_registration_request.py +0 -0
  60. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/database_checksum_v2_response_200.py +0 -0
  61. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/database_format.py +0 -0
  62. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/database_license_type_type_1.py +0 -0
  63. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/database_license_type_type_2_type_1.py +0 -0
  64. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/database_license_type_type_3_type_1.py +0 -0
  65. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/database_metadata.py +0 -0
  66. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/database_metadata_column.py +0 -0
  67. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/database_metadata_sample.py +0 -0
  68. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/database_metadata_sample_additional_property_item.py +0 -0
  69. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/database_metadata_sample_size.py +0 -0
  70. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/database_metadata_schema.py +0 -0
  71. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/database_metadata_size.py +0 -0
  72. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/db_checksums.py +0 -0
  73. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/device_authorization.py +0 -0
  74. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/device_authorization_request.py +0 -0
  75. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/download.py +0 -0
  76. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/download_outcome.py +0 -0
  77. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/error.py +0 -0
  78. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/identity.py +0 -0
  79. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/list_databases_response_200.py +0 -0
  80. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/list_downloads_response_200.py +0 -0
  81. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/oauth_authorize_code_challenge_method.py +0 -0
  82. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/oauth_authorize_response_type.py +0 -0
  83. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/oauth_error.py +0 -0
  84. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/oauth_metadata.py +0 -0
  85. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/oauth_revoke_response_200.py +0 -0
  86. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/revoke_request.py +0 -0
  87. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/standing.py +0 -0
  88. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/token_request.py +0 -0
  89. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/models/token_response.py +0 -0
  90. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/_generated/types.py +0 -0
  91. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/aio.py +0 -0
  92. {internetdata-2.9.3 → internetdata-2.9.4}/src/internetdata/py.typed +0 -0
  93. {internetdata-2.9.3 → internetdata-2.9.4}/testdata/testdata.json +0 -0
  94. {internetdata-2.9.3 → internetdata-2.9.4}/tests/conftest.py +0 -0
  95. {internetdata-2.9.3 → internetdata-2.9.4}/tests/helpers.py +0 -0
  96. {internetdata-2.9.3 → internetdata-2.9.4}/tests/test_client.py +0 -0
  97. {internetdata-2.9.3 → internetdata-2.9.4}/tests/test_download.py +0 -0
  98. {internetdata-2.9.3 → internetdata-2.9.4}/tests/test_oauth.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: internetdata
3
- Version: 2.9.3
3
+ Version: 2.9.4
4
4
  Summary: Official Python client library for the InternetData API. Download and verify licensed IP datasets.
5
5
  Project-URL: Homepage, https://internetdata.io
6
6
  Project-URL: Documentation, https://docs.internetdata.io
@@ -72,7 +72,7 @@ with InternetData(api_key) as client:
72
72
 
73
73
  ### The catalog
74
74
 
75
- `list` answers database FAMILIES. A license is held against a family, while a download names a specific version, so the ids the other calls take come from each family's `versions`:
75
+ `list` answers database FAMILIES. A license is held against a family, while a download names a specific version, so the IDs the other calls take come from each family's `versions`:
76
76
 
77
77
  ```python
78
78
  for family in client.database.list():
@@ -38,7 +38,7 @@ with InternetData(api_key) as client:
38
38
 
39
39
  ### The catalog
40
40
 
41
- `list` answers database FAMILIES. A license is held against a family, while a download names a specific version, so the ids the other calls take come from each family's `versions`:
41
+ `list` answers database FAMILIES. A license is held against a family, while a download names a specific version, so the IDs the other calls take come from each family's `versions`:
42
42
 
43
43
  ```python
44
44
  for family in client.database.list():
@@ -12,7 +12,7 @@ info:
12
12
  email: support@internetdata.io
13
13
  url: https://internetdata.io
14
14
  termsOfService: https://internetdata.io/terms
15
- version: 2026.10.21
15
+ version: 2026.11.02
16
16
  servers:
17
17
  - url: https://internetdata.io
18
18
  tags:
@@ -506,7 +506,7 @@ paths:
506
506
  - API keys
507
507
  summary: Rotate
508
508
  description: |
509
- Replaces the secret behind a key, keeping its id, name and settings.
509
+ Replaces the secret behind a key, keeping its ID, name and settings.
510
510
  The previous secret stops working immediately. The new secret comes
511
511
  back in the answer, so this needs `apikeys.reveal` as well as
512
512
  `apikeys.manage`.
@@ -890,7 +890,7 @@ components:
890
890
  name: apikey
891
891
  description: |
892
892
  UUID-format API key issued to the customer. Each key is authorized for a
893
- specific set of database ids; requesting any other id returns 403.
893
+ specific set of database IDs; requesting any other ID returns 403.
894
894
 
895
895
  v1 only. The v2 endpoints take a console-issued key as a bearer token.
896
896
  BearerAuth:
@@ -936,7 +936,7 @@ components:
936
936
  name: id
937
937
  in: path
938
938
  required: true
939
- description: The key's id, as returned by the list endpoint. Never the key itself.
939
+ description: The key's ID, as returned by the list endpoint. Never the key itself.
940
940
  schema:
941
941
  type: string
942
942
  format: uuid
@@ -973,7 +973,7 @@ components:
973
973
  description: |
974
974
  One database FAMILY, with your organization's license beside it. A
975
975
  license covers the family, while a download names a specific version,
976
- so the ids passed to `download` and `checksum` come from `versions`.
976
+ so the IDs passed to `download` and `checksum` come from `versions`.
977
977
  required:
978
978
  - base
979
979
  - name
@@ -1061,7 +1061,7 @@ components:
1061
1061
  properties:
1062
1062
  id:
1063
1063
  type: string
1064
- description: The versioned id. Pass this to `download`, `checksum` and `metadata`.
1064
+ description: The versioned ID. Pass this to `download`, `checksum` and `metadata`.
1065
1065
  example: vpn_ip_v1
1066
1066
  version:
1067
1067
  type: integer
@@ -1072,7 +1072,7 @@ components:
1072
1072
  type: array
1073
1073
  description: |
1074
1074
  The formats this version is BUILT in. Asking for another is a 400,
1075
- not a gap - the `_provider` catalogs are keyed by provider id, so no
1075
+ not a gap - the `_provider` catalogs are keyed by provider ID, so no
1076
1076
  MMDB exists for them.
1077
1077
  items:
1078
1078
  $ref: '#/components/schemas/DatabaseFormat'
@@ -1826,7 +1826,7 @@ components:
1826
1826
  schema:
1827
1827
  $ref: '#/components/schemas/DbInvalidApiKeyError'
1828
1828
  Forbidden:
1829
- description: The `apikey` is valid but is not authorized for the requested database id.
1829
+ description: The `apikey` is valid but is not authorized for the requested database ID.
1830
1830
  content:
1831
1831
  application/json:
1832
1832
  schema:
@@ -40,7 +40,7 @@ from .models import (
40
40
  TokenResponse,
41
41
  )
42
42
 
43
- __version__ = "2.9.3"
43
+ __version__ = "2.9.4"
44
44
 
45
45
  __all__ = [
46
46
  "DATABASE_FORMATS",
@@ -73,7 +73,7 @@ def sync_detailed(
73
73
  ) -> Response[AccountCreatedApikey | AccountRc]:
74
74
  """Rotate
75
75
 
76
- Replaces the secret behind a key, keeping its id, name and settings.
76
+ Replaces the secret behind a key, keeping its ID, name and settings.
77
77
  The previous secret stops working immediately. The new secret comes
78
78
  back in the answer, so this needs `apikeys.reveal` as well as
79
79
  `apikeys.manage`.
@@ -107,7 +107,7 @@ def sync(
107
107
  ) -> AccountCreatedApikey | AccountRc | None:
108
108
  """Rotate
109
109
 
110
- Replaces the secret behind a key, keeping its id, name and settings.
110
+ Replaces the secret behind a key, keeping its ID, name and settings.
111
111
  The previous secret stops working immediately. The new secret comes
112
112
  back in the answer, so this needs `apikeys.reveal` as well as
113
113
  `apikeys.manage`.
@@ -136,7 +136,7 @@ async def asyncio_detailed(
136
136
  ) -> Response[AccountCreatedApikey | AccountRc]:
137
137
  """Rotate
138
138
 
139
- Replaces the secret behind a key, keeping its id, name and settings.
139
+ Replaces the secret behind a key, keeping its ID, name and settings.
140
140
  The previous secret stops working immediately. The new secret comes
141
141
  back in the answer, so this needs `apikeys.reveal` as well as
142
142
  `apikeys.manage`.
@@ -168,7 +168,7 @@ async def asyncio(
168
168
  ) -> AccountCreatedApikey | AccountRc | None:
169
169
  """Rotate
170
170
 
171
- Replaces the secret behind a key, keeping its id, name and settings.
171
+ Replaces the secret behind a key, keeping its ID, name and settings.
172
172
  The previous secret stops working immediately. The new secret comes
173
173
  back in the answer, so this needs `apikeys.reveal` as well as
174
174
  `apikeys.manage`.
@@ -23,7 +23,7 @@ T = TypeVar("T", bound="Database")
23
23
  class Database:
24
24
  """One database FAMILY, with your organization's license beside it. A
25
25
  license covers the family, while a download names a specific version,
26
- so the ids passed to `download` and `checksum` come from `versions`.
26
+ so the IDs passed to `download` and `checksum` come from `versions`.
27
27
 
28
28
  Attributes:
29
29
  base (str): The family, e.g. `vpn_ip`. What a license is held against. Example: vpn_ip.
@@ -16,11 +16,11 @@ T = TypeVar("T", bound="DatabaseVersion")
16
16
  class DatabaseVersion:
17
17
  """
18
18
  Attributes:
19
- id (str): The versioned id. Pass this to `download`, `checksum` and `metadata`. Example: vpn_ip_v1.
19
+ id (str): The versioned ID. Pass this to `download`, `checksum` and `metadata`. Example: vpn_ip_v1.
20
20
  version (int): Example: 1.
21
21
  summary (str):
22
22
  formats (list[DatabaseFormat]): The formats this version is BUILT in. Asking for another is a 400,
23
- not a gap - the `_provider` catalogs are keyed by provider id, so no
23
+ not a gap - the `_provider` catalogs are keyed by provider ID, so no
24
24
  MMDB exists for them.
25
25
  sample_formats (list[DatabaseFormat] | Unset): The formats an evaluation sample is published in, if any.
26
26
  """
@@ -184,7 +184,7 @@ class DatabaseApi:
184
184
  for the key you are holding, so a listing held from one key is not an answer for
185
185
  another.
186
186
 
187
- A license covers a FAMILY, while a download names a version, so the ids for the
187
+ A license covers a FAMILY, while a download names a version, so the IDs for the
188
188
  other calls come from each entry's `versions`.
189
189
 
190
190
  `timeout` bounds each attempt at this call alone, in place of the client's.
@@ -128,7 +128,7 @@ def error_from_response(status: int, headers: httpx.Headers, body: Any) -> Inter
128
128
  """Classify a failed response.
129
129
 
130
130
  Everything outside the four named statuses is decided by its RANGE rather than by an
131
- enumerated list, which is the whole point: a 404 from a database id that does not
131
+ enumerated list, which is the whole point: a 404 from a database ID that does not
132
132
  exist has to land on a client error, and mapping 400/401/403/429 and letting the rest
133
133
  fall through to `server_error` retries it twice before failing. Three of the four
134
134
  first SDKs shipped exactly that bug, so the shared corpus pins both 404 shapes.
@@ -39,7 +39,7 @@ Format = Literal["csvgz", "mmdb"]
39
39
 
40
40
  Which of them a given version HAS is `DatabaseVersion.formats`; asking for another is a
41
41
  `bad_request` rather than a gap, because the `_provider` catalogs are keyed by provider
42
- id and no MMDB exists for them.
42
+ ID and no MMDB exists for them.
43
43
  """
44
44
 
45
45
  Standing = Literal["licensed", "expired", "unlicensed"]
@@ -168,7 +168,7 @@ def test_the_listing_is_returned_exactly_as_served(make_client: ClientFactory) -
168
168
  def test_no_catalog_is_compiled_into_the_client(make_client: ClientFactory) -> None:
169
169
  """An empty listing must stay empty.
170
170
 
171
- This is the mistake worth guarding: a client that knows the published database ids -
171
+ This is the mistake worth guarding: a client that knows the published database IDs -
172
172
  from a bundled table, an enum, or a merge with anything - would hand back a family the
173
173
  server deliberately withheld, and the leak answers 200 while moving no bytes.
174
174
  """
File without changes
File without changes