forked from weblyzard/inscriptis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (51 loc) · 1.81 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
[tool.poetry]
name = "inscriptis"
version = "2.5.3"
authors = ["Albert Weichselbraun <[email protected]>", "Fabian Odoni <[email protected]>"]
description = "inscriptis - HTML to text converter."
keywords = ["HTML", "converter", "text"]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Topic :: Text Processing',
'Topic :: Text Processing :: Markup :: HTML',
'Topic :: Utilities',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
]
homepage = "https://github.com/weblyzard/inscriptis"
repository = "https://github.com/weblyzard/inscriptis"
documentation = "https://inscriptis.readthedocs.io/en"
license = "Apache-2.0"
readme = "README.rst"
packages = [
{include = "inscriptis", from="src"},
]
[tool.poetry.scripts]
inscript = "inscriptis.cli.inscript:cli"
inscriptis-api = "inscriptis.service.web:start"
[tool.poetry.extras]
web-service = ["fastapi", "uvicorn"]
[tool.poetry.dependencies]
python = "^3.9 || ^3.10 || ^3.11 || ^3.12 || ^3.13"
requests = ">=2.32.2"
lxml = ">=4.9.3"
# optional dependencies
fastapi = { version = "^0.109.1", optional = true }
uvicorn = { version = "^0.27.1", optional = true }
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# code formatting with black
[tool.black]
line-length = 88
target-version = ["py39", "py310", "py311", "py312", "py313"]
extend-exclude = '\.html$|\.json$|\.txt$|/a$|/b$'
include = '''
^/src/|^/tests/|^/benchmarking/|^/examples/
'''