2024-07-01 23:19:13 +00:00
|
|
|
[project]
|
2023-08-25 07:52:12 +00:00
|
|
|
name = "nwb-linkml"
|
2023-08-12 02:52:35 +00:00
|
|
|
description = "Translating NWB schema language to LinkML"
|
2024-07-02 02:01:15 +00:00
|
|
|
version = "0.2.0"
|
2024-07-01 23:19:13 +00:00
|
|
|
authors = [
|
|
|
|
{name = "sneakers-the-rat", email = "sneakers-the-rat@protonmail.me"},
|
|
|
|
]
|
|
|
|
license = {text = "AGPL-3.0"}
|
2023-08-12 02:52:35 +00:00
|
|
|
readme = "README.md"
|
2024-07-01 23:19:13 +00:00
|
|
|
requires-python = "<3.13,>=3.10"
|
|
|
|
dependencies = [
|
2024-08-16 06:31:40 +00:00
|
|
|
"nwb-models>=0.1.0",
|
2024-07-01 23:19:13 +00:00
|
|
|
"pyyaml>=6.0",
|
|
|
|
"linkml-runtime>=1.7.7",
|
|
|
|
"nwb-schema-language>=0.1.3",
|
|
|
|
"rich>=13.5.2",
|
2024-07-03 08:34:24 +00:00
|
|
|
#"linkml>=1.7.10",
|
2024-07-18 07:39:56 +00:00
|
|
|
"linkml @ git+https://github.com/sneakers-the-rat/linkml@nwb-linkml",
|
2024-08-28 03:49:53 +00:00
|
|
|
"linkml-runtime>=1.8.2",
|
2024-07-01 23:19:13 +00:00
|
|
|
"pydantic>=2.3.0",
|
|
|
|
"h5py>=3.9.0",
|
|
|
|
"pydantic-settings>=2.0.3",
|
|
|
|
"tqdm>=4.66.1",
|
2024-07-02 07:10:28 +00:00
|
|
|
'typing-extensions>=4.12.2;python_version<"3.11"',
|
2024-08-14 06:38:53 +00:00
|
|
|
"numpydantic>=1.3.3",
|
2024-07-10 07:05:41 +00:00
|
|
|
"black>=24.4.2",
|
2024-07-31 08:30:06 +00:00
|
|
|
"pandas>=2.2.2",
|
2024-08-31 08:47:42 +00:00
|
|
|
"networkx>=3.3",
|
2024-07-01 23:19:13 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[project.urls]
|
2023-10-09 23:33:02 +00:00
|
|
|
homepage = "https://nwb-linkml.readthedocs.io"
|
|
|
|
repository = "https://github.com/p2p-ld/nwb-linkml/"
|
|
|
|
documentation = "https://nwb-linkml.readthedocs.io"
|
2023-09-27 02:50:49 +00:00
|
|
|
|
2024-07-01 23:19:13 +00:00
|
|
|
[project.optional-dependencies]
|
|
|
|
plot = [
|
|
|
|
"dash<3.0.0,>=2.12.1",
|
|
|
|
"dash-cytoscape<1.0.0,>=0.3.0",
|
|
|
|
]
|
2023-09-06 04:47:41 +00:00
|
|
|
tests = [
|
2024-08-14 04:25:56 +00:00
|
|
|
"nwb-linkml",
|
2024-08-14 07:09:24 +00:00
|
|
|
"pytest>=8.0.0",
|
2024-07-01 23:19:13 +00:00
|
|
|
"pytest-depends<2.0.0,>=1.0.1",
|
|
|
|
"pytest-cov<5.0.0,>=4.1.0",
|
2024-08-14 07:09:24 +00:00
|
|
|
"sybil>=6.0.3",
|
2024-07-02 07:34:01 +00:00
|
|
|
"requests-cache>=1.2.1",
|
2024-08-30 07:39:10 +00:00
|
|
|
"pynwb>=2.8.1",
|
2023-09-06 04:47:41 +00:00
|
|
|
]
|
2024-07-02 04:22:35 +00:00
|
|
|
dev = [
|
|
|
|
"nwb-linkml[tests]",
|
|
|
|
"ruff>=0.5.0",
|
|
|
|
]
|
2023-08-12 02:52:35 +00:00
|
|
|
|
2024-07-01 23:19:13 +00:00
|
|
|
[tool.pdm]
|
|
|
|
distribution = true
|
2023-08-25 07:22:47 +00:00
|
|
|
|
2024-07-01 23:19:13 +00:00
|
|
|
[tool.pdm.build]
|
|
|
|
includes = ["src/nwb_linkml", "src/nwb_linkml/schema/**/*"]
|
2023-08-12 02:52:35 +00:00
|
|
|
[build-system]
|
2024-07-01 23:19:13 +00:00
|
|
|
requires = ["pdm-backend"]
|
|
|
|
build-backend = "pdm.backend"
|
2023-08-21 06:00:58 +00:00
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
2023-10-06 01:10:04 +00:00
|
|
|
addopts = [
|
|
|
|
"--cov=nwb_linkml",
|
|
|
|
"--cov-append",
|
2023-10-09 22:06:53 +00:00
|
|
|
"--cov-config=.coveragerc",
|
2023-10-20 04:20:50 +00:00
|
|
|
"-p no:doctest",
|
2024-07-09 07:27:22 +00:00
|
|
|
"--ignore=tests/__tmp__",
|
|
|
|
"--ignore=src/nwb_linkml/schema"
|
2023-10-06 01:10:04 +00:00
|
|
|
]
|
2024-07-25 04:51:55 +00:00
|
|
|
markers = [
|
|
|
|
"dev: tests that are just for development rather than testing correctness",
|
2024-08-13 01:48:59 +00:00
|
|
|
"provider: tests for providers!",
|
|
|
|
"linkml: tests related to linkml generation",
|
|
|
|
"pydantic: tests related to pydantic generation"
|
2024-07-25 04:51:55 +00:00
|
|
|
]
|
2023-09-06 04:47:41 +00:00
|
|
|
testpaths = [
|
2024-07-09 07:27:22 +00:00
|
|
|
"src/nwb_linkml",
|
2023-09-06 05:29:48 +00:00
|
|
|
"tests",
|
2023-09-06 04:47:41 +00:00
|
|
|
]
|
2023-10-10 01:59:53 +00:00
|
|
|
filterwarnings = [
|
2023-10-10 06:40:31 +00:00
|
|
|
"ignore::DeprecationWarning",
|
2023-10-10 01:59:53 +00:00
|
|
|
"ignore:parse_obj:pydantic.PydanticDeprecatedSince20"
|
2024-07-01 23:19:13 +00:00
|
|
|
]
|