42api 0.1.3__tar.gz → 0.1.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 (82) hide show
  1. 42api-0.1.4/.github/dependabot.yml +26 -0
  2. {42api-0.1.3 → 42api-0.1.4}/.github/workflows/ci.yml +3 -3
  3. {42api-0.1.3 → 42api-0.1.4}/.github/workflows/publish.yml +2 -2
  4. {42api-0.1.3 → 42api-0.1.4}/PKG-INFO +2 -3
  5. {42api-0.1.3 → 42api-0.1.4}/pyproject.toml +3 -4
  6. 42api-0.1.4/uv.lock +843 -0
  7. 42api-0.1.3/uv.lock +0 -935
  8. {42api-0.1.3 → 42api-0.1.4}/.gitignore +0 -0
  9. {42api-0.1.3 → 42api-0.1.4}/.pre-commit-config.yaml +0 -0
  10. {42api-0.1.3 → 42api-0.1.4}/LICENSE +0 -0
  11. {42api-0.1.3 → 42api-0.1.4}/README.md +0 -0
  12. {42api-0.1.3 → 42api-0.1.4}/scripts/unasync_generate.py +0 -0
  13. {42api-0.1.3 → 42api-0.1.4}/src/intra42/__init__.py +0 -0
  14. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/__init__.py +0 -0
  15. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/client.py +0 -0
  16. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/query.py +0 -0
  17. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/__init__.py +0 -0
  18. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/accreditations.py +0 -0
  19. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/base.py +0 -0
  20. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/campus_users.py +0 -0
  21. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/campuses.py +0 -0
  22. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/cursus.py +0 -0
  23. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/events.py +0 -0
  24. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/exams.py +0 -0
  25. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/locations.py +0 -0
  26. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/projects.py +0 -0
  27. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/projects_users.py +0 -0
  28. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/users.py +0 -0
  29. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_auth.py +0 -0
  30. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_config.py +0 -0
  31. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_pagination.py +0 -0
  32. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_query_params.py +0 -0
  33. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_rate_limit.py +0 -0
  34. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/__init__.py +0 -0
  35. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/client.py +0 -0
  36. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/query.py +0 -0
  37. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/__init__.py +0 -0
  38. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/accreditations.py +0 -0
  39. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/base.py +0 -0
  40. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/campus_users.py +0 -0
  41. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/campuses.py +0 -0
  42. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/cursus.py +0 -0
  43. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/events.py +0 -0
  44. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/exams.py +0 -0
  45. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/locations.py +0 -0
  46. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/projects.py +0 -0
  47. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/projects_users.py +0 -0
  48. {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/users.py +0 -0
  49. {42api-0.1.3 → 42api-0.1.4}/src/intra42/exceptions.py +0 -0
  50. {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/__init__.py +0 -0
  51. {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/accreditation.py +0 -0
  52. {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/base.py +0 -0
  53. {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/campus.py +0 -0
  54. {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/campus_user.py +0 -0
  55. {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/cursus.py +0 -0
  56. {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/event.py +0 -0
  57. {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/exam.py +0 -0
  58. {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/location.py +0 -0
  59. {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/project.py +0 -0
  60. {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/project_user.py +0 -0
  61. {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/user.py +0 -0
  62. {42api-0.1.3 → 42api-0.1.4}/src/intra42/py.typed +0 -0
  63. {42api-0.1.3 → 42api-0.1.4}/tests/conftest.py +0 -0
  64. {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_accreditations.py +0 -0
  65. {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_campus_users.py +0 -0
  66. {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_campuses.py +0 -0
  67. {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_cursus.py +0 -0
  68. {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_events.py +0 -0
  69. {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_exams.py +0 -0
  70. {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_locations.py +0 -0
  71. {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_projects.py +0 -0
  72. {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_projects_users.py +0 -0
  73. {42api-0.1.3 → 42api-0.1.4}/tests/integration/test_client_integration.py +0 -0
  74. {42api-0.1.3 → 42api-0.1.4}/tests/integration/test_nested_access.py +0 -0
  75. {42api-0.1.3 → 42api-0.1.4}/tests/integration/test_pagination_walk.py +0 -0
  76. {42api-0.1.3 → 42api-0.1.4}/tests/unit/test_auth.py +0 -0
  77. {42api-0.1.3 → 42api-0.1.4}/tests/unit/test_models_campus.py +0 -0
  78. {42api-0.1.3 → 42api-0.1.4}/tests/unit/test_models_user.py +0 -0
  79. {42api-0.1.3 → 42api-0.1.4}/tests/unit/test_pagination.py +0 -0
  80. {42api-0.1.3 → 42api-0.1.4}/tests/unit/test_public_api.py +0 -0
  81. {42api-0.1.3 → 42api-0.1.4}/tests/unit/test_query_builder.py +0 -0
  82. {42api-0.1.3 → 42api-0.1.4}/tests/unit/test_rate_limit.py +0 -0
@@ -0,0 +1,26 @@
1
+ version: 2
2
+
3
+ updates:
4
+ # Python dependencies, resolved via uv.lock.
5
+ - package-ecosystem: "uv"
6
+ directory: "/"
7
+ schedule:
8
+ interval: "weekly"
9
+ open-pull-requests-limit: 10
10
+ labels:
11
+ - "dependencies"
12
+ commit-message:
13
+ prefix: "deps"
14
+
15
+ # Keep the CI/publish workflows' pinned actions
16
+ # patched too, action versions get security
17
+ # advisories same as any other dependency.
18
+ - package-ecosystem: "github-actions"
19
+ directory: "/"
20
+ schedule:
21
+ interval: "weekly"
22
+ labels:
23
+ - "dependencies"
24
+ - "ci"
25
+ commit-message:
26
+ prefix: "ci"
@@ -10,12 +10,12 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
  strategy:
12
12
  matrix:
13
- python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
13
+ python-version: ["3.11", "3.12", "3.13", "3.14"]
14
14
  steps:
15
- - uses: actions/checkout@v4
15
+ - uses: actions/checkout@v7
16
16
 
17
17
  - name: Install uv
18
- uses: astral-sh/setup-uv@v3
18
+ uses: astral-sh/setup-uv@v7
19
19
  with:
20
20
  version: "latest"
21
21
 
@@ -16,10 +16,10 @@ jobs:
16
16
  name: pypi
17
17
  url: https://pypi.org/project/42api/
18
18
  steps:
19
- - uses: actions/checkout@v4
19
+ - uses: actions/checkout@v7
20
20
 
21
21
  - name: Install uv
22
- uses: astral-sh/setup-uv@v3
22
+ uses: astral-sh/setup-uv@v7
23
23
  with:
24
24
  version: "latest"
25
25
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: 42api
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Summary: Object-oriented Python client for the 42 School API (api.intra.42.fr)
5
5
  Project-URL: Homepage, https://github.com/Shadowaker/42api
6
6
  Author-email: Dan <danyridolfo98@gmail.com>
@@ -13,13 +13,12 @@ Classifier: Intended Audience :: Developers
13
13
  Classifier: License :: OSI Approved :: MIT License
14
14
  Classifier: Operating System :: OS Independent
15
15
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.10
17
16
  Classifier: Programming Language :: Python :: 3.11
18
17
  Classifier: Programming Language :: Python :: 3.12
19
18
  Classifier: Programming Language :: Python :: 3.13
20
19
  Classifier: Programming Language :: Python :: 3.14
21
20
  Classifier: Typing :: Typed
22
- Requires-Python: >=3.10
21
+ Requires-Python: >=3.11
23
22
  Requires-Dist: httpx>=0.27
24
23
  Requires-Dist: pydantic>=2.0
25
24
  Description-Content-Type: text/markdown
@@ -1,10 +1,10 @@
1
1
  [project]
2
2
  name = "42api"
3
- version = "0.1.3"
3
+ version = "0.1.4"
4
4
  description = "Object-oriented Python client for the 42 School API (api.intra.42.fr)"
5
5
  readme = "README.md"
6
6
  license = { text = "MIT" }
7
- requires-python = ">=3.10"
7
+ requires-python = ">=3.11"
8
8
  authors = [{ name = "Dan", email = "danyridolfo98@gmail.com" }]
9
9
  dependencies = ["httpx>=0.27", "pydantic>=2.0"]
10
10
 
@@ -14,7 +14,6 @@ classifiers = [
14
14
  "License :: OSI Approved :: MIT License",
15
15
  "Operating System :: OS Independent",
16
16
  "Programming Language :: Python :: 3",
17
- "Programming Language :: Python :: 3.10",
18
17
  "Programming Language :: Python :: 3.11",
19
18
  "Programming Language :: Python :: 3.12",
20
19
  "Programming Language :: Python :: 3.13",
@@ -57,7 +56,7 @@ target-version = "py310"
57
56
  select = ["E", "F", "I", "UP", "B"]
58
57
 
59
58
  [tool.mypy]
60
- python_version = "3.10"
59
+ python_version = "3.11"
61
60
  packages = ["intra42"]
62
61
  mypy_path = "src"
63
62
  disallow_untyped_defs = true