python-open-router 0.4.0__tar.gz → 0.4.1__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.
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright (c) 2025 Joost Lekkerkerker
3
+ Copyright (c) 2025-2026 Joost Lekkerkerker
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python_open_router
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Asynchronous Python client for Open Router.
5
5
  License: MIT
6
6
  License-File: LICENSE.md
@@ -121,7 +121,7 @@ check [the contributor's page][contributors].
121
121
 
122
122
  MIT License
123
123
 
124
- Copyright (c) 2025 Joost Lekkerkerker
124
+ Copyright (c) 2025-2026 Joost Lekkerkerker
125
125
 
126
126
  Permission is hereby granted, free of charge, to any person obtaining a copy
127
127
  of this software and associated documentation files (the "Software"), to deal
@@ -151,7 +151,7 @@ SOFTWARE.
151
151
  [joostlek]: https://github.com/joostlek
152
152
  [keepchangelog]: http://keepachangelog.com/en/1.0.0/
153
153
  [license-shield]: https://img.shields.io/github/license/joostlek/python-open-router.svg
154
- [maintenance-shield]: https://img.shields.io/maintenance/yes/2025.svg
154
+ [maintenance-shield]: https://img.shields.io/maintenance/yes/2026.svg
155
155
  [poetry-install]: https://python-poetry.org/docs/#installation
156
156
  [poetry]: https://python-poetry.org
157
157
  [pre-commit]: https://pre-commit.com/
@@ -88,7 +88,7 @@ check [the contributor's page][contributors].
88
88
 
89
89
  MIT License
90
90
 
91
- Copyright (c) 2025 Joost Lekkerkerker
91
+ Copyright (c) 2025-2026 Joost Lekkerkerker
92
92
 
93
93
  Permission is hereby granted, free of charge, to any person obtaining a copy
94
94
  of this software and associated documentation files (the "Software"), to deal
@@ -118,7 +118,7 @@ SOFTWARE.
118
118
  [joostlek]: https://github.com/joostlek
119
119
  [keepchangelog]: http://keepachangelog.com/en/1.0.0/
120
120
  [license-shield]: https://img.shields.io/github/license/joostlek/python-open-router.svg
121
- [maintenance-shield]: https://img.shields.io/maintenance/yes/2025.svg
121
+ [maintenance-shield]: https://img.shields.io/maintenance/yes/2026.svg
122
122
  [poetry-install]: https://python-poetry.org/docs/#installation
123
123
  [poetry]: https://python-poetry.org
124
124
  [pre-commit]: https://pre-commit.com/
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "python_open_router"
3
- version = "0.4.0"
3
+ version = "0.4.1"
4
4
  description = "Asynchronous Python client for Open Router."
5
5
  authors = ["Joost Lekkerkerker <joostlek@outlook.com>"]
6
6
  maintainers = ["Joost Lekkerkerker <joostlek@outlook.com>"]
@@ -32,21 +32,21 @@ mashumaro = "^3.11"
32
32
  orjson = ">=3.9.0"
33
33
 
34
34
  [tool.poetry.group.dev.dependencies]
35
- codespell = "2.4.2"
35
+ codespell = "2.4.3"
36
36
  covdefaults = "2.3.0"
37
- coverage = {version = "7.15.0", extras = ["toml"]}
38
- mypy = "2.2.0"
39
- pre-commit = "4.6.0"
37
+ coverage = {version = "7.16.1", extras = ["toml"]}
38
+ mypy = "2.3.1"
39
+ pre-commit = "4.6.2"
40
40
  pre-commit-hooks = "6.0.0"
41
- pylint = "4.0.6"
41
+ pylint = "4.0.8"
42
42
  pytest = "9.1.1"
43
43
  pytest-asyncio = "1.4.0"
44
44
  pytest-cov = "7.1.0"
45
- ruff = "0.15.21"
45
+ ruff = "0.16.8"
46
46
  safety = "3.8.1"
47
47
  yamllint = "1.38.0"
48
- syrupy = "5.5.2"
49
- aioresponses = "0.7.9"
48
+ syrupy = "6.1.1"
49
+ aiointercept = "0.1.10"
50
50
 
51
51
  [tool.poetry.urls]
52
52
  "Bug Tracker" = "https://github.com/joostlek/python-open-router/issues"
@@ -137,12 +137,14 @@ asyncio_mode = "auto"
137
137
  ignore = [
138
138
  "ANN401", # Opinioated warning on disallowing dynamically typed expressions
139
139
  "COM812", # Conflicts with other rules
140
+ "CPY001", # No copyright notices used in this project
140
141
  "D203", # Conflicts with other rules
141
142
  "D213", # Conflicts with other rules
142
143
  "D417", # False positives in some occasions
143
144
  "ISC001", # Conflicts with other rules
144
145
  "PLR0912", # Too many branches - legitimate for API client methods
145
146
  "PLR0913", # Too many arguments - legitimate for API client methods
147
+ "PLR0917", # Too many positional arguments - legitimate for API client methods
146
148
  "PLR2004", # Just annoying, not really useful
147
149
  ]
148
150
  select = ["ALL"]
@@ -128,6 +128,7 @@ class SupportedParameter(StrEnum):
128
128
  SEED = "seed"
129
129
  RESPONSE_FORMAT = "response_format"
130
130
  STRUCTURED_OUTPUTS = "structured_outputs"
131
+ PREDICTION = "prediction"
131
132
  TOOLS = "tools"
132
133
  TOOL_CHOICE = "tool_choice"
133
134
  PARALLEL_TOOL_CALLS = "parallel_tool_calls"