-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
151 lines (129 loc) · 4.64 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
143
144
145
146
147
148
149
150
151
# NOTE: this repository uses the tool somesy to help you easily maintain
# and synchronize all the high-level project metadata across multiple files.
# To see which other metadata can be added, check out the somesy documentation
# https://materials-data-science-and-informatics.github.io/somesy/main/
[tool.somesy.project]
name = "nmr_FAIR-DOs"
version = "0.1.0"
description = "This tool extracts metadata regarding NMR data from multiple repositories and creates FAIR-DOs for them."
license = "Apache-2.0"
keywords = [
"FAIR-DOs",
"metadata",
"repositories",
"NMR",
"Chemotion",
"NMRXiv",
"Elasticsearch",
"KIT-Data-Manager"
]
repository = "https://github.com/kit-data-manager/nmr_FAIR-DOs"
homepage = "https://kit-data-manager.github.io/nmr_FAIR-DOs"
documentation = "https://kit-data-manager.github.io/nmr_FAIR-DOs"
[[tool.somesy.project.people]]
given-names = "Maximilian"
family-names = "Inckmann"
email = "maximilian.inckmann@kit.edu"
orcid = "https://orcid.org/0009-0005-2800-4833"
author = true
maintainer = true
# You also can add more authors, maintainers or contributors here:
# [[tool.somesy.project.people]]
# given-names = "Another"
# family-names = "Contributor"
# email = "contributor@email.com"
# orcid = "https://orcid.org/0123-4567-8910-1112"
# ...
[tool.somesy.config]
verbose = true
[tool.poetry]
# ---- DO NOT EDIT - core project metadata managed by somesy ----
# to update, edit values in [tool.somesy.project] section
# and run somesy: poetry run somesy
name = "nmr_FAIR-DOs"
version = "0.1.0"
description = "This tool extracts metadata regarding NMR data from multiple repositories and creates FAIR-DOs for them."
license = "Apache-2.0"
authors = ["Maximilian Inckmann <maximilian.inckmann@kit.edu>"]
maintainers = ["Maximilian Inckmann <maximilian.inckmann@kit.edu>"]
keywords = ["FAIR-DOs", "metadata", "repositories", "NMR", "Chemotion", "NMRXiv", "Elasticsearch", "KIT-Data-Manager"]
repository = "https://github.com/kit-data-manager/nmr_FAIR-DOs"
homepage = "https://kit-data-manager.github.io/nmr_FAIR-DOs"
documentation = "https://kit-data-manager.github.io/nmr_FAIR-DOs"
# ----------------------------------------------------------------
# Python- and Poetry-specific metadata
# ------------------------------------
readme = "README.md"
classifiers = [
"Environment :: Console",
# TODO: update the classifier strings
# (see https://pypi.org/classifiers/)
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License"
]
# the Python packages that will be included in a built distribution:
packages = [{include = "nmr_FAIR_DOs", from = "src"}]
# always include basic info for humans and core metadata in the distribution,
# include files related to test and documentation only in sdist:
include = [
"*.md", "LICENSE", "LICENSES", ".reuse/dep5", "CITATION.cff", "codemeta.json",
{ path = "mkdocs.yml", format = "sdist" },
{ path = "docs", format = "sdist" },
]
[tool.poetry.dependencies]
python = "^3.12"
typer = "^0.15.1"
basemodel = "^20190604.1625"
aiohttp = "^3.11.11"
elasticsearch = "^8.17.0"
python-dotenv = "^1.0.1"
types-requests = "^2.32.0.20241016"
requests = "^2.32.3"
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.27.0"
pre-commit = "^3.5.0"
licensecheck = "^2024.2"
httpx = "^0.27.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.6.0"
mkdocstrings = {extras = ["python"], version = "^0.25.2"}
mkdocs-material = "^9.5.30"
mkdocs-gen-files = "^0.5.0"
mkdocs-literate-nav = "^0.6.1"
mkdocs-section-index = "^0.3.9"
mkdocs-macros-plugin = "^1.0.5"
markdown-include = "^0.8.1"
pymdown-extensions = "^10.9"
markdown-exec = {extras = ["ansi"], version = "^1.9.3"}
mike = "^2.1.2"
anybadge = "^1.14.0"
interrogate = "^1.7.0"
black = "^24.4.2"
[tool.poetry.scripts]
# put your script entrypoints here
# some-script = 'module.submodule:some_object'
nmr_FAIR-DOs-cli = 'nmr_FAIR_DOs.cli:app'
nmr_FAIR-DOs-api = 'nmr_FAIR_DOs.api:run'
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# NOTE: You can run the following with "poetry poe TASK"
[tool.poe.tasks]
init-dev = "pre-commit install" # run once after clone to enable various tools
lint = "pre-commit run" # pass --all-files to check everything
docs = "mkdocs build" # run this to generate local documentation
licensecheck = "licensecheck" # run this when you add new deps
[tool.flake8]
ignore = ["W503"]
max-line-length = 88
[tool.pydocstyle]
convention = "google"
[tool.bandit]
exclude_dirs = ["scripts"]
[tool.licensecheck]
using = "poetry"