anime-sama-cli 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.
- anime_sama_cli-1.1/.github/workflows/pypi.yml +51 -0
- anime_sama_cli-1.1/.gitignore +17 -0
- anime_sama_cli-1.1/.python-version +1 -0
- anime_sama_cli-1.1/LICENSE +674 -0
- anime_sama_cli-1.1/PKG-INFO +222 -0
- anime_sama_cli-1.1/README.md +193 -0
- anime_sama_cli-1.1/anisama-cli +21 -0
- anime_sama_cli-1.1/examples/new_episodes_rss.py +39 -0
- anime_sama_cli-1.1/pyproject.toml +60 -0
- anime_sama_cli-1.1/scripts/debug_vidmoly.py +42 -0
- anime_sama_cli-1.1/src/anime_sama_api/__init__.py +49 -0
- anime_sama_cli-1.1/src/anime_sama_api/assets/ascii_art +6 -0
- anime_sama_cli-1.1/src/anime_sama_api/catalogue.py +157 -0
- anime_sama_cli-1.1/src/anime_sama_api/cli/__main__.py +96 -0
- anime_sama_cli-1.1/src/anime_sama_api/cli/config.py +119 -0
- anime_sama_cli-1.1/src/anime_sama_api/cli/config.toml +35 -0
- anime_sama_cli-1.1/src/anime_sama_api/cli/downloader.py +217 -0
- anime_sama_cli-1.1/src/anime_sama_api/cli/episode_extra_info.py +136 -0
- anime_sama_cli-1.1/src/anime_sama_api/cli/episode_tree.py +345 -0
- anime_sama_cli-1.1/src/anime_sama_api/cli/error_handeling.py +79 -0
- anime_sama_cli-1.1/src/anime_sama_api/cli/internal_player.py +61 -0
- anime_sama_cli-1.1/src/anime_sama_api/cli/play_menu.py +30 -0
- anime_sama_cli-1.1/src/anime_sama_api/cli/utils.py +98 -0
- anime_sama_cli-1.1/src/anime_sama_api/cli_standalone.py +20 -0
- anime_sama_cli-1.1/src/anime_sama_api/episode.py +143 -0
- anime_sama_cli-1.1/src/anime_sama_api/langs.py +76 -0
- anime_sama_cli-1.1/src/anime_sama_api/season.py +227 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/__init__.py +8 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/anilist.py +308 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/api_helpers.py +43 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/catalogue_tui.py +90 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/completions.py +109 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/config.py +87 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/constants.py +47 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/download_utils.py +69 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/flows.py +361 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/fzf_utils.py +339 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/history.py +39 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/menus.py +404 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/planning.py +351 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/planning_tui.py +95 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/playback.py +84 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/runner.py +175 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/system_deps.py +78 -0
- anime_sama_cli-1.1/src/anime_sama_api/standalone/terminal.py +100 -0
- anime_sama_cli-1.1/src/anime_sama_api/top_level.py +353 -0
- anime_sama_cli-1.1/src/anime_sama_api/utils.py +58 -0
- anime_sama_cli-1.1/tests/__init__.py +0 -0
- anime_sama_cli-1.1/tests/data/catalogue_data.py +6 -0
- anime_sama_cli-1.1/tests/data/episode_data.py +1911 -0
- anime_sama_cli-1.1/tests/data/season_data.py +32 -0
- anime_sama_cli-1.1/tests/test_catalogue.py +35 -0
- anime_sama_cli-1.1/tests/test_cli_utils.py +89 -0
- anime_sama_cli-1.1/tests/test_download.py +27 -0
- anime_sama_cli-1.1/tests/test_seasons.py +12 -0
- anime_sama_cli-1.1/tests/test_top_level.py +23 -0
- anime_sama_cli-1.1/tests/test_utils.py +20 -0
- anime_sama_cli-1.1/uv.lock +668 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*" # ex. v2.0.0, v2.0.1
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
name: Build distribution
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
with:
|
|
15
|
+
persist-credentials: false
|
|
16
|
+
|
|
17
|
+
- name: Set up Python
|
|
18
|
+
uses: actions/setup-python@v5
|
|
19
|
+
with:
|
|
20
|
+
python-version: "3.12"
|
|
21
|
+
|
|
22
|
+
- name: Install build
|
|
23
|
+
run: python -m pip install build --user
|
|
24
|
+
|
|
25
|
+
- name: Build wheel and sdist
|
|
26
|
+
run: python -m build
|
|
27
|
+
|
|
28
|
+
- name: Upload distributions
|
|
29
|
+
uses: actions/upload-artifact@v4
|
|
30
|
+
with:
|
|
31
|
+
name: python-package-distributions
|
|
32
|
+
path: dist/
|
|
33
|
+
|
|
34
|
+
publish-to-pypi:
|
|
35
|
+
name: Publish to PyPI
|
|
36
|
+
needs: build
|
|
37
|
+
runs-on: ubuntu-latest
|
|
38
|
+
environment:
|
|
39
|
+
name: pypi
|
|
40
|
+
url: https://pypi.org/project/anime-sama-cli/
|
|
41
|
+
permissions:
|
|
42
|
+
id-token: write # requis pour Trusted Publishing (OIDC)
|
|
43
|
+
steps:
|
|
44
|
+
- name: Download distributions
|
|
45
|
+
uses: actions/download-artifact@v4
|
|
46
|
+
with:
|
|
47
|
+
name: python-package-distributions
|
|
48
|
+
path: dist/
|
|
49
|
+
|
|
50
|
+
- name: Publish to PyPI
|
|
51
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.10
|