-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (123 loc) · 3.19 KB
/
pyproject.toml
File metadata and controls
143 lines (123 loc) · 3.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[project]
name = "trustcheck"
version = "4.0.0"
description = "Sanctions screening and monitoring platform - Track OFAC, UN, EU, and UK sanctions lists"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.11"
authors = [
{name = "TrustCheck Team"}
]
keywords = ["sanctions", "compliance", "ofac", "screening", "aml", "kyc"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business :: Financial",
]
dependencies = [
# Web Framework
"fastapi>=0.115.0",
"uvicorn[standard]>=0.32.0",
"pydantic>=2.10.0",
"pydantic-settings>=2.6.0",
# Database
"sqlalchemy>=2.0.36",
"asyncpg>=0.29.0",
"aiosqlite>=0.20.0",
"alembic>=1.14.0",
# HTTP & Parsing
"httpx[http2]>=0.28.0",
"lxml>=5.3.0",
"beautifulsoup4>=4.12.0",
"openpyxl>=3.1.0",
"xlrd>=2.0.0",
# Background Jobs
"apscheduler>=3.10.0",
# Name Matching
"rapidfuzz>=3.10.0",
"jellyfish>=1.1.0",
"unidecode>=1.3.0",
# Templating (for web UI)
"jinja2>=3.1.0",
"python-multipart>=0.0.9",
# Utilities
"python-dateutil>=2.9.0",
"structlog>=24.4.0",
"cachetools>=5.5.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=6.0.0",
"ruff>=0.8.0",
"mypy>=1.13.0",
"pre-commit>=4.0.0",
"httpx>=0.28.0",
]
[project.scripts]
trustcheck = "trustcheck.main:main"
[project.urls]
Homepage = "https://github.com/OthmanMohammad/TrustCheck"
Repository = "https://github.com/OthmanMohammad/TrustCheck"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/trustcheck"]
[tool.ruff]
target-version = "py311"
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long (handled by formatter)
"B008", # do not perform function calls in argument defaults
"B904", # raise without from inside except
"ARG001", # unused function argument
]
[tool.ruff.lint.isort]
known-first-party = ["trustcheck"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = "-v --tb=short"
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.coverage.run]
source = ["src/trustcheck"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if TYPE_CHECKING:",
]