-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
97 lines (86 loc) · 3.14 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
[tool.poetry]
name = "iscc-sdk"
version = "0.6.2"
description = "SDK for creating ISCCs (International Standard Content Codes)"
authors = ["Titusz <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://sdk.iscc.codes"
repository = "https://github.com/iscc/iscc-sdk"
keywords=["iscc", "identifier", "media", "content", "similarity"]
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Cython",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia",
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Video",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Indexing",
]
[tool.poetry.urls]
"Changelog" = "https://sdk.iscc.codes/changelog"
"Coverage" = "https://app.codecov.io/gh/iscc/iscc-sdk"
"Bug Tracker" = "https://github.com/iscc/iscc-sdk/issues"
"Twitter" = "https://twitter.com/iscc_foundation"
"Donate" = "https://iscc.foundation/support"
[tool.poetry.scripts]
idk = 'iscc_sdk.cli:app'
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
cython = "*"
iscc-core = "^1.0"
iscc-schema = "^0.4"
python-magic-bin = { version = "^0.4", markers = "sys_platform == 'win32' or (sys_platform == 'darwin' and platform_machine == 'x86_64')" }
python-magic = { version = "^0.4", markers = "sys_platform == 'linux' or (sys_platform == 'darwin' and platform_machine == 'arm64')" }
install-jdk = "^0.3"
platformdirs = "*"
jmespath = "^1.0"
Pillow = "*"
pytaglib = "^2.0"
numpy = "^1.25"
pymupdf = "^1.21"
ebookmeta = "^1.2"
python-docx = "*"
typer = "*"
pillow-avif-plugin = "^1.4"
pillow-heif = "^0.14"
[tool.poetry.group.dev.dependencies]
pytest = "*"
ruff = "*"
coverage = "*"
pytest-cov = "*"
poethepoet = "*"
mkdocs-material = "*"
mkdocstrings-python = "*"
iscc-samples = "*"
codetiming = "*"
mdformat = "*"
mdformat_admon = "*"
mdformat_tables = "*"
griffe = "<0.27.4"
[tool.ruff]
line-length = 100
[tool.coverage.run]
omit = ["iscc_sdk/install.py"]
[tool.poe.tasks]
build-docs = { cmd = "poetry run python -m devtools.build_docs", help = "Copy README.md to /docs" }
format-code = { cmd = "poetry run ruff format", help = "Code style formating with ruff" }
format-md = { cmd = "poetry run mdformat --wrap 100 README.md", help = "Markdown formating with mdformat" }
lf = { cmd = "poetry run python -m devtools.lf", help = "Convert line endings to lf"}
test = { cmd = "poetry run pytest --cov=iscc_sdk --cov-fail-under=100", help = "Run tests with coverage" }
all = ["format-md", "build-docs", "lf", "format-code", "test"]
[build-system]
requires = ["poetry-core>=1.0.0", "Cython", "setuptools>=69.0.2", "wheel"]
build-backend = "poetry.core.masonry.api"