anime-sama-cli-api 0.4.1__tar.gz → 0.4.1.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.
Files changed (45) hide show
  1. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/.github/workflows/ci.yaml +10 -6
  2. anime_sama_cli_api-0.4.1.1/.github/workflows/release.yaml +87 -0
  3. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/PKG-INFO +1 -1
  4. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/pyproject.toml +1 -1
  5. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/uv.lock +1 -1
  6. anime_sama_cli_api-0.4.1/.github/workflows/release.yaml +0 -34
  7. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/.gitignore +0 -0
  8. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/.python-version +0 -0
  9. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/LICENSE +0 -0
  10. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/README.md +0 -0
  11. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/TODO.md +0 -0
  12. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/Tree.md +0 -0
  13. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/__init__.py +0 -0
  14. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/catalogue.py +0 -0
  15. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/cli/__main__.py +0 -0
  16. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/cli/config.py +0 -0
  17. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/cli/config.toml +0 -0
  18. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/cli/downloader.py +0 -0
  19. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/cli/error_handling.py +0 -0
  20. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/cli/internal_player.py +0 -0
  21. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/cli/play_menu.py +0 -0
  22. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/cli/utils.py +0 -0
  23. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/episode.py +0 -0
  24. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/langs.py +0 -0
  25. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/link_resolver.py +0 -0
  26. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/season.py +0 -0
  27. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/top_level.py +0 -0
  28. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/anime_sama_api/utils.py +0 -0
  29. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/examples/new_episodes_rss.py +0 -0
  30. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/examples/run_cli_(for_debugging).py +0 -0
  31. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/examples/scan_catalogue.py +0 -0
  32. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/tests/__init__.py +0 -0
  33. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/tests/data/catalogue_data.py +0 -0
  34. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/tests/data/episode_data.py +0 -0
  35. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/tests/data/season_data.py +0 -0
  36. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/tests/data/update_episode_data.py +0 -0
  37. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/tests/test_api_portage.py +0 -0
  38. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/tests/test_catalogue.py +0 -0
  39. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/tests/test_cli_utils.py +0 -0
  40. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/tests/test_download.py +0 -0
  41. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/tests/test_link_resolver_portage.py +0 -0
  42. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/tests/test_module_consolidation.py +0 -0
  43. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/tests/test_seasons.py +0 -0
  44. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/tests/test_top_level.py +0 -0
  45. {anime_sama_cli_api-0.4.1 → anime_sama_cli_api-0.4.1.1}/tests/test_utils.py +0 -0
@@ -4,8 +4,14 @@ on:
4
4
  push:
5
5
  pull_request:
6
6
 
7
+ permissions:
8
+ contents: read
9
+
7
10
  jobs:
8
11
  run-tests:
12
+ name: Python ${{ matrix.python-version }} / ${{ matrix.os }}
13
+ runs-on: ${{ matrix.os }}
14
+
9
15
  strategy:
10
16
  fail-fast: false
11
17
  matrix:
@@ -16,12 +22,7 @@ jobs:
16
22
  - "3.13"
17
23
  - "3.14"
18
24
  - "3.15"
19
-
20
- pypi-publish:
21
- needs: run-tests
22
25
 
23
- name: Test
24
- runs-on: ${{ matrix.os }}
25
26
  steps:
26
27
  - name: Checkout
27
28
  uses: actions/checkout@v4
@@ -34,6 +35,9 @@ jobs:
34
35
  enable-cache: true
35
36
  cache-dependency-glob: "uv.lock"
36
37
 
38
+ - name: Install Python
39
+ run: uv python install
40
+
37
41
  - name: Install the project
38
42
  run: uv sync --all-extras --dev
39
43
 
@@ -41,4 +45,4 @@ jobs:
41
45
  run: uv run pytest tests
42
46
 
43
47
  - name: Minimize uv cache
44
- run: uv cache prune --ci
48
+ run: uv cache prune --ci
@@ -0,0 +1,87 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ concurrency:
13
+ group: release-${{ github.ref }}
14
+ cancel-in-progress: false
15
+
16
+ jobs:
17
+ run-tests:
18
+ name: Python ${{ matrix.python-version }} / ${{ matrix.os }}
19
+ runs-on: ${{ matrix.os }}
20
+
21
+ strategy:
22
+ fail-fast: false
23
+ matrix:
24
+ os: [ubuntu-latest, windows-latest]
25
+ python-version:
26
+ - "3.11"
27
+ - "3.12"
28
+ - "3.13"
29
+ - "3.14"
30
+ - "3.15"
31
+
32
+ steps:
33
+ - name: Checkout
34
+ uses: actions/checkout@v4
35
+
36
+ - name: Install uv
37
+ uses: astral-sh/setup-uv@v5
38
+ with:
39
+ version: "0.13.3"
40
+ python-version: ${{ matrix.python-version }}
41
+ enable-cache: true
42
+ cache-dependency-glob: "uv.lock"
43
+
44
+ - name: Install Python
45
+ run: uv python install
46
+
47
+ - name: Install the project
48
+ run: uv sync --all-extras --dev
49
+
50
+ - name: Run tests
51
+ run: uv run pytest tests
52
+
53
+ - name: Minimize uv cache
54
+ run: uv cache prune --ci
55
+
56
+ pypi-publish:
57
+ name: Upload release to PyPI
58
+ needs: run-tests
59
+ if: github.ref == 'refs/heads/main'
60
+ runs-on: ubuntu-latest
61
+
62
+ environment:
63
+ name: pypi
64
+ url: https://pypi.org/p/anime-sama_cli_api
65
+
66
+ permissions:
67
+ contents: read
68
+ id-token: write
69
+
70
+ steps:
71
+ - name: Checkout
72
+ uses: actions/checkout@v4
73
+
74
+ - name: Install uv
75
+ uses: astral-sh/setup-uv@v5
76
+ with:
77
+ version: "0.13.3"
78
+ enable-cache: true
79
+
80
+ - name: Install Python
81
+ run: uv python install
82
+
83
+ - name: Build package
84
+ run: uv build
85
+
86
+ - name: Publish package distributions to PyPI
87
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: anime-sama_cli_api
3
- Version: 0.4.1
3
+ Version: 0.4.1.1
4
4
  Summary: Api for anime-sama
5
5
  Project-URL: Repository, https://github.com/Mathieux83/anime-sama_api
6
6
  Author-email: NiniKo <pcninik@gmail.com>, Mathieux83 <car.math@live.fr>
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
6
6
 
7
7
  [project]
8
8
  name = "anime-sama_cli_api"
9
- version = "0.4.1"
9
+ version = "0.4.1.1"
10
10
  description = "Api for anime-sama"
11
11
  authors = [
12
12
  {name = "NiniKo", email = "pcninik@gmail.com"},
@@ -9,7 +9,7 @@ resolution-markers = [
9
9
 
10
10
  [[package]]
11
11
  name = "anime-sama-cli-api"
12
- version = "0.4.1"
12
+ version = "0.4.1.1"
13
13
  source = { editable = "." }
14
14
  dependencies = [
15
15
  { name = "httpx" },
@@ -1,34 +0,0 @@
1
- name: Release
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
- workflow_dispatch:
8
-
9
- jobs:
10
- pypi-publish:
11
- name: Upload release to PyPI
12
- runs-on: ubuntu-latest
13
- environment:
14
- name: pypi
15
- url: https://pypi.org/p/anime-sama_cli_api
16
- permissions:
17
- id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
18
- steps:
19
- - name: Checkout
20
- uses: actions/checkout@v4
21
-
22
- - name: Install uv
23
- uses: astral-sh/setup-uv@v5
24
- with:
25
- enable-cache: true
26
-
27
- - name: Install Python
28
- run: uv python install
29
-
30
- - name: Build package
31
- run: uv build
32
-
33
- - name: Publish package distributions to PyPI
34
- uses: pypa/gh-action-pypi-publish@release/v1