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.
- 42api-0.1.4/.github/dependabot.yml +26 -0
- {42api-0.1.3 → 42api-0.1.4}/.github/workflows/ci.yml +3 -3
- {42api-0.1.3 → 42api-0.1.4}/.github/workflows/publish.yml +2 -2
- {42api-0.1.3 → 42api-0.1.4}/PKG-INFO +2 -3
- {42api-0.1.3 → 42api-0.1.4}/pyproject.toml +3 -4
- 42api-0.1.4/uv.lock +843 -0
- 42api-0.1.3/uv.lock +0 -935
- {42api-0.1.3 → 42api-0.1.4}/.gitignore +0 -0
- {42api-0.1.3 → 42api-0.1.4}/.pre-commit-config.yaml +0 -0
- {42api-0.1.3 → 42api-0.1.4}/LICENSE +0 -0
- {42api-0.1.3 → 42api-0.1.4}/README.md +0 -0
- {42api-0.1.3 → 42api-0.1.4}/scripts/unasync_generate.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/__init__.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/__init__.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/client.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/query.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/__init__.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/accreditations.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/base.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/campus_users.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/campuses.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/cursus.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/events.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/exams.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/locations.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/projects.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/projects_users.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_async/resources/users.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_auth.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_config.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_pagination.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_query_params.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_rate_limit.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/__init__.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/client.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/query.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/__init__.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/accreditations.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/base.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/campus_users.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/campuses.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/cursus.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/events.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/exams.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/locations.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/projects.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/projects_users.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/_sync/resources/users.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/exceptions.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/__init__.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/accreditation.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/base.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/campus.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/campus_user.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/cursus.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/event.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/exam.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/location.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/project.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/project_user.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/models/user.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/src/intra42/py.typed +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/conftest.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_accreditations.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_campus_users.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_campuses.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_cursus.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_events.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_exams.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_locations.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_projects.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/integration/resources/test_resources_projects_users.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/integration/test_client_integration.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/integration/test_nested_access.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/integration/test_pagination_walk.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/unit/test_auth.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/unit/test_models_campus.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/unit/test_models_user.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/unit/test_pagination.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/unit/test_public_api.py +0 -0
- {42api-0.1.3 → 42api-0.1.4}/tests/unit/test_query_builder.py +0 -0
- {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.
|
|
13
|
+
python-version: ["3.11", "3.12", "3.13", "3.14"]
|
|
14
14
|
steps:
|
|
15
|
-
- uses: actions/checkout@
|
|
15
|
+
- uses: actions/checkout@v7
|
|
16
16
|
|
|
17
17
|
- name: Install uv
|
|
18
|
-
uses: astral-sh/setup-uv@
|
|
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@
|
|
19
|
+
- uses: actions/checkout@v7
|
|
20
20
|
|
|
21
21
|
- name: Install uv
|
|
22
|
-
uses: astral-sh/setup-uv@
|
|
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
|
+
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.
|
|
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
|
+
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.
|
|
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.
|
|
59
|
+
python_version = "3.11"
|
|
61
60
|
packages = ["intra42"]
|
|
62
61
|
mypy_path = "src"
|
|
63
62
|
disallow_untyped_defs = true
|