anime-sama-cli-api 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.
Files changed (45) hide show
  1. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/.github/workflows/ci.yaml +3 -0
  2. anime_sama_cli_api-0.4.1/.github/workflows/release.yaml +34 -0
  3. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/PKG-INFO +5 -5
  4. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/README.md +1 -1
  5. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/pyproject.toml +5 -6
  6. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/uv.lock +5 -9
  7. anime_sama_cli_api-0.4.0/.github/workflows/release.yaml +0 -31
  8. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/.gitignore +0 -0
  9. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/.python-version +0 -0
  10. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/LICENSE +0 -0
  11. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/TODO.md +0 -0
  12. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/Tree.md +0 -0
  13. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/__init__.py +0 -0
  14. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/catalogue.py +0 -0
  15. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/__main__.py +0 -0
  16. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/config.py +0 -0
  17. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/config.toml +0 -0
  18. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/downloader.py +0 -0
  19. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/error_handling.py +0 -0
  20. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/internal_player.py +0 -0
  21. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/play_menu.py +0 -0
  22. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/utils.py +0 -0
  23. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/episode.py +0 -0
  24. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/langs.py +0 -0
  25. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/link_resolver.py +0 -0
  26. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/season.py +0 -0
  27. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/top_level.py +0 -0
  28. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/utils.py +0 -0
  29. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/examples/new_episodes_rss.py +0 -0
  30. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/examples/run_cli_(for_debugging).py +0 -0
  31. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/examples/scan_catalogue.py +0 -0
  32. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/__init__.py +0 -0
  33. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/data/catalogue_data.py +0 -0
  34. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/data/episode_data.py +0 -0
  35. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/data/season_data.py +0 -0
  36. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/data/update_episode_data.py +0 -0
  37. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_api_portage.py +0 -0
  38. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_catalogue.py +0 -0
  39. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_cli_utils.py +0 -0
  40. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_download.py +0 -0
  41. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_link_resolver_portage.py +0 -0
  42. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_module_consolidation.py +0 -0
  43. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_seasons.py +0 -0
  44. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_top_level.py +0 -0
  45. {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_utils.py +0 -0
@@ -17,6 +17,9 @@ jobs:
17
17
  - "3.14"
18
18
  - "3.15"
19
19
 
20
+ pypi-publish:
21
+ needs: run-tests
22
+
20
23
  name: Test
21
24
  runs-on: ${{ matrix.os }}
22
25
  steps:
@@ -0,0 +1,34 @@
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: anime-sama_cli_api
3
- Version: 0.4.0
3
+ Version: 0.4.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>
@@ -22,10 +22,10 @@ Classifier: Topic :: System :: Archiving
22
22
  Requires-Python: >=3.11
23
23
  Requires-Dist: httpx2>=2.16.0
24
24
  Requires-Dist: httpx>=0.28.1
25
+ Requires-Dist: platformdirs>=4.13.5
26
+ Requires-Dist: rich>=15.0.0
27
+ Requires-Dist: yt-dlp>=2026.8.19
25
28
  Provides-Extra: cli
26
- Requires-Dist: platformdirs>=4.13.5; extra == 'cli'
27
- Requires-Dist: rich>=15.0.0; extra == 'cli'
28
- Requires-Dist: yt-dlp>=2026.8.19; extra == 'cli'
29
29
  Description-Content-Type: text/markdown
30
30
 
31
31
  > [!WARNING]
@@ -48,7 +48,7 @@ Requirements:
48
48
  You can simply install it with (note that you can use tools like pipx to isolate the installation):
49
49
 
50
50
  ```bash
51
- pip install anime-sama-api[cli]
51
+ pip install anime-sama-cli-api
52
52
  ```
53
53
 
54
54
  And to run it:
@@ -18,7 +18,7 @@ Requirements:
18
18
  You can simply install it with (note that you can use tools like pipx to isolate the installation):
19
19
 
20
20
  ```bash
21
- pip install anime-sama-api[cli]
21
+ pip install anime-sama-cli-api
22
22
  ```
23
23
 
24
24
  And to run it:
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
6
6
 
7
7
  [project]
8
8
  name = "anime-sama_cli_api"
9
- version = "0.4.0"
9
+ version = "0.4.1"
10
10
  description = "Api for anime-sama"
11
11
  authors = [
12
12
  {name = "NiniKo", email = "pcninik@gmail.com"},
@@ -34,6 +34,9 @@ requires-python = ">=3.11"
34
34
  dependencies = [
35
35
  "httpx>=0.28.1",
36
36
  "httpx2>=2.16.0",
37
+ "platformdirs>=4.13.5",
38
+ "rich>=15.0.0",
39
+ "yt-dlp>=2026.8.19",
37
40
  ]
38
41
 
39
42
  [project.scripts]
@@ -43,11 +46,7 @@ anime-sama = "anime_sama_api:main"
43
46
  Repository = "https://github.com/Mathieux83/anime-sama_api"
44
47
 
45
48
  [project.optional-dependencies]
46
- cli = [
47
- "platformdirs>=4.13.5",
48
- "rich>=15.0.0",
49
- "yt-dlp>=2026.8.19",
50
- ]
49
+ cli = []
51
50
 
52
51
  [dependency-groups]
53
52
  dev = [
@@ -8,16 +8,12 @@ resolution-markers = [
8
8
  ]
9
9
 
10
10
  [[package]]
11
- name = "anime-sama-api"
12
- version = "0.4.0"
11
+ name = "anime-sama-cli-api"
12
+ version = "0.4.1"
13
13
  source = { editable = "." }
14
14
  dependencies = [
15
15
  { name = "httpx" },
16
16
  { name = "httpx2" },
17
- ]
18
-
19
- [package.optional-dependencies]
20
- cli = [
21
17
  { name = "platformdirs" },
22
18
  { name = "rich" },
23
19
  { name = "yt-dlp" },
@@ -38,9 +34,9 @@ dev = [
38
34
  requires-dist = [
39
35
  { name = "httpx", specifier = ">=0.28.1" },
40
36
  { name = "httpx2", specifier = ">=2.16.0" },
41
- { name = "platformdirs", marker = "extra == 'cli'", specifier = ">=4.13.5" },
42
- { name = "rich", marker = "extra == 'cli'", specifier = ">=15.0.0" },
43
- { name = "yt-dlp", marker = "extra == 'cli'", specifier = ">=2026.8.19" },
37
+ { name = "platformdirs", specifier = ">=4.13.5" },
38
+ { name = "rich", specifier = ">=15.0.0" },
39
+ { name = "yt-dlp", specifier = ">=2026.8.19" },
44
40
  ]
45
41
  provides-extras = ["cli"]
46
42
 
@@ -1,31 +0,0 @@
1
- name: Release
2
-
3
- on:
4
- workflow_dispatch:
5
-
6
- jobs:
7
- pypi-publish:
8
- name: Upload release to PyPI
9
- runs-on: ubuntu-latest
10
- environment:
11
- name: pypi
12
- url: https://pypi.org/p/anime-sama_cli_api
13
- permissions:
14
- id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
15
- steps:
16
- - name: Checkout
17
- uses: actions/checkout@v4
18
-
19
- - name: Install uv
20
- uses: astral-sh/setup-uv@v5
21
- with:
22
- enable-cache: true
23
-
24
- - name: Install Python
25
- run: uv python install
26
-
27
- - name: Build package
28
- run: uv build
29
-
30
- - name: Publish package distributions to PyPI
31
- uses: pypa/gh-action-pypi-publish@release/v1