fix: remove revanced-api from tools map

This commit is contained in:
Alexandre Teles 2023-08-19 17:09:26 -03:00
parent 4425f1d3d6
commit 4800ee96a8
No known key found for this signature in database
GPG Key ID: DB1C7FA46B1007F0
3 changed files with 69 additions and 11 deletions

View File

@ -5,7 +5,7 @@ from api.github import github
from api.ping import ping
from api.socials import socials
from api.info import info
from api.compat import github as old
from api.compat import github as compat
from api.donations import donations
api = Blueprint.group(ping, github, info, socials, donations, old, url_prefix="/")
api = Blueprint.group(ping, github, info, socials, donations, compat, url_prefix="/")

View File

@ -52,7 +52,8 @@ async def tools(request: Request) -> JSONResponse:
repositories=[
GithubRepository(owner=owner, name=repo)
for repo in compat_repositories
if repo not in ["revanced-releases-api", "revanced-website"]
if repo
not in ["revanced-api", "revanced-releases-api", "revanced-website"]
],
dev=True if request.args.get("dev") else False,
)

73
poetry.lock generated
View File

@ -1,9 +1,10 @@
# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand.
# This file is automatically @generated by Poetry and should not be changed by hand.
[[package]]
name = "aiodns"
version = "3.0.0"
description = "Simple DNS resolver for asyncio"
category = "main"
optional = false
python-versions = "*"
files = [
@ -18,6 +19,7 @@ pycares = ">=4.0.0"
name = "aiofiles"
version = "23.2.1"
description = "File support for asyncio."
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -29,6 +31,7 @@ files = [
name = "aiohttp"
version = "3.8.5"
description = "Async http client/server framework (asyncio)"
category = "main"
optional = false
python-versions = ">=3.6"
files = [
@ -139,6 +142,7 @@ speedups = ["Brotli", "aiodns", "cchardet"]
name = "aiosignal"
version = "1.3.1"
description = "aiosignal: a list of registered asynchronous callbacks"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -153,6 +157,7 @@ frozenlist = ">=1.1.0"
name = "anyio"
version = "3.7.1"
description = "High level compatibility layer for multiple asynchronous event loop implementations"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -173,6 +178,7 @@ trio = ["trio (<0.22)"]
name = "async-timeout"
version = "4.0.3"
description = "Timeout context manager for asyncio programs"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -184,6 +190,7 @@ files = [
name = "asyncstdlib"
version = "3.10.8"
description = "The missing async toolbox"
category = "main"
optional = false
python-versions = "~=3.6"
files = [
@ -199,6 +206,7 @@ test = ["black", "coverage", "flake8", "flake8-2020", "flake8-bugbear", "mypy",
name = "attrs"
version = "23.1.0"
description = "Classes Without Boilerplate"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -217,6 +225,7 @@ tests-no-zope = ["cloudpickle", "hypothesis", "mypy (>=1.1.1)", "pympler", "pyte
name = "beautifulsoup4"
version = "4.12.2"
description = "Screen-scraping library"
category = "main"
optional = false
python-versions = ">=3.6.0"
files = [
@ -235,6 +244,7 @@ lxml = ["lxml"]
name = "brotli"
version = "1.0.9"
description = "Python bindings for the Brotli compression library"
category = "main"
optional = false
python-versions = "*"
files = [
@ -326,6 +336,7 @@ files = [
name = "certifi"
version = "2023.7.22"
description = "Python package for providing Mozilla's CA Bundle."
category = "main"
optional = false
python-versions = ">=3.6"
files = [
@ -337,6 +348,7 @@ files = [
name = "cffi"
version = "1.15.1"
description = "Foreign Function Interface for Python calling C code."
category = "main"
optional = false
python-versions = "*"
files = [
@ -413,6 +425,7 @@ pycparser = "*"
name = "charset-normalizer"
version = "3.2.0"
description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
category = "main"
optional = false
python-versions = ">=3.7.0"
files = [
@ -497,6 +510,7 @@ files = [
name = "colorama"
version = "0.4.6"
description = "Cross-platform colored terminal text."
category = "main"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
files = [
@ -508,6 +522,7 @@ files = [
name = "coverage"
version = "7.3.0"
description = "Code coverage measurement for Python"
category = "main"
optional = false
python-versions = ">=3.8"
files = [
@ -572,6 +587,7 @@ toml = ["tomli"]
name = "cytoolz"
version = "0.12.2"
description = "Cython implementation of Toolz: High performance functional utilities"
category = "main"
optional = false
python-versions = ">=3.6"
files = [
@ -680,6 +696,7 @@ cython = ["cython"]
name = "frozenlist"
version = "1.4.0"
description = "A list-like structure which implements collections.abc.MutableSequence"
category = "main"
optional = false
python-versions = ">=3.8"
files = [
@ -750,6 +767,7 @@ files = [
name = "h11"
version = "0.14.0"
description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -761,6 +779,7 @@ files = [
name = "html5tagger"
version = "1.3.0"
description = "Pythonic HTML generation/templating (no template files)"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -772,6 +791,7 @@ files = [
name = "httpcore"
version = "0.17.3"
description = "A minimal low-level HTTP client."
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -783,16 +803,17 @@ files = [
anyio = ">=3.0,<5.0"
certifi = "*"
h11 = ">=0.13,<0.15"
sniffio = "==1.*"
sniffio = ">=1.0.0,<2.0.0"
[package.extras]
http2 = ["h2 (>=3,<5)"]
socks = ["socksio (==1.*)"]
socks = ["socksio (>=1.0.0,<2.0.0)"]
[[package]]
name = "httptools"
version = "0.6.0"
description = "A collection of framework independent HTTP protocol utils."
category = "main"
optional = false
python-versions = ">=3.5.0"
files = [
@ -840,6 +861,7 @@ test = ["Cython (>=0.29.24,<0.30.0)"]
name = "httpx"
version = "0.24.1"
description = "The next generation HTTP client."
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -855,14 +877,15 @@ sniffio = "*"
[package.extras]
brotli = ["brotli", "brotlicffi"]
cli = ["click (==8.*)", "pygments (==2.*)", "rich (>=10,<14)"]
cli = ["click (>=8.0.0,<9.0.0)", "pygments (>=2.0.0,<3.0.0)", "rich (>=10,<14)"]
http2 = ["h2 (>=3,<5)"]
socks = ["socksio (==1.*)"]
socks = ["socksio (>=1.0.0,<2.0.0)"]
[[package]]
name = "idna"
version = "3.4"
description = "Internationalized Domain Names in Applications (IDNA)"
category = "main"
optional = false
python-versions = ">=3.5"
files = [
@ -874,6 +897,7 @@ files = [
name = "iniconfig"
version = "2.0.0"
description = "brain-dead simple config-ini parsing"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -885,6 +909,7 @@ files = [
name = "lxml"
version = "4.9.3"
description = "Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API."
category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*"
files = [
@ -992,6 +1017,7 @@ source = ["Cython (>=0.29.35)"]
name = "multidict"
version = "6.0.4"
description = "multidict implementation"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -1075,6 +1101,7 @@ files = [
name = "mypy"
version = "1.5.1"
description = "Optional static typing for Python"
category = "main"
optional = false
python-versions = ">=3.8"
files = [
@ -1120,6 +1147,7 @@ reports = ["lxml"]
name = "mypy-extensions"
version = "1.0.0"
description = "Type system extensions for programs checked with the mypy type checker."
category = "main"
optional = false
python-versions = ">=3.5"
files = [
@ -1131,6 +1159,7 @@ files = [
name = "packaging"
version = "23.1"
description = "Core utilities for Python packages"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -1142,6 +1171,7 @@ files = [
name = "pluggy"
version = "1.2.0"
description = "plugin and hook calling mechanisms for python"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -1157,6 +1187,7 @@ testing = ["pytest", "pytest-benchmark"]
name = "pycares"
version = "4.3.0"
description = "Python interface for c-ares"
category = "main"
optional = false
python-versions = "*"
files = [
@ -1224,6 +1255,7 @@ idna = ["idna (>=2.1)"]
name = "pycparser"
version = "2.21"
description = "C parser in Python"
category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
files = [
@ -1235,6 +1267,7 @@ files = [
name = "pydantic"
version = "1.10.12"
description = "Data validation and settings management using python type hints"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -1287,6 +1320,7 @@ email = ["email-validator (>=1.0.3)"]
name = "pytest"
version = "7.4.0"
description = "pytest: simple powerful testing with Python"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -1307,6 +1341,7 @@ testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "no
name = "pytest-asyncio"
version = "0.21.1"
description = "Pytest support for asyncio"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -1325,6 +1360,7 @@ testing = ["coverage (>=6.2)", "flaky (>=3.5.0)", "hypothesis (>=5.7.1)", "mypy
name = "pytest-cov"
version = "4.1.0"
description = "Pytest plugin for measuring coverage."
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -1343,6 +1379,7 @@ testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtuale
name = "pytest-emoji"
version = "0.2.0"
description = "A pytest plugin that adds emojis to your test result report"
category = "main"
optional = false
python-versions = ">=3.4"
files = [
@ -1357,6 +1394,7 @@ pytest = ">=4.2.1"
name = "pytest-md"
version = "0.2.0"
description = "Plugin for generating Markdown reports for pytest results"
category = "main"
optional = false
python-versions = ">=3.6"
files = [
@ -1371,6 +1409,7 @@ pytest = ">=4.2.1"
name = "pyyaml"
version = "6.0.1"
description = "YAML parser and emitter for Python"
category = "main"
optional = false
python-versions = ">=3.6"
files = [
@ -1420,6 +1459,7 @@ files = [
name = "sanic"
version = "23.6.0"
description = "A web server and web framework that's written to go fast. Build fast. Run fast."
category = "main"
optional = false
python-versions = ">=3.8"
files = [
@ -1441,17 +1481,18 @@ uvloop = {version = ">=0.15.0", markers = "sys_platform != \"win32\" and impleme
websockets = ">=10.0"
[package.extras]
all = ["bandit", "beautifulsoup4", "black", "chardet (==3.*)", "coverage", "cryptography", "docutils", "enum-tools[sphinx]", "flake8", "isort (>=5.0.0)", "m2r2", "mistune (<2.0.0)", "mypy", "pygments", "pytest (==7.1.*)", "pytest-benchmark", "pytest-sanic", "sanic-testing (>=23.6.0)", "slotscheck (>=0.8.0,<1)", "sphinx (>=2.1.2)", "sphinx-rtd-theme (>=0.4.3)", "towncrier", "tox", "types-ujson", "uvicorn (<0.15.0)"]
dev = ["bandit", "beautifulsoup4", "black", "chardet (==3.*)", "coverage", "cryptography", "docutils", "flake8", "isort (>=5.0.0)", "mypy", "pygments", "pytest (==7.1.*)", "pytest-benchmark", "pytest-sanic", "sanic-testing (>=23.6.0)", "slotscheck (>=0.8.0,<1)", "towncrier", "tox", "types-ujson", "uvicorn (<0.15.0)"]
all = ["bandit", "beautifulsoup4", "black", "chardet (>=3.0.0,<4.0.0)", "coverage", "cryptography", "docutils", "enum-tools[sphinx]", "flake8", "isort (>=5.0.0)", "m2r2", "mistune (<2.0.0)", "mypy", "pygments", "pytest (>=7.1.0,<7.2.0)", "pytest-benchmark", "pytest-sanic", "sanic-testing (>=23.6.0)", "slotscheck (>=0.8.0,<1)", "sphinx (>=2.1.2)", "sphinx-rtd-theme (>=0.4.3)", "towncrier", "tox", "types-ujson", "uvicorn (<0.15.0)"]
dev = ["bandit", "beautifulsoup4", "black", "chardet (>=3.0.0,<4.0.0)", "coverage", "cryptography", "docutils", "flake8", "isort (>=5.0.0)", "mypy", "pygments", "pytest (>=7.1.0,<7.2.0)", "pytest-benchmark", "pytest-sanic", "sanic-testing (>=23.6.0)", "slotscheck (>=0.8.0,<1)", "towncrier", "tox", "types-ujson", "uvicorn (<0.15.0)"]
docs = ["docutils", "enum-tools[sphinx]", "m2r2", "mistune (<2.0.0)", "pygments", "sphinx (>=2.1.2)", "sphinx-rtd-theme (>=0.4.3)"]
ext = ["sanic-ext"]
http3 = ["aioquic"]
test = ["bandit", "beautifulsoup4", "black", "chardet (==3.*)", "coverage", "docutils", "flake8", "isort (>=5.0.0)", "mypy", "pygments", "pytest (==7.1.*)", "pytest-benchmark", "pytest-sanic", "sanic-testing (>=23.6.0)", "slotscheck (>=0.8.0,<1)", "types-ujson", "uvicorn (<0.15.0)"]
test = ["bandit", "beautifulsoup4", "black", "chardet (>=3.0.0,<4.0.0)", "coverage", "docutils", "flake8", "isort (>=5.0.0)", "mypy", "pygments", "pytest (>=7.1.0,<7.2.0)", "pytest-benchmark", "pytest-sanic", "sanic-testing (>=23.6.0)", "slotscheck (>=0.8.0,<1)", "types-ujson", "uvicorn (<0.15.0)"]
[[package]]
name = "sanic-ext"
version = "23.6.0"
description = "Extend your Sanic installation with some core functionality."
category = "main"
optional = false
python-versions = "*"
files = [
@ -1470,6 +1511,7 @@ test = ["Jinja2", "coverage", "pytest", "pytest-asyncio", "pytest-cov", "sanic-t
name = "sanic-routing"
version = "23.6.0"
description = "Core routing component for Sanic"
category = "main"
optional = false
python-versions = "*"
files = [
@ -1481,6 +1523,7 @@ files = [
name = "sanic-testing"
version = "23.6.0"
description = "Core testing clients for Sanic"
category = "main"
optional = false
python-versions = "*"
files = [
@ -1495,6 +1538,7 @@ httpx = ">=0.18"
name = "setuptools"
version = "68.1.2"
description = "Easily download, build, install, upgrade, and uninstall Python packages"
category = "main"
optional = false
python-versions = ">=3.8"
files = [
@ -1511,6 +1555,7 @@ testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs (
name = "sniffio"
version = "1.3.0"
description = "Sniff out which async library your code is running under"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -1522,6 +1567,7 @@ files = [
name = "soupsieve"
version = "2.4.1"
description = "A modern CSS selector implementation for Beautiful Soup."
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -1533,6 +1579,7 @@ files = [
name = "toolz"
version = "0.12.0"
description = "List processing tools and functional utilities"
category = "main"
optional = false
python-versions = ">=3.5"
files = [
@ -1544,6 +1591,7 @@ files = [
name = "tracerite"
version = "1.1.0"
description = "Human-readable HTML tracebacks for Python exceptions"
category = "main"
optional = false
python-versions = "*"
files = [
@ -1558,6 +1606,7 @@ html5tagger = ">=1.2.1"
name = "types-aiofiles"
version = "23.2.0.0"
description = "Typing stubs for aiofiles"
category = "main"
optional = false
python-versions = "*"
files = [
@ -1569,6 +1618,7 @@ files = [
name = "types-beautifulsoup4"
version = "4.12.0.6"
description = "Typing stubs for beautifulsoup4"
category = "main"
optional = false
python-versions = "*"
files = [
@ -1583,6 +1633,7 @@ types-html5lib = "*"
name = "types-html5lib"
version = "1.1.11.15"
description = "Typing stubs for html5lib"
category = "main"
optional = false
python-versions = "*"
files = [
@ -1594,6 +1645,7 @@ files = [
name = "types-ujson"
version = "5.8.0.1"
description = "Typing stubs for ujson"
category = "main"
optional = false
python-versions = "*"
files = [
@ -1605,6 +1657,7 @@ files = [
name = "typing-extensions"
version = "4.7.1"
description = "Backported and Experimental Type Hints for Python 3.7+"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -1616,6 +1669,7 @@ files = [
name = "ujson"
version = "5.8.0"
description = "Ultra fast JSON encoder and decoder for Python"
category = "main"
optional = false
python-versions = ">=3.8"
files = [
@ -1686,6 +1740,7 @@ files = [
name = "uvloop"
version = "0.17.0"
description = "Fast implementation of asyncio event loop on top of libuv"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -1730,6 +1785,7 @@ test = ["Cython (>=0.29.32,<0.30.0)", "aiohttp", "flake8 (>=3.9.2,<3.10.0)", "my
name = "websockets"
version = "11.0.3"
description = "An implementation of the WebSocket Protocol (RFC 6455 & 7692)"
category = "main"
optional = false
python-versions = ">=3.7"
files = [
@ -1809,6 +1865,7 @@ files = [
name = "yarl"
version = "1.9.2"
description = "Yet another URL library"
category = "main"
optional = false
python-versions = ">=3.7"
files = [