anipy-cli 2.7.17__py3-none-any.whl → 3.8.2__py3-none-any.whl
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.
- anipy_cli/__init__.py +2 -20
- anipy_cli/anilist_proxy.py +229 -0
- anipy_cli/arg_parser.py +109 -21
- anipy_cli/cli.py +98 -0
- anipy_cli/clis/__init__.py +17 -0
- anipy_cli/clis/anilist_cli.py +62 -0
- anipy_cli/clis/base_cli.py +34 -0
- anipy_cli/clis/binge_cli.py +96 -0
- anipy_cli/clis/default_cli.py +115 -0
- anipy_cli/clis/download_cli.py +85 -0
- anipy_cli/clis/history_cli.py +96 -0
- anipy_cli/clis/mal_cli.py +71 -0
- anipy_cli/{cli/clis → clis}/seasonal_cli.py +9 -6
- anipy_cli/colors.py +14 -8
- anipy_cli/config.py +387 -90
- anipy_cli/discord.py +34 -0
- anipy_cli/download_component.py +194 -0
- anipy_cli/logger.py +200 -0
- anipy_cli/mal_proxy.py +228 -0
- anipy_cli/menus/__init__.py +6 -0
- anipy_cli/menus/anilist_menu.py +671 -0
- anipy_cli/{cli/menus → menus}/base_menu.py +9 -14
- anipy_cli/menus/mal_menu.py +657 -0
- anipy_cli/menus/menu.py +265 -0
- anipy_cli/menus/seasonal_menu.py +270 -0
- anipy_cli/prompts.py +387 -0
- anipy_cli/util.py +268 -0
- anipy_cli-3.8.2.dist-info/METADATA +71 -0
- anipy_cli-3.8.2.dist-info/RECORD +31 -0
- {anipy_cli-2.7.17.dist-info → anipy_cli-3.8.2.dist-info}/WHEEL +1 -2
- anipy_cli-3.8.2.dist-info/entry_points.txt +3 -0
- anipy_cli/cli/__init__.py +0 -1
- anipy_cli/cli/cli.py +0 -37
- anipy_cli/cli/clis/__init__.py +0 -6
- anipy_cli/cli/clis/base_cli.py +0 -43
- anipy_cli/cli/clis/binge_cli.py +0 -54
- anipy_cli/cli/clis/default_cli.py +0 -46
- anipy_cli/cli/clis/download_cli.py +0 -92
- anipy_cli/cli/clis/history_cli.py +0 -64
- anipy_cli/cli/clis/mal_cli.py +0 -27
- anipy_cli/cli/menus/__init__.py +0 -3
- anipy_cli/cli/menus/mal_menu.py +0 -411
- anipy_cli/cli/menus/menu.py +0 -102
- anipy_cli/cli/menus/seasonal_menu.py +0 -174
- anipy_cli/cli/util.py +0 -118
- anipy_cli/download.py +0 -454
- anipy_cli/history.py +0 -83
- anipy_cli/mal.py +0 -645
- anipy_cli/misc.py +0 -227
- anipy_cli/player/__init__.py +0 -1
- anipy_cli/player/player.py +0 -33
- anipy_cli/player/players/__init__.py +0 -3
- anipy_cli/player/players/base.py +0 -106
- anipy_cli/player/players/mpv.py +0 -19
- anipy_cli/player/players/mpv_contrl.py +0 -37
- anipy_cli/player/players/syncplay.py +0 -19
- anipy_cli/player/players/vlc.py +0 -18
- anipy_cli/query.py +0 -92
- anipy_cli/run_anipy_cli.py +0 -14
- anipy_cli/seasonal.py +0 -106
- anipy_cli/url_handler.py +0 -442
- anipy_cli/version.py +0 -1
- anipy_cli-2.7.17.dist-info/LICENSE +0 -674
- anipy_cli-2.7.17.dist-info/METADATA +0 -159
- anipy_cli-2.7.17.dist-info/RECORD +0 -43
- anipy_cli-2.7.17.dist-info/entry_points.txt +0 -2
- anipy_cli-2.7.17.dist-info/top_level.txt +0 -1
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: anipy-cli
|
|
3
|
-
Version: 2.7.17
|
|
4
|
-
Summary: Little tool in python to watch anime from the terminal (the better way to watch anime)
|
|
5
|
-
Home-page: https://github.com/sdaqo/anipy-cli
|
|
6
|
-
Author: sdaqo
|
|
7
|
-
Author-email: sdaqo.dev@protonmail.com
|
|
8
|
-
License: GPL-3.0
|
|
9
|
-
Requires-Python: >3.9
|
|
10
|
-
Description-Content-Type: text/markdown
|
|
11
|
-
License-File: LICENSE
|
|
12
|
-
Requires-Dist: better-ffmpeg-progress
|
|
13
|
-
Requires-Dist: pycryptodomex
|
|
14
|
-
Requires-Dist: requests
|
|
15
|
-
Requires-Dist: python-dateutil
|
|
16
|
-
Requires-Dist: pypresence
|
|
17
|
-
Requires-Dist: m3u8
|
|
18
|
-
Requires-Dist: setuptools
|
|
19
|
-
Requires-Dist: beautifulsoup4
|
|
20
|
-
Requires-Dist: tqdm
|
|
21
|
-
Requires-Dist: moviepy
|
|
22
|
-
Requires-Dist: pyyaml
|
|
23
|
-
Requires-Dist: python-mpv
|
|
24
|
-
|
|
25
|
-

|
|
26
|
-
|
|
27
|
-
https://user-images.githubusercontent.com/63876564/162056019-ed0e7a60-78f6-4a2c-bc73-9be5dc2a4f07.mp4
|
|
28
|
-
|
|
29
|
-
### Little tool written in python to watch and download anime from the terminal (the better way to watch anime), also applicable as an API.
|
|
30
|
-
|
|
31
|
-
### Scrapes: https://gogoanime.gg
|
|
32
|
-
|
|
33
|
-
#### If you dont like to use a cli there is a GUI and other versions [here](#other-versions).
|
|
34
|
-
|
|
35
|
-
# Contents
|
|
36
|
-
|
|
37
|
-
- [Installation](#Installation)
|
|
38
|
-
- [Usage](#Usage)
|
|
39
|
-
- [Libary Usage](#libary-usage)
|
|
40
|
-
- [What it can do](#what-it-can-do)
|
|
41
|
-
- [Other Versions](#other-versions)
|
|
42
|
-
- [Credits](#Credits)
|
|
43
|
-
|
|
44
|
-
# Installation
|
|
45
|
-
|
|
46
|
-
<a href="https://pypi.org/project/anipy-cli/"></a>
|
|
47
|
-
|
|
48
|
-
Recommended installation:
|
|
49
|
-
|
|
50
|
-
`python3 -m pip install anipy-cli --upgrade`
|
|
51
|
-
|
|
52
|
-
Directly from the repo (may be newer):
|
|
53
|
-
|
|
54
|
-
`python3 -m pip install git+https://github.com/sdaqo/anipy-cli`
|
|
55
|
-
|
|
56
|
-
For video playback mpv is needed. Get it here: https://mpv.io/installation/
|
|
57
|
-
|
|
58
|
-
If you would like to use another video player, you will need to specify its path in the config file.
|
|
59
|
-
|
|
60
|
-
Optionally, you can install [ffmpeg](https://ffmpeg.org/download.html) to download m3u8 playlists instead of using the internal downloader. You can use it with the `-f` flag. This is something you should use if the internal downlaoder fails since ffmpeg is comparatively slow.
|
|
61
|
-
|
|
62
|
-
### Config
|
|
63
|
-
|
|
64
|
-
When you start the program for the first time the config file gets created automatically
|
|
65
|
-
|
|
66
|
-
Places of the config:
|
|
67
|
-
|
|
68
|
-
- Linux: ~/.config/anipy-cli/config.yaml
|
|
69
|
-
- Windows: %USERPROFILE%/AppData/Local/anipy-cli/config.yaml
|
|
70
|
-
- MacOS: ~/.config/anipy-cli/config.yaml
|
|
71
|
-
|
|
72
|
-
[Sample Config](https://github.com/sdaqo/anipy-cli/blob/master/docs/sample_config.yaml)
|
|
73
|
-
|
|
74
|
-
**Attention Windows Users:** If you activate the option `reuse_mpv_window`, you will have to donwload and put the `mpv-2.dll` in your path. To get it go look here: https://sourceforge.net/projects/mpv-player-windows/files/libmpv/
|
|
75
|
-
|
|
76
|
-
# Usage
|
|
77
|
-
|
|
78
|
-
```
|
|
79
|
-
usage: anipy-cli [-D | -B | -H | -S | -M | --delete-history] [-q QUALITY] [-f] [-o] [-a] [-p {mpv,vlc,syncplay,mpvnet}] [-l LOCATION] [--mal-password MAL_PASSWORD] [-h] [-v] [--config-path]
|
|
80
|
-
|
|
81
|
-
Play Animes from gogoanime in local video-player or Download them.
|
|
82
|
-
|
|
83
|
-
Actions:
|
|
84
|
-
Different Actions and Modes of anipy-cli (only pick one)
|
|
85
|
-
|
|
86
|
-
-D, --download Download mode. Download multiple episodes like so: first_number-second_number (e.g. 1-3)
|
|
87
|
-
-B, --binge Binge mode. Binge multiple episodes like so: first_number-second_number (e.g. 1-3)
|
|
88
|
-
-H, --history Show your history of watched anime
|
|
89
|
-
-S, --seasonal Seasonal Anime mode. Bulk download or binge watch newest episodes.
|
|
90
|
-
-M, --my-anime-list MyAnimeList mode. Similar to seasonal mode, but using MyAnimeList (requires MAL account credentials to be set in config).
|
|
91
|
-
--delete-history Delete your History.
|
|
92
|
-
|
|
93
|
-
Options:
|
|
94
|
-
Options to change the behaviour of anipy-cli
|
|
95
|
-
|
|
96
|
-
-q QUALITY, --quality QUALITY
|
|
97
|
-
Change the quality of the video, accepts: best, worst or 360, 480, 720 etc. Default: best
|
|
98
|
-
-f, --ffmpeg Use ffmpeg to download m3u8 playlists, may be more stable but is way slower than internal downloader
|
|
99
|
-
-o, --no-seas-search Turn off search in season. Disables prompting if GoGoAnime is to be searched for anime in specific season.
|
|
100
|
-
-a, --auto-update Automatically update and download all Anime in seasonals list from start EP to newest.
|
|
101
|
-
-p {mpv,vlc,syncplay,mpvnet}, --optional-player {mpv,vlc,syncplay,mpvnet}
|
|
102
|
-
Override the player set in the config.
|
|
103
|
-
-l LOCATION, --location LOCATION
|
|
104
|
-
Override all configured download locations
|
|
105
|
-
--mal-password MAL_PASSWORD
|
|
106
|
-
Provide password for MAL login (overrides password set in config)
|
|
107
|
-
|
|
108
|
-
Info:
|
|
109
|
-
Info about the current anipy-cli installation
|
|
110
|
-
|
|
111
|
-
-h, --help show this help message and exit
|
|
112
|
-
-v, --version show program's version number and exit
|
|
113
|
-
--config-path Print path to the config file.
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
# What it can do
|
|
117
|
-
|
|
118
|
-
- Faster than watching in the browser.
|
|
119
|
-
- Play Animes in Your Local video player
|
|
120
|
-
- Select a quality in which the video will be played/downloaded.
|
|
121
|
-
- Download Animes
|
|
122
|
-
- History of watched Episodes
|
|
123
|
-
- Binge Mode to watch a range of episodes back-to-back.
|
|
124
|
-
- Seasonal Mode to bulk download or binge watch the latest episodes of animes you pick
|
|
125
|
-
- Configurable with config
|
|
126
|
-
- (**Optional**) MAL Mode: Like seasonal mode, but uses your anime list at [MyAnimeList.net](https://myanimelist.net/)
|
|
127
|
-
- (**Optional**) Search GoGo for animes in specific seasons. Available for the download cli, seasonal mode and MAL mode. Turn it off with -o flag.
|
|
128
|
-
- (**Optional**) Discord Presence for the anime you currently watch. This is off by default, activate it in the config (-c)
|
|
129
|
-
- (**Optional**) Ffmpeg to download m3u8 playlists, may be more stable but is slower than internal downloader.
|
|
130
|
-
|
|
131
|
-
# Libary Usage
|
|
132
|
-
|
|
133
|
-
Documentation can be found [here](https://github.com/sdaqo/anipy-cli/blob/master/docs/anipycli_as_lib.py)
|
|
134
|
-
|
|
135
|
-
#### Important:
|
|
136
|
-
|
|
137
|
-
To import the libary, don't import `anipy-cli`, but `anipy_cli` (no '-' is allowed)
|
|
138
|
-
|
|
139
|
-
# Advanced Usage Examples
|
|
140
|
-
#### Little example of using anipy-cli for automatically keeping anime library up-to-date:
|
|
141
|
-
```
|
|
142
|
-
# Cronjob runs every 2 minutes and checks wether anipy-cli is still running or not
|
|
143
|
-
# (only run the job if last one is finished)
|
|
144
|
-
|
|
145
|
-
*/2 * * * * username pidof -x anipy-cli || anipy-cli -Ma >> /var/log/anipy-cli.log
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
# Other versions
|
|
149
|
-
|
|
150
|
-
- GUI Frontend by me (WIP): https://github.com/sdaqo/anipy-gui
|
|
151
|
-
- Dmenu script by @Dabbing-Guy: https://github.com/Dabbing-Guy/anipy-dmenu
|
|
152
|
-
- Ulauncher extension by @Dankni95 (not maintained):
|
|
153
|
-
https://github.com/Dankni95/ulauncher-anime
|
|
154
|
-
|
|
155
|
-
# Credits
|
|
156
|
-
|
|
157
|
-
#### Heavily inspired by https://github.com/pystardust/ani-cli/
|
|
158
|
-
|
|
159
|
-
#### All contributors for contributing
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
anipy_cli/__init__.py,sha256=tfcfNum_d0E-4DK3VxWZDcBWxaoizF_lladUzYh-AXk,1209
|
|
2
|
-
anipy_cli/arg_parser.py,sha256=TibvBABk9ou0Jy5Kp2wgstLyNiMpO9XzZccC0d9Ivh8,4846
|
|
3
|
-
anipy_cli/colors.py,sha256=rnxb-AgFa-pEaJZKju3BX0NlFiigjvR3RpMUeKkpAIQ,850
|
|
4
|
-
anipy_cli/config.py,sha256=A5iOZdUPh1bqwiwQt4UGyC9WIqUD4c7Wcx4i-c7NvMk,5549
|
|
5
|
-
anipy_cli/download.py,sha256=FvaaNV-nQLyopIox6Mv4aa0KBYidStRhe-CmhY7IyHQ,15804
|
|
6
|
-
anipy_cli/history.py,sha256=oSTymLCyMLRMr5fS0UsnTASZ4fD3HxeRNtVBdOrX2hY,2190
|
|
7
|
-
anipy_cli/mal.py,sha256=O61BT373Z57Qeyyxx-zPiQr0G4b6cVwgn0LF2AtcZuw,22750
|
|
8
|
-
anipy_cli/misc.py,sha256=NMvOoHFtbTjfq5KhsdDlMaGBE8saPyGGmvl2n6QWdDE,6161
|
|
9
|
-
anipy_cli/query.py,sha256=2QQZSDuQWlPxHBbTdawe295_j0Mqtl0aS-qHfbOsMmw,3030
|
|
10
|
-
anipy_cli/run_anipy_cli.py,sha256=1IknhTjef5MOssNldroIqq1nR45KfaR2uY1Lde6fWl4,222
|
|
11
|
-
anipy_cli/seasonal.py,sha256=md_8qkIUjCAffXLQYC2r9PS56IqbckQX9waCxeV3uVg,2905
|
|
12
|
-
anipy_cli/url_handler.py,sha256=BhQiFJ9SI62A24vWwYl6OtDavXcNWmYHs-0YBNCzoDA,13017
|
|
13
|
-
anipy_cli/version.py,sha256=ELTEO80mRudO0n9GMrkUNz5NfpTZ3nZcJw5iiKxGsm0,23
|
|
14
|
-
anipy_cli/cli/__init__.py,sha256=8CoRWWXOok498eMRjWQ3hxa5VtdpEwbiP-Pxuv8dSQI,38
|
|
15
|
-
anipy_cli/cli/cli.py,sha256=_inXf9Wkn72wGt3lyc1uZ_3tB1IfwSsQQ0mVHX1pzAM,975
|
|
16
|
-
anipy_cli/cli/util.py,sha256=YPveJhXX65-LIO9y3Lh7CXM0ABJSwbtTN6tHF7MmiNY,3908
|
|
17
|
-
anipy_cli/cli/clis/__init__.py,sha256=LzSGaV1hyYQv9P93IoSOX_pQ6enMGBHrev46WZm2ijU,316
|
|
18
|
-
anipy_cli/cli/clis/base_cli.py,sha256=I43kNPBxyhILXUcUo-saRvq3yRIzvd34_XkqDtGoS9U,788
|
|
19
|
-
anipy_cli/cli/clis/binge_cli.py,sha256=Xz3SFeOJNK7JoAtmFgvRo89liuwd4Q-SMBbe4085CME,1648
|
|
20
|
-
anipy_cli/cli/clis/default_cli.py,sha256=gEnteWX0qnmBCiG6YbE50HscmSex-BZ7RAY-prysJsU,1285
|
|
21
|
-
anipy_cli/cli/clis/download_cli.py,sha256=BWAE3xwfpm5M7oaMGRiVsGYaUMZukDFNSc6GbOuoBBY,3006
|
|
22
|
-
anipy_cli/cli/clis/history_cli.py,sha256=CHqFFgU7uQK35A5g1h2O8akktEk9pON4faE9_rLVK_E,1970
|
|
23
|
-
anipy_cli/cli/clis/mal_cli.py,sha256=ZAZvdBe0yHIwzIZeVH-pD087BCNiUY9O26SOI_1AA34,618
|
|
24
|
-
anipy_cli/cli/clis/seasonal_cli.py,sha256=picUw_29LxVBNx6RCn41BHCx_F_vG3SWTV6FsHpX3Yw,612
|
|
25
|
-
anipy_cli/cli/menus/__init__.py,sha256=EhiO-cZwEqgcn36kJGkoTjDQEewUnQOOCtKRTIFhdog,150
|
|
26
|
-
anipy_cli/cli/menus/base_menu.py,sha256=TKTeKnK1WjQLQkijEs9ZzAq0KU2Ft-oLukRJ9TwfM5A,1180
|
|
27
|
-
anipy_cli/cli/menus/mal_menu.py,sha256=XfUc9SpC-uRXpZoOakPJ3Kfn9_8Ylke0as1J5FiZYSQ,15849
|
|
28
|
-
anipy_cli/cli/menus/menu.py,sha256=fC_nQ595_xs7CiBTpGNRsXWELXxea25cIEmkSxx4i2E,3339
|
|
29
|
-
anipy_cli/cli/menus/seasonal_menu.py,sha256=3dXIfyzpvUqWzBDoYHlWVu1hzgGF8atYSXaGmlSFKRk,5803
|
|
30
|
-
anipy_cli/player/__init__.py,sha256=RMzxEYGMoXUCaT4RrQMZ2tSK_ce7ybClzTietAo8b6A,63
|
|
31
|
-
anipy_cli/player/player.py,sha256=kQr5y9K5I2hbekW8rK57tg4d3byQ_IcjpmepbssC8SI,975
|
|
32
|
-
anipy_cli/player/players/__init__.py,sha256=o-hU4qxe8DED_nww7SNyFW955ss1g9uIuFJHT1BRFuk,145
|
|
33
|
-
anipy_cli/player/players/base.py,sha256=jw0USotQu8tThQUAW6aMGwTzz8dctMW26-kktUl2X74,2726
|
|
34
|
-
anipy_cli/player/players/mpv.py,sha256=HyzcDvWStUX8MuugdnAiFV8zMRbAgoPry-vk6v4MqgM,614
|
|
35
|
-
anipy_cli/player/players/mpv_contrl.py,sha256=KOlntvOFqVtPWu5GA_8i3uegBvf_jKw1zbH3KxutAZg,907
|
|
36
|
-
anipy_cli/player/players/syncplay.py,sha256=An5vIDtMhGqscpNuEW5RPUlQdP3Ok7tWd179WgTiLMs,599
|
|
37
|
-
anipy_cli/player/players/vlc.py,sha256=cUZQrm666jHcPlGZDNvGe7HgZCaMNBggf6Vr8sU7e8Y,540
|
|
38
|
-
anipy_cli-2.7.17.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
39
|
-
anipy_cli-2.7.17.dist-info/METADATA,sha256=84pxBEdx9nt44C9YrhRoB8M2pk0MkMNpFd9qfyHAado,6655
|
|
40
|
-
anipy_cli-2.7.17.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
|
|
41
|
-
anipy_cli-2.7.17.dist-info/entry_points.txt,sha256=WBLF69tulX86690ET947odYU32Ketdm3pxnYkQa83IM,59
|
|
42
|
-
anipy_cli-2.7.17.dist-info/top_level.txt,sha256=C40LSHw7Rvit25UkpsAU7ITLSOX6zqTcHWxtOpHem_M,10
|
|
43
|
-
anipy_cli-2.7.17.dist-info/RECORD,,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
anipy_cli
|