-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
142 lines (116 loc) · 3.63 KB
/
pyproject.toml
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
[project]
name = "la-searcher-bot"
version = "0.1.0"
description = "Liza Alert searcher bot"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"google-cloud-pubsub==2.16.0",
"google-cloud-secret-manager==2.16.0",
"google-cloud-logging==3.5.0",
"pydantic-settings==2.*",
"psycopg2-binary==2.9.5",
"pg8000==1.19.4",
"SQLAlchemy==1.4.11",
"nest_asyncio",
]
[project.optional-dependencies]
develop = [
"pytest>=7.0",
"polyfactory>=2.18",
"pytest-cov>=6.0",
"python-dotenv==1.*",
"ruff==0.8.6",
"uv>=0.5.15",
"pytest-xdist==3.*",
"pyannotate==1.2.*",
]
api_get_active_searches = [
"beautifulsoup4==4.9.3", # do we need to update it?
"lxml==4.9.1",
"functions-framework==3.*",
]
archive_notifications = ["pytz"]
archive_to_bigquery = ["google-cloud-bigquery==3.27.0"]
check_first_posts_for_changes = [
"requests==2.31.0",
"google-auth==2.19.1", # for API calls to other Google Cloud Functions
]
check_topics_by_upd_time = [
"requests==2.31.0",
"beautifulsoup4==4.9.3",
"lxml==4.9.1",
]
communicate = [
"python-telegram-bot[rate-limiter, job-queue]==20.2",
"httpx==0.23.3",
]
compose_notifications = [
"requests==2.31.0",
"urllib3==1.26.18", # http client
"idna==2.10", # translation of domain names
"certifi==2023.7.22", # SSL certificates
"chardet==4.0.0", # encoding detector
"python-dateutil", # extension to datetime module
"pytz==2021.1", # timezone
]
connect_to_forum = [
"requests==2.31.0",
"urllib3==1.26.18",
"beautifulsoup4==4.9.3",
"lxml==4.9.1",
"python-telegram-bot[rate-limiter, job-queue]==20.2",
"httpx==0.23.3",
]
identify_updates_of_first_posts = [
"requests==2.31.0",
"beautifulsoup4==4.9.3", # do we need to update it?
"lxml==4.9.1",
]
identify_updates_of_folders = [
"requests==2.31.0",
"beautifulsoup4==4.9.3",
"lxml==4.9.1",
"google-cloud-storage==2.10.0",
]
identify_updates_of_topics = [
"requests==2.31.0",
"urllib3==1.26.18", # http client
"idna==2.10", # translation of domain names
"certifi==2023.7.22", # SSL certificates
"beautifulsoup4==4.9.3", # BS4
"lxml==4.9.1", # for BS4
"chardet==4.0.0", # encoding detector
"cchardet==2.1.7", # encoding detector
"python-dateutil==2.8.2", # extension to datetime module
"geopy==2.2.0", # geocoding / coordinates
"yandex-geocoder==3.0.1", # # geocoding / coordinates
"natasha==1.4.0", # recognition of person and location within text string
"google-cloud-storage==2.10.0",
"google-auth==2.19.1", # for API calls to other Google Cloud Functions
]
manage_topics = []
manage_users = []
send_debug_to_admin = [
"python-telegram-bot[rate-limiter, job-queue]==20.2",
"httpx==0.23.3",
]
send_notifications = ["urllib3==1.26.18", "httpx==0.23.3"]
send_notifications_helper = ["urllib3==1.26.18", "httpx==0.23.3"]
send_notifications_helper_2 = ["urllib3==1.26.18", "httpx==0.23.3"]
title_recognize = [
"python-dateutil==2.8.2", # extension to datetime module
"natasha==1.4.0", # recognition of person and location within text string
"functions-framework==3.4.0", # a part of Google Cloud Functions Gen 2 framework
]
user_provide_info = [
"beautifulsoup4==4.9.3", # do we need to update it?
"lxml==4.9.1",
"functions-framework==3.*",
]
users_activate = []
[tool.ruff]
line-length = 120
format.quote-style = 'single'
[tool.coverage.run]
omit = ["*/tests/*"]