Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (121 loc) · 2.92 KB
/
Copy pathpyproject.toml
File metadata and controls
125 lines (121 loc) · 2.92 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "nypl_py_utils"
version = "1.13.2"
authors = [
{ name="Aaron Friedman", email="aaronfriedman@nypl.org" },
]
description = "A package containing Python utilities for use across NYPL"
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = []
[project.urls]
"Homepage" = "https://github.com/NYPL/python-utils"
"Bug Tracker" = "https://github.com/NYPL/python-utils/issues"
[project.optional-dependencies]
avro-client = [
"nypl_py_utils[log-helper]",
"fastavro==1.13.1",
"requests==2.34.2"
]
azure-client = [
"nypl_py_utils[log-helper]",
"mssql-python==1.16.0",
"pandas==3.1.0"
]
batch-client = [
"nypl_py_utils[log-helper]",
"boto3==1.43.120",
"botocore==1.43.120"
]
cloudlibrary-client = [
"nypl_py_utils[log-helper]",
"requests==2.34.2"
]
kinesis-client = [
"nypl_py_utils[log-helper]",
"boto3==1.43.120",
"botocore==1.43.120"
]
kms-client = [
"nypl_py_utils[log-helper]",
"boto3==1.43.120",
"botocore==1.43.120"
]
mysql-client = [
"nypl_py_utils[log-helper]",
"mysql-connector-python==26.10.0"
]
oauth2-api-client = [
"nypl_py_utils[log-helper]",
"oauthlib==4.0.0",
"requests_oauthlib==2.0.0"
]
postgresql-client = [
"nypl_py_utils[log-helper]",
"psycopg[binary]==3.3.6"
]
redshift-client = [
"nypl_py_utils[log-helper]",
"botocore==1.43.120",
"redshift-connector==2.2.0"
]
s3-client = [
"nypl_py_utils[log-helper]",
"boto3==1.43.120",
"botocore==1.43.120"
]
secrets-manager-client = [
"nypl_py_utils[log-helper]",
"boto3==1.43.120",
"botocore==1.43.120"
]
sftp-client = [
"nypl_py_utils[log-helper]",
"paramiko==5.1.0"
]
snowflake-client = [
"nypl_py_utils[log-helper]",
"snowflake-connector-python==4.7.5"
]
config-helper = [
"nypl_py_utils[kms-client,log-helper]",
"PyYAML==6.0.3"
]
log-helper = [
"structlog==26.1.0"
]
obfuscation-helper = [
"nypl_py_utils[log-helper]",
"bcrypt==5.0.0"
]
patron-data-helper = [
"nypl_py_utils[postgresql-client,redshift-client,log-helper]",
"pandas==3.1.0"
]
research-catalog-identifier-helper = [
"requests==2.34.2"
]
development = [
"nypl_py_utils[avro-client,azure-client,batch-client,cloudlibrary-client,kinesis-client,kms-client,mysql-client,oauth2-api-client,postgresql-client,redshift-client,s3-client,secrets-manager-client,sftp-client,snowflake-client,config-helper,log-helper,obfuscation-helper,patron-data-helper,research-catalog-identifier-helper]",
"flake8==7.4.1",
"freezegun==1.5.5",
"mock==5.2.0",
"pytest==9.2.0",
"pytest-mock==3.17.0",
"requests-mock==1.12.1"
]
[tool.pytest.ini_options]
minversion = "8.0"
addopts = "-ra -q"
pythonpath = "src"
testpaths = [
"tests"
]