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.
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/.github/workflows/ci.yaml +3 -0
- anime_sama_cli_api-0.4.1/.github/workflows/release.yaml +34 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/PKG-INFO +5 -5
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/README.md +1 -1
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/pyproject.toml +5 -6
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/uv.lock +5 -9
- anime_sama_cli_api-0.4.0/.github/workflows/release.yaml +0 -31
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/.gitignore +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/.python-version +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/LICENSE +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/TODO.md +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/Tree.md +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/__init__.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/catalogue.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/__main__.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/config.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/config.toml +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/downloader.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/error_handling.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/internal_player.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/play_menu.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/cli/utils.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/episode.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/langs.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/link_resolver.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/season.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/top_level.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/anime_sama_api/utils.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/examples/new_episodes_rss.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/examples/run_cli_(for_debugging).py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/examples/scan_catalogue.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/__init__.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/data/catalogue_data.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/data/episode_data.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/data/season_data.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/data/update_episode_data.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_api_portage.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_catalogue.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_cli_utils.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_download.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_link_resolver_portage.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_module_consolidation.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_seasons.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_top_level.py +0 -0
- {anime_sama_cli_api-0.4.0 → anime_sama_cli_api-0.4.1}/tests/test_utils.py +0 -0
|
@@ -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.
|
|
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
|
|
51
|
+
pip install anime-sama-cli-api
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
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.
|
|
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.
|
|
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",
|
|
42
|
-
{ name = "rich",
|
|
43
|
-
{ name = "yt-dlp",
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|