minfraud 3.2.0__tar.gz → 3.4.0__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.
@@ -3,6 +3,46 @@
3
3
  History
4
4
  -------
5
5
 
6
+ 3.4.0 (2026-11-18)
7
+ ++++++++++++++++++
8
+
9
+ * Added the ``phone_verification_method``,
10
+ ``phone_was_verification_successful``, and ``phone_verification_time``
11
+ inputs to the ``/billing`` and ``/shipping`` request objects. They describe
12
+ the most recent verification of the phone number.
13
+ * Added the ``verification_time`` and ``was_verification_successful`` inputs
14
+ to the ``/email`` request object. They describe the most recent
15
+ verification of the email address.
16
+ * The RFC 3339 check on ``/event/time`` and ``phone_verification_time`` now
17
+ rejects more values that the web service rejects, such as February 30,
18
+ hour 24, an offset of 24 hours or more, and a lowercase ``t`` or ``z``.
19
+ * Added ``ryft`` to the ``/payment/processor`` validation.
20
+ * The minimum version of ``geoip2`` is now 5.4.0.
21
+
22
+ 3.3.0 (2026-07-21)
23
+ ++++++++++++++++++
24
+
25
+ * Added ``tracking_token`` to the ``/device`` request object. This is the
26
+ token generated by the `Device Tracking Add-on
27
+ <https://dev.maxmind.com/minfraud/track-devices>`_ for explicit device
28
+ linking.
29
+ * Added ``banquest``, ``fat_zebra``, ``summit_payments``, and ``yaadpay`` to
30
+ the ``/payment/processor`` validation.
31
+ * Added ``clear`` to the valid values for the ``tag`` parameter on the
32
+ Report Transaction API.
33
+ * The version is now retrieved from package metadata at runtime using
34
+ ``importlib.metadata``. This reduces the chance of version inconsistencies
35
+ during releases.
36
+ * The async client now builds its ``Authorization`` header with
37
+ ``aiohttp.encode_basic_auth()`` instead of the ``aiohttp.BasicAuth`` /
38
+ ``auth=`` parameter, which are deprecated as of aiohttp 3.14.0. As a result,
39
+ the minimum required ``aiohttp`` version is now 3.14.0.
40
+ * The ``ip_address.anonymizer`` object may now contain a ``residential``
41
+ attribute. This is a ``geoip2.records.AnonymizerFeed`` object containing
42
+ residential proxy data for the network. It has the following fields:
43
+ ``confidence``, ``network_last_seen``, and ``provider_name``. It may be
44
+ populated even when no other ``anonymizer`` attributes are set.
45
+
6
46
  3.2.0 (2025-11-20)
7
47
  ++++++++++++++++++
8
48
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: minfraud
3
- Version: 3.2.0
3
+ Version: 3.4.0
4
4
  Summary: MaxMind minFraud API
5
5
  Author: Gregory Oschwald
6
6
  Author-email: Gregory Oschwald <goschwald@maxmind.com>
@@ -19,17 +19,17 @@ Classifier: Programming Language :: Python :: 3.14
19
19
  Classifier: Topic :: Internet
20
20
  Classifier: Topic :: Internet :: Proxy Servers
21
21
  Classifier: Topic :: Internet :: WWW/HTTP
22
- Requires-Dist: aiohttp>=3.6.2,<4.0.0
22
+ Requires-Dist: aiohttp>=3.14.0,<4.0.0
23
23
  Requires-Dist: email-validator>=2.0.0,<3.0.0
24
- Requires-Dist: geoip2>=5.2.0,<6.0.0
24
+ Requires-Dist: geoip2>=5.4.0,<6.0.0
25
25
  Requires-Dist: requests>=2.24.0,<3.0.0
26
26
  Requires-Dist: typing-extensions>=4.13.2
27
27
  Requires-Dist: voluptuous
28
28
  Requires-Python: >=3.10
29
- Project-URL: Documentation, https://minfraud.readthedocs.org/
30
- Project-URL: Homepage, https://www.maxmind.com/
31
- Project-URL: Issue Tracker, https://github.com/maxmind/minfraud-api-python/issues
29
+ Project-URL: Homepage, https://www.maxmind.com/en/home
30
+ Project-URL: Documentation, https://minfraud.readthedocs.io/en/latest/
32
31
  Project-URL: Source Code, https://github.com/maxmind/minfraud-api-python
32
+ Project-URL: Issue Tracker, https://github.com/maxmind/minfraud-api-python/issues
33
33
  Description-Content-Type: text/x-rst
34
34
 
35
35
  ===================
@@ -42,7 +42,7 @@ Description
42
42
  This package provides an API for the `MaxMind minFraud Score, Insights, and
43
43
  Factors web services <https://dev.maxmind.com/minfraud/>`_ as well as the
44
44
  `Report Transaction web service
45
- <https://dev.maxmind.com/minfraud/report-a-transaction?lang=en>`_.
45
+ <https://dev.maxmind.com/minfraud/report-a-transaction/?lang=en>`_.
46
46
 
47
47
  Installation
48
48
  ------------
@@ -64,7 +64,7 @@ Documentation
64
64
  -------------
65
65
 
66
66
  Complete API documentation is available on `Read the Docs
67
- <https://minfraud.readthedocs.io/>`_.
67
+ <https://minfraud.readthedocs.io/en/latest/>`_.
68
68
 
69
69
  Usage
70
70
  -----
@@ -113,7 +113,7 @@ The Score web service is called with the ``score()`` method:
113
113
  Each of these methods takes a dictionary representing the transaction to be sent
114
114
  to the web service. The structure of this dictionary should be in `the format
115
115
  specified in the REST API documentation
116
- <https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`__.
116
+ <https://dev.maxmind.com/minfraud/api-documentation/requests/?lang=en>`__.
117
117
  All fields are optional.
118
118
 
119
119
  Report Transactions Usage
@@ -131,7 +131,7 @@ Report Transaction web service is called with the ``report()`` method:
131
131
  The method takes a dictionary representing the report to be sent to the web
132
132
  service. The structure of this dictionary should be in `the format specified
133
133
  in the REST API documentation
134
- <https://dev.maxmind.com/minfraud/report-a-transaction?lang=en>`__. The
134
+ <https://dev.maxmind.com/minfraud/report-a-transaction/?lang=en>`__. The
135
135
  required fields are ``tag`` and one or more of the following: ``ip_address``,
136
136
  ``maxmind_id``, ``minfraud_id``, ``transaction_id``.
137
137
 
@@ -168,7 +168,7 @@ The possible errors are:
168
168
  Additionally, ``score``, ``insights`` and ``factors`` may also raise:
169
169
 
170
170
  * ``minfraud.InsufficientFundsError`` - This will be raised when `your
171
- account <https://www.maxmind.com/en/account>`_ is out of funds.
171
+ account <https://www.maxmind.com/en/accounts/current/people/current>`_ is out of funds.
172
172
 
173
173
  Examples
174
174
  --------
@@ -187,6 +187,7 @@ Score, Insights and Factors Example
187
187
  >>> 'accept_language': 'en-US,en;q=0.8',
188
188
  >>> 'session_age': 3600,
189
189
  >>> 'session_id': 'a333a4e127f880d8820e56a66f40717c',
190
+ >>> 'tracking_token': '...',
190
191
  >>> 'user_agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.89 Safari/537.36'
191
192
  >>> },
192
193
  >>> 'event': {
@@ -194,7 +195,7 @@ Score, Insights and Factors Example
194
195
  >>> 'shop_id': 's2123',
195
196
  >>> 'type': 'purchase',
196
197
  >>> 'transaction_id': 'txn3134133',
197
- >>> 'time': '2014-04-12T23:20:50.052+00:00'
198
+ >>> 'time': '2026-10-05T23:20:50.052+00:00'
198
199
  >>> },
199
200
  >>> 'account': {
200
201
  >>> 'user_id': '3132',
@@ -202,7 +203,9 @@ Score, Insights and Factors Example
202
203
  >>> },
203
204
  >>> 'email': {
204
205
  >>> 'address': '977577b140bfb7c516e4746204fbdb01',
205
- >>> 'domain': 'maxmind.com'
206
+ >>> 'domain': 'maxmind.com',
207
+ >>> 'verification_time': '2026-10-01T14:25:00Z',
208
+ >>> 'was_verification_successful': True,
206
209
  >>> },
207
210
  >>> 'billing': {
208
211
  >>> 'first_name': 'Jane',
@@ -216,6 +219,9 @@ Score, Insights and Factors Example
216
219
  >>> 'postal': '06510',
217
220
  >>> 'phone_country_code': '1',
218
221
  >>> 'phone_number': '123-456-7890',
222
+ >>> 'phone_verification_method': 'delivered_code',
223
+ >>> 'phone_verification_time': '2026-10-01T14:30:00Z',
224
+ >>> 'phone_was_verification_successful': True,
219
225
  >>> },
220
226
  >>> 'shipping': {
221
227
  >>> 'first_name': 'John',
@@ -229,6 +235,9 @@ Score, Insights and Factors Example
229
235
  >>> 'postal': '06510',
230
236
  >>> 'phone_country_code': '1',
231
237
  >>> 'phone_number': '123-456-0000',
238
+ >>> 'phone_verification_method': 'network',
239
+ >>> 'phone_verification_time': '2026-10-01T14:35:00Z',
240
+ >>> 'phone_was_verification_successful': False,
232
241
  >>> 'delivery_speed': 'same_day',
233
242
  >>> },
234
243
  >>> 'credit_card': {
@@ -239,6 +248,7 @@ Score, Insights and Factors Example
239
248
  >>> 'cvv_result': 'N',
240
249
  >>> 'bank_name': 'Bank of No Hope',
241
250
  >>> 'issuer_id_number': '411111',
251
+ >>> 'token': '123456abc1234',
242
252
  >>> 'was_3d_secure_successful': True
243
253
  >>> },
244
254
  >>> 'payment': {
@@ -264,7 +274,9 @@ Score, Insights and Factors Example
264
274
  >>> 'subaffiliate_id': 'saf42',
265
275
  >>> 'discount_code': 'FIRST',
266
276
  >>> 'currency': 'USD',
267
- >>> 'amount': 323.21
277
+ >>> 'amount': 323.21,
278
+ >>> 'is_gift': True,
279
+ >>> 'has_gift_message': True
268
280
  >>> },
269
281
  >>> 'custom_inputs': {
270
282
  >>> 'section': 'news',
@@ -340,11 +352,6 @@ For asynchronous reporting:
340
352
  >>>
341
353
  >>> asyncio.run(report())
342
354
 
343
- Requirements
344
- ------------
345
-
346
- Python 3.9 or greater is required. Older versions are not supported.
347
-
348
355
  Versioning
349
356
  ----------
350
357
 
@@ -357,12 +364,12 @@ Please report all issues with this code using the `GitHub issue tracker
357
364
  <https://github.com/maxmind/minfraud-api-python/issues>`_.
358
365
 
359
366
  If you are having an issue with a MaxMind service that is not specific to the
360
- client API, please contact `MaxMind support <https://www.maxmind.com/en/support>`_
367
+ client API, please contact `MaxMind support <https://support.maxmind.com/knowledge-base>`_
361
368
  for assistance.
362
369
 
363
370
  Copyright and License
364
371
  ---------------------
365
372
 
366
- This software is Copyright © 2015-2025 by MaxMind, Inc.
373
+ This software is Copyright © 2015-2026 by MaxMind, Inc.
367
374
 
368
375
  This is free software, licensed under the Apache License, Version 2.0.
@@ -8,7 +8,7 @@ Description
8
8
  This package provides an API for the `MaxMind minFraud Score, Insights, and
9
9
  Factors web services <https://dev.maxmind.com/minfraud/>`_ as well as the
10
10
  `Report Transaction web service
11
- <https://dev.maxmind.com/minfraud/report-a-transaction?lang=en>`_.
11
+ <https://dev.maxmind.com/minfraud/report-a-transaction/?lang=en>`_.
12
12
 
13
13
  Installation
14
14
  ------------
@@ -30,7 +30,7 @@ Documentation
30
30
  -------------
31
31
 
32
32
  Complete API documentation is available on `Read the Docs
33
- <https://minfraud.readthedocs.io/>`_.
33
+ <https://minfraud.readthedocs.io/en/latest/>`_.
34
34
 
35
35
  Usage
36
36
  -----
@@ -79,7 +79,7 @@ The Score web service is called with the ``score()`` method:
79
79
  Each of these methods takes a dictionary representing the transaction to be sent
80
80
  to the web service. The structure of this dictionary should be in `the format
81
81
  specified in the REST API documentation
82
- <https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en>`__.
82
+ <https://dev.maxmind.com/minfraud/api-documentation/requests/?lang=en>`__.
83
83
  All fields are optional.
84
84
 
85
85
  Report Transactions Usage
@@ -97,7 +97,7 @@ Report Transaction web service is called with the ``report()`` method:
97
97
  The method takes a dictionary representing the report to be sent to the web
98
98
  service. The structure of this dictionary should be in `the format specified
99
99
  in the REST API documentation
100
- <https://dev.maxmind.com/minfraud/report-a-transaction?lang=en>`__. The
100
+ <https://dev.maxmind.com/minfraud/report-a-transaction/?lang=en>`__. The
101
101
  required fields are ``tag`` and one or more of the following: ``ip_address``,
102
102
  ``maxmind_id``, ``minfraud_id``, ``transaction_id``.
103
103
 
@@ -134,7 +134,7 @@ The possible errors are:
134
134
  Additionally, ``score``, ``insights`` and ``factors`` may also raise:
135
135
 
136
136
  * ``minfraud.InsufficientFundsError`` - This will be raised when `your
137
- account <https://www.maxmind.com/en/account>`_ is out of funds.
137
+ account <https://www.maxmind.com/en/accounts/current/people/current>`_ is out of funds.
138
138
 
139
139
  Examples
140
140
  --------
@@ -153,6 +153,7 @@ Score, Insights and Factors Example
153
153
  >>> 'accept_language': 'en-US,en;q=0.8',
154
154
  >>> 'session_age': 3600,
155
155
  >>> 'session_id': 'a333a4e127f880d8820e56a66f40717c',
156
+ >>> 'tracking_token': '...',
156
157
  >>> 'user_agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.89 Safari/537.36'
157
158
  >>> },
158
159
  >>> 'event': {
@@ -160,7 +161,7 @@ Score, Insights and Factors Example
160
161
  >>> 'shop_id': 's2123',
161
162
  >>> 'type': 'purchase',
162
163
  >>> 'transaction_id': 'txn3134133',
163
- >>> 'time': '2014-04-12T23:20:50.052+00:00'
164
+ >>> 'time': '2026-10-05T23:20:50.052+00:00'
164
165
  >>> },
165
166
  >>> 'account': {
166
167
  >>> 'user_id': '3132',
@@ -168,7 +169,9 @@ Score, Insights and Factors Example
168
169
  >>> },
169
170
  >>> 'email': {
170
171
  >>> 'address': '977577b140bfb7c516e4746204fbdb01',
171
- >>> 'domain': 'maxmind.com'
172
+ >>> 'domain': 'maxmind.com',
173
+ >>> 'verification_time': '2026-10-01T14:25:00Z',
174
+ >>> 'was_verification_successful': True,
172
175
  >>> },
173
176
  >>> 'billing': {
174
177
  >>> 'first_name': 'Jane',
@@ -182,6 +185,9 @@ Score, Insights and Factors Example
182
185
  >>> 'postal': '06510',
183
186
  >>> 'phone_country_code': '1',
184
187
  >>> 'phone_number': '123-456-7890',
188
+ >>> 'phone_verification_method': 'delivered_code',
189
+ >>> 'phone_verification_time': '2026-10-01T14:30:00Z',
190
+ >>> 'phone_was_verification_successful': True,
185
191
  >>> },
186
192
  >>> 'shipping': {
187
193
  >>> 'first_name': 'John',
@@ -195,6 +201,9 @@ Score, Insights and Factors Example
195
201
  >>> 'postal': '06510',
196
202
  >>> 'phone_country_code': '1',
197
203
  >>> 'phone_number': '123-456-0000',
204
+ >>> 'phone_verification_method': 'network',
205
+ >>> 'phone_verification_time': '2026-10-01T14:35:00Z',
206
+ >>> 'phone_was_verification_successful': False,
198
207
  >>> 'delivery_speed': 'same_day',
199
208
  >>> },
200
209
  >>> 'credit_card': {
@@ -205,6 +214,7 @@ Score, Insights and Factors Example
205
214
  >>> 'cvv_result': 'N',
206
215
  >>> 'bank_name': 'Bank of No Hope',
207
216
  >>> 'issuer_id_number': '411111',
217
+ >>> 'token': '123456abc1234',
208
218
  >>> 'was_3d_secure_successful': True
209
219
  >>> },
210
220
  >>> 'payment': {
@@ -230,7 +240,9 @@ Score, Insights and Factors Example
230
240
  >>> 'subaffiliate_id': 'saf42',
231
241
  >>> 'discount_code': 'FIRST',
232
242
  >>> 'currency': 'USD',
233
- >>> 'amount': 323.21
243
+ >>> 'amount': 323.21,
244
+ >>> 'is_gift': True,
245
+ >>> 'has_gift_message': True
234
246
  >>> },
235
247
  >>> 'custom_inputs': {
236
248
  >>> 'section': 'news',
@@ -306,11 +318,6 @@ For asynchronous reporting:
306
318
  >>>
307
319
  >>> asyncio.run(report())
308
320
 
309
- Requirements
310
- ------------
311
-
312
- Python 3.9 or greater is required. Older versions are not supported.
313
-
314
321
  Versioning
315
322
  ----------
316
323
 
@@ -323,12 +330,12 @@ Please report all issues with this code using the `GitHub issue tracker
323
330
  <https://github.com/maxmind/minfraud-api-python/issues>`_.
324
331
 
325
332
  If you are having an issue with a MaxMind service that is not specific to the
326
- client API, please contact `MaxMind support <https://www.maxmind.com/en/support>`_
333
+ client API, please contact `MaxMind support <https://support.maxmind.com/knowledge-base>`_
327
334
  for assistance.
328
335
 
329
336
  Copyright and License
330
337
  ---------------------
331
338
 
332
- This software is Copyright © 2015-2025 by MaxMind, Inc.
339
+ This software is Copyright © 2015-2026 by MaxMind, Inc.
333
340
 
334
341
  This is free software, licensed under the Apache License, Version 2.0.
@@ -0,0 +1,148 @@
1
+ [project]
2
+ name = "minfraud"
3
+ version = "3.4.0"
4
+ description = "MaxMind minFraud API"
5
+ dependencies = [
6
+ "aiohttp>=3.14.0,<4.0.0",
7
+ "email_validator>=2.0.0,<3.0.0",
8
+ "geoip2>=5.4.0,<6.0.0",
9
+ "requests>=2.24.0,<3.0.0",
10
+ "typing-extensions>=4.13.2",
11
+ "voluptuous",
12
+ ]
13
+ requires-python = ">=3.10"
14
+ readme = "README.rst"
15
+ license = "Apache-2.0"
16
+ license-files = ["LICENSE"]
17
+ classifiers = [
18
+ "Development Status :: 5 - Production/Stable",
19
+ "Environment :: Web Environment",
20
+ "Intended Audience :: Developers",
21
+ "Programming Language :: Python",
22
+ "Programming Language :: Python :: 3",
23
+ "Programming Language :: Python :: 3.10",
24
+ "Programming Language :: Python :: 3.11",
25
+ "Programming Language :: Python :: 3.12",
26
+ "Programming Language :: Python :: 3.13",
27
+ "Programming Language :: Python :: 3.14",
28
+ "Topic :: Internet",
29
+ "Topic :: Internet :: Proxy Servers",
30
+ "Topic :: Internet :: WWW/HTTP",
31
+ ]
32
+
33
+ [[project.authors]]
34
+ name = "Gregory Oschwald"
35
+ email = "goschwald@maxmind.com"
36
+
37
+ [project.urls]
38
+ Homepage = "https://www.maxmind.com/en/home"
39
+ Documentation = "https://minfraud.readthedocs.io/en/latest/"
40
+ "Source Code" = "https://github.com/maxmind/minfraud-api-python"
41
+ "Issue Tracker" = "https://github.com/maxmind/minfraud-api-python/issues"
42
+
43
+ [dependency-groups]
44
+ dev = [
45
+ "pytest>=8.3.5",
46
+ "pytest-httpserver>=1.0.10",
47
+ "tox-uv-bare>=1.32.0",
48
+ ]
49
+ lint = [
50
+ "mypy>=1.15.0",
51
+ "ruff>=0.11.6",
52
+ ]
53
+
54
+ [build-system]
55
+ requires = ["uv_build>=0.10.0,<0.14.0"]
56
+ build-backend = "uv_build"
57
+
58
+ [tool.uv.build-backend]
59
+ source-include = [
60
+ "HISTORY.rst",
61
+ "README.rst",
62
+ "LICENSE",
63
+ "docs/html",
64
+ "examples/*.py",
65
+ "tests/*.py",
66
+ ]
67
+
68
+ [tool.ruff.lint]
69
+ select = ["ALL"]
70
+ ignore = [
71
+ "COM812",
72
+ "CPY001",
73
+ "D105",
74
+ "D203",
75
+ "D213",
76
+ "PLR2004",
77
+ "PT009",
78
+ "PT027",
79
+ ]
80
+
81
+ [tool.ruff.lint.flake8-builtins]
82
+ ignorelist = ["id"]
83
+
84
+ [tool.ruff.lint.per-file-ignores]
85
+ "docs/*" = ["ALL"]
86
+ "src/minfraud/models.py" = [
87
+ "PLR0913",
88
+ "PLR0917",
89
+ ]
90
+ "tests/*" = [
91
+ "ANN201",
92
+ "D",
93
+ ]
94
+
95
+ [tool.tox]
96
+ env_list = [
97
+ "3.10",
98
+ "3.11",
99
+ "3.12",
100
+ "3.13",
101
+ "3.14",
102
+ "lint",
103
+ ]
104
+ skip_missing_interpreters = false
105
+
106
+ [tool.tox.env_run_base]
107
+ runner = "uv-venv-lock-runner"
108
+ dependency_groups = ["dev"]
109
+ commands = [[
110
+ "pytest",
111
+ "tests",
112
+ ]]
113
+
114
+ [tool.tox.env.lint]
115
+ description = "Code linting"
116
+ python = "3.14"
117
+ dependency_groups = [
118
+ "dev",
119
+ "lint",
120
+ ]
121
+ commands = [
122
+ [
123
+ "mypy",
124
+ "src",
125
+ "tests",
126
+ ],
127
+ [
128
+ "ruff",
129
+ "check",
130
+ ],
131
+ [
132
+ "ruff",
133
+ "format",
134
+ "--check",
135
+ "--diff",
136
+ ".",
137
+ ],
138
+ ]
139
+
140
+ [tool.tox.gh.python]
141
+ "3.14" = [
142
+ "3.14",
143
+ "lint",
144
+ ]
145
+ "3.13" = ["3.13"]
146
+ "3.12" = ["3.12"]
147
+ "3.11" = ["3.11"]
148
+ "3.10" = ["3.10"]
@@ -1,14 +1,14 @@
1
1
  [project]
2
2
  name = "minfraud"
3
- version = "3.2.0"
3
+ version = "3.4.0"
4
4
  description = "MaxMind minFraud API"
5
5
  authors = [
6
6
  {name = "Gregory Oschwald", email = "goschwald@maxmind.com"},
7
7
  ]
8
8
  dependencies = [
9
- "aiohttp>=3.6.2,<4.0.0",
9
+ "aiohttp>=3.14.0,<4.0.0",
10
10
  "email_validator>=2.0.0,<3.0.0",
11
- "geoip2>=5.2.0,<6.0.0",
11
+ "geoip2>=5.4.0,<6.0.0",
12
12
  "requests>=2.24.0,<3.0.0",
13
13
  "typing-extensions>=4.13.2",
14
14
  "voluptuous",
@@ -37,22 +37,21 @@ classifiers = [
37
37
  dev = [
38
38
  "pytest>=8.3.5",
39
39
  "pytest-httpserver>=1.0.10",
40
- "tox-uv>=1.29.0",
40
+ "tox-uv-bare>=1.32.0",
41
41
  ]
42
42
  lint = [
43
43
  "mypy>=1.15.0",
44
44
  "ruff>=0.11.6",
45
- "types-requests>=2.32.0.20250328",
46
45
  ]
47
46
 
48
47
  [project.urls]
49
- Homepage = "https://www.maxmind.com/"
50
- Documentation = "https://minfraud.readthedocs.org/"
48
+ Homepage = "https://www.maxmind.com/en/home"
49
+ Documentation = "https://minfraud.readthedocs.io/en/latest/"
51
50
  "Source Code" = "https://github.com/maxmind/minfraud-api-python"
52
51
  "Issue Tracker" = "https://github.com/maxmind/minfraud-api-python/issues"
53
52
 
54
53
  [build-system]
55
- requires = ["uv_build>=0.7.19,<0.8.0"]
54
+ requires = ["uv_build>=0.10.0,<0.14.0"]
56
55
  build-backend = "uv_build"
57
56
 
58
57
  [tool.uv.build-backend]
@@ -71,6 +70,9 @@ ignore = [
71
70
  # Redundant as the formatter handles missing trailing commas.
72
71
  "COM812",
73
72
 
73
+ # We do not want a copyright header on every file.
74
+ "CPY001",
75
+
74
76
  # documenting magic methods
75
77
  "D105",
76
78
 
@@ -93,8 +95,7 @@ ignorelist = ["id"]
93
95
 
94
96
  [tool.ruff.lint.per-file-ignores]
95
97
  "docs/*" = ["ALL"]
96
- "src/minfraud/models.py" = ["ANN401", "PLR0913"]
97
- "src/minfraud/webservice.py" = ["ANN401"]
98
+ "src/minfraud/models.py" = ["PLR0913", "PLR0917"]
98
99
  "tests/*" = ["ANN201", "D"]
99
100
 
100
101
  [tool.tox]
@@ -109,6 +110,7 @@ env_list = [
109
110
  skip_missing_interpreters = false
110
111
 
111
112
  [tool.tox.env_run_base]
113
+ runner = "uv-venv-lock-runner"
112
114
  dependency_groups = [
113
115
  "dev",
114
116
  ]
@@ -10,5 +10,3 @@ from .errors import (
10
10
  )
11
11
  from .version import __version__
12
12
  from .webservice import AsyncClient, Client
13
-
14
- __author__ = "Gregory Oschwald"