-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
64 lines (57 loc) · 2.3 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
[tool.poetry]
name = "src_rest"
version = "0.1.0"
description = "Moscow restoraunts"
authors = ["Ismail Gadzhiev <ismailgadzhievff@gmail.com>"]
[tool.poetry.dependencies]
python = ">=3.8,<4"
black = "^22.6.0"
mypy = "^0.971"
pandas = "^1.4.3"
pytest = "^7.1.2"
requests = "^2.28.1"
types-requests = "^2.28.9"
requests-mock = "^1.9.3"
click = "^8.1.3"
pytest-cov = "^3.0.0"
snakemake = "^7.13.0"
beautifulsoup4 = "^4.11.1"
joblib = "^1.1.0"
natasha = "^1.4.0"
dostoevsky = "^0.6.0"
[tool.poetry.dev-dependencies]
jupyter = "^1.0.0"
matplotlib = "^3.5.3"
natasha = "^1.4.0"
types-beautifulsoup4 = "^4.11.5"
scikit-learn = "^1.1.2"
catboost = "^1.0.6"
openpyxl = "^3.0.10"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.mypy]
ignore_missing_imports = true
[tool.poetry.scripts]
load_mosdata = "src_rest.loaders.data_loaders_api:load_mosdata"
load_sentiment = "src_rest.loaders.data_loaders_api:load_sentiment"
concat_data = "src_rest.transformers.transform:concat_data"
process_mosdata = "src_rest.transformers.transform_mosdata:process_mosdata"
mosdata_datamart = "src_rest.transformers.transform_mosdata:mosdata_datamart"
load_moscow_restaurants = "src_rest.loaders.data_loaders_scrapy:load_moscow_restaurants"
load_moscow_restaurants_det = "src_rest.loaders.data_loaders_scrapy:load_moscow_restaurants_detailed"
process_mos_rest = "src_rest.transformers.transform_mos_rest:process_mos_rest"
process_mos_rest_detailed = "src_rest.transformers.transform_mos_rest:process_mos_rest_detailed"
mos_rest_datamart = "src_rest.transformers.transform_mos_rest:mos_rest_datamart"
create_text_features = "src_rest.transformers.transform:create_text_features"
create_aspects = "src_rest.transformers.transform:create_aspects"
collect_aspects = "src_rest.transformers.transform:collect_aspects"
collect_named_aspects = "src_rest.transformers.transform:collect_named_aspects"
transform_sentiments ="src_rest.transformers.transform:transform_sentiments"
train_sentiment_model = "src_rest.models.models:train_sentiment_model"
create_final_dataset = "src_rest.transformers.transform:create_final_dataset"
[tool.pytest.ini_options]
addopts = "--cov-report xml:coverage-reports/coverage.xml --cov-report=term-missing --cov=src_rest --cov-report=html"
[tool.coverage.run]
omit = ['src/src_rest/tests/*']
source = ['.']