-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
145 lines (132 loc) · 4.33 KB
/
Copy pathpyproject.toml
File metadata and controls
145 lines (132 loc) · 4.33 KB
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
[build-system]
requires = [
"hatchling>=1.13.0",
]
build-backend = "hatchling.build"
[project]
name = "servicex"
version = "3.3.1"
description = "Python SDK and CLI Client for ServiceX"
readme = "README.md"
license = { text = "BSD-3-Clause" } # SPDX short identifier
requires-python = ">=3.10"
authors = [
{ name = "Ben Galewsky", email = "bengal1@illinois.edu" },
{ name = "Gordon Watts", email = "gwatts@uw.edu" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"qastle>=0.17",
"func_adl>=3.2.6",
"requests>=2.31",
"pydantic>=2.6.0",
"httpx>=0.24",
"httpx_retries>=0.3.2",
"aioboto3>=14.1.0",
"tinydb>=4.7",
"google-auth>=2.17",
"typer>=0.12.1",
"PyYAML>=6.0",
"types-PyYAML>=6.0",
"typing_extensions; python_version <= '3.10'", # compatible versions controlled through pydantic
"rich>=13.0.0", # databinder
"make-it-sync", # compatible versions controlled through func_adl
"ruamel.yaml>=0.18.7",
"filelock>=3.12.0",
"tenacity >= 9.0.0"
]
[project.scripts]
servicex = "servicex.app.main:app"
[project.urls]
Documentation = "https://servicex.readthedocs.io/"
Homepage = "https://github.com/ssl-hep/ServiceX_frontend"
"Issue Tracker" = "https://github.com/ssl-hep/ServiceX_frontend/issues"
"Release Notes" = "https://github.com/ssl-hep/ServiceX_frontend/releases"
"Releases" = "https://github.com/ssl-hep/ServiceX_frontend/releases"
"Source Code" = "https://github.com/ssl-hep/ServiceX_frontend"
[project.optional-dependencies]
# Developer extras
test = [
"pytest>=7.2.0",
"pytest-mock>=3.10.0",
"pytest-cov>=4.0.0",
"pytest-console-scripts>=1.4.1",
"flake8>=5.0.4",
"mypy>=0.981",
"pytest-asyncio>=0.21.0",
"asyncmock>=0.4.2",
"pandas (>=2.0.2, <3)",
"fastparquet>=2024.11.0",
"pre-commit>=4.0.1",
"pytest-aioboto3>=0.6.0",
"types-aiobotocore>=2.7.0,<=2.26.0",
"coverage>=7.0.0",
]
docs = [
"sphinx>=7.0.1, <8.2.0",
"furo>=2023.5.20",
"sphinx-code-include>=1.4.0",
"myst-parser>=3.0.1",
"func-adl-servicex-xaodr22",
"autodoc-pydantic==2.2.0",
"sphinx-tabs>=3.4.5",
"sphinx-copybutton>=0.5.2",
"enum-tools[sphinx]>=0.12.0",
"sphinx-design"
]
develop = [
"servicex[test,docs]",
]
[project.entry-points.'servicex.query']
FuncADL_Uproot = "servicex.func_adl.func_adl_dataset:FuncADLQuery_Uproot"
FuncADL_ATLASr21 = "servicex.func_adl.func_adl_dataset:FuncADLQuery_ATLASr21"
FuncADL_ATLASr22 = "servicex.func_adl.func_adl_dataset:FuncADLQuery_ATLASr22"
FuncADL_ATLASxAOD = "servicex.func_adl.func_adl_dataset:FuncADLQuery_ATLASxAOD"
FuncADL_CMS = "servicex.func_adl.func_adl_dataset:FuncADLQuery_CMS"
PythonFunction = "servicex.python_dataset:PythonFunction"
UprootRaw = "servicex.uproot_raw.uproot_raw:UprootRawQuery"
TopCP = "servicex.topcp.topcp:TopCPQuery"
[project.entry-points.'servicex.dataset']
Rucio = "servicex.dataset_identifier:RucioDatasetIdentifier"
FileList = "servicex.dataset_identifier:FileListDataset"
CERNOpenData = "servicex.dataset_identifier:CERNOpenDataDatasetIdentifier"
XRootD = "servicex.dataset_identifier:XRootDDatasetIdentifier"
[tool.hatch.build.targets.sdist]
# hatchling always includes:
# pyproject.toml, .gitignore, any README, any LICENSE, AUTHORS
include = [
"/servicex/",
"/tests/"
]
[tool.hatch.build.targets.wheel]
packages = ["servicex"]
[tool.coverage.run]
source = ["servicex"]
omit = [
"*/tests/*",
"*/test_*",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.hatch.envs.test]
features = ["test"]
[tool.hatch.envs.test.scripts]
test = "pytest {args}"
cov = "coverage run --source servicex/ -m pytest tests && coverage report"
cov-html = "coverage run --source servicex/ -m pytest tests && coverage html"