forked from huscker/profanity-filter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
57 lines (53 loc) · 1.93 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
[tool.poetry]
name = "profanity-filter"
version = "1.3.3"
description = "A Python library for detecting and filtering profanity"
authors = ["Roman Inflianskas <[email protected]>"]
maintainers = ["Roman Inflianskas <[email protected]>"]
license = "GPL-3.0+"
readme = "README.md"
repository = "https://github.com/rominf/profanity-filter"
keywords = ["library", "profanity", "filter", "censor"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Natural Language :: English",
"Natural Language :: Russian",
"Topic :: Text Processing :: Filters",
"Topic :: Text Processing :: Linguistic",
"Topic :: Software Development :: Libraries :: Python Modules"
]
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
spacy = "^2.2.3"
ordered-set = "^3.1.1"
cached-property = "^1.5"
dataclasses = {version = "^0.6.0",python = "~3.6"}
poetry-version = "^0.1.3"
more-itertools = "^8.0"
redis = "^5.0.4"
pydantic = "^2.2.1"
python-Levenshtein = {version = "^0.12.0", optional = true }
regex = {version = "^2019.12.20", optional = true }
polyglot = {version = "^16.7", optional = true }
pycld2 = {version = "=0.31", optional = true }
PyICU = {version = "^2.4", optional = true }
pymorphy2-dicts-ru = {version = "^2.4.404381", optional = true }
pymorphy2-dicts-uk = {version = "^2.4.1", optional = true }
appdirs = {version = "^1.4.3", optional = true }
fastapi = {version = "^0.100.0", optional = true }
uvicorn = {version = "^0.11.1", optional = true }
ruamel-yaml = "^0.18.6"
cyhunspell-py310 = "^2.0.3"
[tool.poetry.extras]
deep-analysis = ["hunspell", "python-Levenshtein", "regex"]
multilingual = ["polyglot", "pycld2", "PyICU"]
pymorphy2-ru = ["pymorphy2-dicts-ru"]
pymorphy2-uk = ["pymorphy2-dicts-uk"]
web = ["appdirs", "fastapi", "uvicorn"]
[tool.poetry.dev-dependencies]
pytest = "^3.8"
dill = "^0.2.9"
[tool.poetry.scripts]
profanity_filter = 'profanity_filter.console:main'