70 lines
1.7 KiB
TOML
70 lines
1.7 KiB
TOML
[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]
|
|
python = "^3.8.1"
|
|
redis = {version = "^5.0.4", extras = ["hiredis"]}
|
|
flask-restx = "^1.3.0"
|
|
gunicorn = "^22.0.0"
|
|
python-dateutil = "^2.9.0.post0"
|
|
pyipasnhistory = "^2.1.2"
|
|
pycountry = "^23.12.11"
|
|
beautifulsoup4 = "^4.12.3"
|
|
aiohttp = "^3.9.5"
|
|
Bootstrap-Flask = "^2.4.0"
|
|
pid = "^3.0.4"
|
|
pybgpranking2 = "^2.0.1"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
ipython = [
|
|
{version = "<8.13.0", python = "<3.9"},
|
|
{version = "^8.18.0", python = ">=3.9"},
|
|
{version = "^8.24.0", python = ">=3.10"}
|
|
]
|
|
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"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
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
|