-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
setup.cfg
260 lines (244 loc) · 7.29 KB
/
setup.cfg
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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
# This file is used to configure your project.
# Read more about the various options under:
# http://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files
[metadata]
name = shillelagh
description = Making it easy to query APIs via SQL
author = Beto Dealmeida
author-email = [email protected]
license = mit
long-description = file: README.rst
long-description-content-type = text/x-rst; charset=UTF-8
url = https://github.com/betodealmeida/shillelagh/
project-urls =
Documentation = https://shillelagh.readthedocs.io/
# Documentation = https://pyscaffold.org/
# Change if running only on Windows, Mac or Linux (comma-separated)
platforms = any
# Add here all kinds of additional classifiers as defined under
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Science/Research
License :: OSI Approved :: MIT License
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
Programming Language :: SQL
[options]
zip_safe = False
packages = find_namespace:
include_package_data = True
package_dir =
=src
# DON'T CHANGE THE FOLLOWING LINE! IT WILL BE UPDATED BY PYSCAFFOLD!
# Add here dependencies of your project (semicolon/line-separated), e.g.
# install_requires = numpy; scipy
install_requires =
importlib-metadata; python_version<"3.10"
apsw>=3.9.2
python_dateutil>=2.8.1
requests>=2.31.0
requests-cache>=0.7.1
sqlalchemy>=1.3
greenlet>=2.0.2 # needed for Python 3.11 w/o memory leak
typing_extensions>=3.7.4.3
packaging
# The usage of test_requires is discouraged, see `Dependency Management` docs
# tests_require = pytest; pytest-cov
# Require a specific Python version, e.g. Python 2.7 or >= 3.4
# python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
python_requires = >=3.9
obsoletes =
gsheetsdb
[options.packages.find]
where = src
exclude =
tests
[options.extras_require]
# Add here additional requirements for extra features, to install with:
# `pip install shillelagh[PDF]` like:
# PDF = ReportLab; RXP
# Add here test requirements (semicolon/line-separated)
testing =
PyYAML>=5.4
appdirs>=1.4.4
beautifulsoup4>=4.11.1
boto3>=1.24.28
codespell>=2.1.0
defusedxml>=0.7.1
dill>=0.3.6
flake8-pyproject>=1.2.3
freezegun>=1.1.0
google-auth>=1.23.0
holidays>=0.23
html5lib>=1.1
# multicorn @ git+https://github.com/pgsql-io/[email protected]
pandas>=1.2.2
pip-tools>=6.4.0
pre-commit>=2.13.0
pip-compile-multi>=2.6.3
prison>=0.2.1
prompt_toolkit>=3
psutil>=5.8.0
psycopg2-binary>=2.9.9
pyarrow>=14.0.1
pyfakefs>=4.3.3
pygments>=2.8
pylint>=2.16.2
pytest-cov>=2.11.1
pytest-integration==0.2.2
pytest-mock>=3.5.1
pytest>=7.2.0
python-graphql-client>=0.4.3
python-jsonpath>=0.10.3
requests-mock>=1.8.0
ruff>=0.3.7
sqlglot>=23.0.2
tabulate>=0.8.9
yarl>=1.8.1
all =
PyYAML>=5.4
appdirs>=1.4.4
beautifulsoup4>=4.11.1
boto3>=1.24.28
defusedxml>=0.7.1
google-auth>=1.23.0
holidays>=0.23
html5lib>=1.1
# multicorn @ git+https://github.com/pgsql-io/[email protected]
pandas>=1.2.2
prison>=0.2.1
prompt_toolkit>=3
psutil>=5.8.0
psycopg2-binary>=2.9.9
pyarrow>=14.0.1
pygments>=2.8
python-graphql-client>=0.4.3
python-jsonpath>=0.10.3
sqlglot>=23.0.2
tabulate>=0.8.9
yarl>=1.8.1
docs =
sphinx>=4.0.1
console =
PyYAML>=5.4
appdirs>=1.4.4
prompt_toolkit>=3
pygments>=2.8
tabulate>=0.8.9
dbtmetricflowapi =
pyarrow>=14.0.1
python-graphql-client>=0.4.3
sqlglot>=23.0.2
genericjsonapi =
prison>=0.2.1
python-jsonpath>=0.10.3
yarl>=1.8.1
genericxmlapi =
defusedxml>=0.7.1
prison>=0.2.1
yarl>=1.8.1
githubapi =
python-jsonpath>=0.10.3
gsheetsapi =
google-auth>=1.23.0
pyopenssl>=24.0.0
holidaysmemory =
holidays>=0.23
htmltableapi =
beautifulsoup4>=4.11.1
html5lib>=1.1
pandas>=1.2.2
multicorn =
# multicorn @ git+https://github.com/pgsql-io/[email protected]
psycopg2-binary>=2.9.9
pandasmemory =
pandas>=1.2.2
s3selectapi =
boto3>=1.24.28
systemapi =
psutil>=5.8.0
[options.entry_points]
# Add here console scripts like:
shillelagh.adapter =
csvfile = shillelagh.adapters.file.csvfile:CSVFile
datasetteapi = shillelagh.adapters.api.datasette:DatasetteAPI
dbtmetricflowapi = shillelagh.adapters.api.dbt_metricflow:DbtMetricFlowAPI
genericjsonapi = shillelagh.adapters.api.generic_json:GenericJSONAPI
genericxmlapi = shillelagh.adapters.api.generic_xml:GenericXMLAPI
githubapi = shillelagh.adapters.api.github:GitHubAPI
gsheetsapi = shillelagh.adapters.api.gsheets.adapter:GSheetsAPI
holidaysmemory = shillelagh.adapters.memory.holidays:HolidaysMemory
htmltableapi = shillelagh.adapters.api.html_table:HTMLTableAPI
pandasmemory = shillelagh.adapters.memory.pandas:PandasMemory
presetapi = shillelagh.adapters.api.preset:PresetAPI
presetworkspaceapi = shillelagh.adapters.api.preset:PresetWorkspaceAPI
s3selectapi = shillelagh.adapters.api.s3select:S3SelectAPI
socrataapi = shillelagh.adapters.api.socrata:SocrataAPI
systemapi = shillelagh.adapters.api.system:SystemAPI
weatherapi = shillelagh.adapters.api.weatherapi:WeatherAPI
sqlalchemy.dialects =
shillelagh = shillelagh.backends.apsw.dialects.base:APSWDialect
shillelagh.apsw = shillelagh.backends.apsw.dialects.base:APSWDialect
shillelagh.safe = shillelagh.backends.apsw.dialects.safe:APSWSafeDialect
gsheets = shillelagh.backends.apsw.dialects.gsheets:APSWGSheetsDialect
shillelagh.multicorn2 = shillelagh.backends.multicorn.dialects.base:Multicorn2Dialect
console_scripts =
shillelagh = shillelagh.console:main
# For example:
# console_scripts =
# fibonacci = shillelagh.skeleton:run
# And any other entry points, for example:
# pyscaffold.cli =
# awesome = pyscaffoldext.awesome.extension:AwesomeExtension
[test]
# py.test options when running `python setup.py test`
# addopts = --verbose
extras = True
[tool:pytest]
# Options for py.test:
# Specify command line options as you would do when invoking py.test directly.
# e.g. --cov-report html (or xml) for html/xml output or --junitxml junit.xml
# in order to write a coverage file that can be read by Jenkins.
addopts =
--cov shillelagh --cov-report=term-missing:skip-covered
--verbose
norecursedirs =
dist
build
.tox
testpaths = tests
pythonpath = src
[coverage:report]
fail_under = 100
[aliases]
dists = bdist_wheel
[bdist_wheel]
# Use this option if your package is pure-python
universal = 1
[build_sphinx]
source_dir = docs
build_dir = build/sphinx
[devpi:upload]
# Options for the devpi: PyPI server and packaging tool
# VCS export must be deactivated since we are using setuptools-scm
no-vcs = 1
formats = bdist_wheel
[flake8]
# Some sane defaults for the code style checker flake8
exclude =
.tox
build
dist
.eggs
docs/conf.py
[pyscaffold]
# PyScaffold's parameters when the project was created.
# This will be used when updating. Do not change!
version = 4.6
package = shillelagh
extensions =
pre_commit