Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

feat(enrichers): switch to uv

dextmorgncfaece5af29b
diff --git a/flowsint-enrichers/README.md b/flowsint-enrichers/README.md
index 804763dd..d2196045 100644
--- a/flowsint-enrichers/README.md
+++ b/flowsint-enrichers/README.md
@@ -5,7 +5,7 @@ The repository containing open-source enrichers for flowsint.
## Testing
```bash
-poetry run pytest
+uv run pytest
```
> ⚠️ 🚧 Work in progress !.
diff --git a/flowsint-enrichers/pyproject.toml b/flowsint-enrichers/pyproject.toml
index a3133359..3abdb56e 100644
--- a/flowsint-enrichers/pyproject.toml
+++ b/flowsint-enrichers/pyproject.toml
@@ -1,44 +1,55 @@
-[tool.poetry]
+[project]
name = "flowsint-enrichers"
-version = "1.0.0"
-license = "Apache-2.0"
+version = "1.2.8"
description = "Enricher modules for flowsint"
-authors = ["dextmorgn <[email protected]>"]
-packages = [{ include = "flowsint_enrichers", from = "src" }]
+license = "Apache-2.0"
+authors = [{ name = "dextmorgn", email = "[email protected]" }]
+requires-python = ">=3.12,<4.0"
+dependencies = [
+ "flowsint-types",
+ "flowsint-core",
+ "holehe>=1.61,<2.0",
+ "sherlock-project>=0.15.0,<0.16.0",
+ "requests>=2.31,<3.0",
+ "python-whois>=0.9.5,<0.10.0",
+ "httpx>=0.28.0,<0.29.0",
+ "pydig>=0.4,<0.5",
+ "ignorant>=1.2,<2.0",
+ "hibpwned>=1.3.9,<2.0.0",
+ "phonenumbers>=9.0.8,<10.0.0",
+ "pydantic>=2.11.7,<3.0.0",
+ "requests-random-user-agent>=2023.10.25,<2024.0.0",
+ "maigret",
+ "recontrack",
+ "reconcrawl",
+ "reconspread",
+ "dnspython>=2.4,<3.0",
+]
+
+[dependency-groups]
+dev = [
+ "pytest>=8.4.2,<9.0.0",
+ "pytest-asyncio>=0.21,<0.22",
+ "black>=25.0,<26.0",
+ "isort>=6.0,<7.0",
+ "flake8>=7.0,<8.0",
+ "mypy>=1.17,<2.0",
+]
+
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
-[tool.poetry.dependencies]
-python = ">=3.12,<4.0"
-flowsint-types = { path = "../flowsint-types", develop = true }
-flowsint-core = { path = "../flowsint-core", develop = true }
-holehe = "^1.61"
-sherlock-project = "^0.15.0"
-requests = "^2.31"
-python-whois = "^0.9.5"
-httpx = "^0.28.0"
-pydig = "^0.4"
-ignorant = "^1.2"
-hibpwned = "^1.3.9"
-phonenumbers = "^9.0.8"
-pydantic = "^2.11.7"
+[tool.hatch.build.targets.wheel]
+packages = ["src/flowsint_enrichers"]
-requests-random-user-agent = "^2023.10.25"
-maigret = { git = "https://github.com/soxoj/maigret", python = ">=3.12,<4.0" }
+[tool.uv.sources]
+flowsint-types = { workspace = true }
+flowsint-core = { workspace = true }
+maigret = { git = "https://github.com/soxoj/maigret" }
recontrack = { git = "https://github.com/reconurge/recontrack.git" }
reconcrawl = { git = "https://github.com/reconurge/reconcrawl.git" }
reconspread = { git = "https://github.com/reconurge/reconspread.git" }
-dnspython = "^2.4"
-
-[tool.poetry.group.dev.dependencies]
-pytest = "^8.4.2"
-pytest-asyncio = "^0.21"
-black = "^25.0"
-isort = "^6.0"
-flake8 = "^7.0"
-mypy = "^1.17"
-
-[build-system]
-requires = ["poetry-core"]
-build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
@@ -52,4 +63,4 @@ multi_line_output = 3
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
-disallow_untyped_defs = true
+disallow_untyped_defs = true