2021-12-06 14:30:08 +01:00
|
|
|
[tool.poetry]
|
|
|
|
name = "bgpranking"
|
|
|
|
version = "2.0"
|
|
|
|
description = "BGP Ranking is a software to rank AS numbers based on their malicious activities."
|
|
|
|
authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
|
|
|
|
license = "AGPLv3"
|
|
|
|
|
|
|
|
[tool.poetry.scripts]
|
|
|
|
start = "bin.start:main"
|
|
|
|
stop = "bin.stop:main"
|
|
|
|
update = "bin.update:main"
|
|
|
|
shutdown = "bin.shutdown:main"
|
|
|
|
run_backend = "bin.run_backend:main"
|
|
|
|
start_website = "bin.start_website:main"
|
|
|
|
|
|
|
|
archiver = "bin.archiver:main"
|
|
|
|
asn_descriptions = "bin.asn_descriptions:main"
|
|
|
|
dbinsert = "bin.dbinsert:main"
|
|
|
|
fetcher = "bin.fetcher:main"
|
|
|
|
parser = "bin.parser:main"
|
|
|
|
ranking = "bin.ranking:main"
|
|
|
|
sanitizer = "bin.sanitizer:main"
|
|
|
|
ssfetcher = "bin.ssfetcher:main"
|
|
|
|
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2022-12-12 11:41:13 +01:00
|
|
|
python = "^3.8.1"
|
2024-05-27 10:38:45 +02:00
|
|
|
redis = {version = "^5.0.4", extras = ["hiredis"]}
|
|
|
|
flask-restx = "^1.3.0"
|
|
|
|
gunicorn = "^22.0.0"
|
|
|
|
python-dateutil = "^2.9.0.post0"
|
2023-01-06 02:16:00 +01:00
|
|
|
pyipasnhistory = "^2.1.2"
|
2024-05-27 10:38:45 +02:00
|
|
|
pycountry = "^23.12.11"
|
|
|
|
beautifulsoup4 = "^4.12.3"
|
|
|
|
aiohttp = "^3.9.5"
|
|
|
|
Bootstrap-Flask = "^2.4.0"
|
2021-12-06 14:30:08 +01:00
|
|
|
pid = "^3.0.4"
|
2022-01-18 14:23:23 +01:00
|
|
|
pybgpranking2 = "^2.0.1"
|
2021-12-06 14:30:08 +01:00
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
2023-07-22 11:53:05 +02:00
|
|
|
ipython = [
|
|
|
|
{version = "<8.13.0", python = "<3.9"},
|
2024-05-27 10:38:45 +02:00
|
|
|
{version = "^8.18.0", python = ">=3.9"},
|
|
|
|
{version = "^8.24.0", python = ">=3.10"}
|
2023-07-22 11:53:05 +02:00
|
|
|
]
|
2024-05-27 10:38:45 +02:00
|
|
|
mypy = "^1.10.0"
|
|
|
|
types-setuptools = "^70.0.0.20240524"
|
|
|
|
types-redis = "^4.6.0.20240425"
|
|
|
|
types-requests = "^2.32.0.20240523"
|
|
|
|
types-python-dateutil = "^2.9.0.20240316"
|
2021-12-06 14:30:08 +01:00
|
|
|
|
|
|
|
[build-system]
|
2024-05-27 10:38:45 +02:00
|
|
|
requires = ["poetry-core"]
|
2021-12-06 14:30:08 +01:00
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
python_version = 3.8
|
|
|
|
check_untyped_defs = true
|
|
|
|
ignore_errors = false
|
|
|
|
ignore_missing_imports = false
|
|
|
|
strict_optional = true
|
|
|
|
no_implicit_optional = true
|
|
|
|
warn_unused_ignores = true
|
|
|
|
warn_redundant_casts = true
|
|
|
|
warn_unused_configs = true
|
|
|
|
warn_unreachable = true
|
|
|
|
|
|
|
|
show_error_context = true
|
|
|
|
pretty = true
|