mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-25 09:03:41 +01:00
Use embedded dependencies
This commit is contained in:
parent
83e26f1428
commit
3d10a07ab9
@ -1,4 +1,11 @@
|
||||
#!/usr/bin/env python3
|
||||
# /// script
|
||||
# dependencies = [
|
||||
# "requests",
|
||||
# "bs4",
|
||||
# "docopt",
|
||||
# "rich",
|
||||
# ]
|
||||
# ///
|
||||
|
||||
"""calculate_mirror_size.py
|
||||
|
||||
|
@ -1,4 +1,9 @@
|
||||
#!/usr/bin/env python3
|
||||
# /// script
|
||||
# dependencies = [
|
||||
# "requests",
|
||||
# "docopt",
|
||||
# ]
|
||||
# ///
|
||||
|
||||
"""fetch_combined_trackers_list.py
|
||||
|
||||
@ -20,7 +25,7 @@ import requests
|
||||
from docopt import docopt
|
||||
|
||||
if __name__ == "__main__":
|
||||
args = docopt(__doc__) # type: ignore
|
||||
args = docopt(__doc__) # type: ignore
|
||||
|
||||
live_trackers_list_urls = [
|
||||
"https://newtrackon.com/api/stable",
|
||||
|
@ -1,4 +1,9 @@
|
||||
#!/usr/bin/env python3
|
||||
# /// script
|
||||
# dependencies = [
|
||||
# "requests",
|
||||
# "docopt",
|
||||
# ]
|
||||
# ///
|
||||
|
||||
"""fetch_scihub_infohashes.py
|
||||
|
||||
|
@ -1,4 +1,9 @@
|
||||
#!/home/jas/virtualenvs/list_torrents/bin/python3
|
||||
# /// script
|
||||
# dependencies = [
|
||||
# "qbittorrent-api",
|
||||
# "docopt",
|
||||
# ]
|
||||
# ///
|
||||
|
||||
"""list_torrents.py
|
||||
|
||||
|
@ -1,4 +1,9 @@
|
||||
#!/usr/bin/env python3
|
||||
# /// script
|
||||
# dependencies = [
|
||||
# "qbittorrent-api",
|
||||
# "docopt",
|
||||
# ]
|
||||
# ///
|
||||
|
||||
"""qbt_sum_size.py
|
||||
|
||||
|
9
qbth.py
9
qbth.py
@ -1,4 +1,11 @@
|
||||
#!/usr/bin/env python3
|
||||
# /// script
|
||||
# dependencies = [
|
||||
# "qbittorrent-api",
|
||||
# "requests",
|
||||
# "bs4",
|
||||
# "docopt",
|
||||
# ]
|
||||
# ///
|
||||
|
||||
"""qbth.py - qbittorrent helper
|
||||
|
||||
|
@ -1,24 +0,0 @@
|
||||
attr==0.3.2
|
||||
beautifulsoup4==4.12.3
|
||||
colorama==0.4.6
|
||||
ConfigParser==7.1.0
|
||||
cryptography==43.0.3
|
||||
docopt==0.6.2
|
||||
docutils==0.21.2
|
||||
filelock==3.16.1
|
||||
HTMLParser==0.0.2
|
||||
ipython==8.29.0
|
||||
ipywidgets==8.1.5
|
||||
jnius==1.1.0
|
||||
keyring==25.5.0
|
||||
pandas==2.2.3
|
||||
Pillow==11.0.0
|
||||
protobuf==5.28.3
|
||||
pyOpenSSL==24.2.1
|
||||
qbittorrent==0.1.6
|
||||
redis==5.2.0
|
||||
resend==2.4.0
|
||||
Sphinx==8.1.3
|
||||
thread==2.0.5
|
||||
urllib3_secure_extra==0.1.0
|
||||
xmlrpclib==1.0.1
|
@ -1,4 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
# /// script
|
||||
# dependencies = [
|
||||
# "qbittorrent-api",
|
||||
# "requests",
|
||||
# "docopt",
|
||||
# ]
|
||||
# ///
|
||||
|
||||
"""scihub_knapsack.py
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#! nix-shell -i python3 --packages python3 python312Packages.resend
|
||||
# /// script
|
||||
# dependencies = [
|
||||
# "resend",
|
||||
# ]
|
||||
# ///
|
||||
|
||||
import socket
|
||||
import subprocess
|
||||
|
@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#! nix-shell -i python3 --packages python3 python312Packages.resend
|
||||
# /// script
|
||||
# dependencies = [
|
||||
# "resend",
|
||||
# ]
|
||||
# ///
|
||||
|
||||
|
||||
import socket
|
||||
import subprocess
|
||||
|
@ -1,4 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
# /// script
|
||||
# dependencies = [
|
||||
# "qbittorrent-api",
|
||||
# "docopt",
|
||||
# "rich",
|
||||
# ]
|
||||
# ///
|
||||
|
||||
"""update_tracker.py
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user