forked from mage-ai/mage-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
196 lines (191 loc) · 5.89 KB
/
setup.py
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
import setuptools
def readme():
with open('README.md', encoding='utf8') as f:
README = f.read()
return README
requirements = []
with open('requirements.txt') as f:
for line in f.read().splitlines():
if line.startswith('# extras'):
break
requirements.append(line)
setuptools.setup(
name='mage-ai',
# NOTE: when you change this, change the value of VERSION in the following file:
# mage_ai/server/constants.py
version='0.9.62',
author='Mage',
author_email='eng@mage.ai',
description='Mage is a tool for building and deploying data pipelines.',
long_description=readme(),
long_description_content_type='text/markdown',
url='https://github.com/mage-ai/mage-ai',
packages=setuptools.find_packages('.'),
include_package_data=True,
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
],
install_requires=requirements,
python_requires='>=3.7',
entry_points={
'console_scripts': [
'mage=mage_ai.cli.main:app',
],
},
extras_require={
'ai': [
'astor>=0.8.1',
'langchain>=0.0.222',
'openai>=0.27.8, <1.0.0',
],
'azure': [
'azure-eventhub==5.11.2',
'azure-identity==1.12.0',
'azure-keyvault-secrets==4.6.0',
'azure-keyvault-certificates==4.6.0',
'azure-mgmt-containerinstance==10.1.0',
'azure-storage-blob==12.14.1',
],
'bigquery': [
'google-cloud-bigquery~=3.0',
'db-dtypes==1.0.5',
],
'chroma': [
'chromadb>=0.4.17',
],
'clickhouse': [
'clickhouse-connect~=0.6.23',
],
'dbt': [
'dbt-bigquery==1.7.2',
'dbt-clickhouse==1.7.1',
'dbt-core==1.7.4',
'dbt-duckdb==1.7.0',
'dbt-postgres==1.7.4',
'dbt-redshift==1.7.1',
'dbt-snowflake==1.7.1',
'dbt-spark==1.7.1',
'dbt-sqlserver==1.3.1',
'dbt-trino==1.7.1',
'trino~=0.326',
],
'google-cloud-storage': [
'google-cloud-storage==2.5.0',
'gspread==5.7.2',
],
'hdf5': ['tables==3.7.0'],
'mysql': [
'mysql-connector-python~=8.2.0',
],
'oracle': [
'oracledb==1.3.1',
],
'postgres': [
'psycopg2==2.9.3',
'psycopg2-binary==2.9.3',
'sshtunnel==0.4.0',
],
'qdrant': [
'qdrant-client==1.6.9',
'sentence-transformers==2.2.2',
],
'redshift': [
'boto3==1.26.60',
'redshift-connector==2.0.915',
'lxml==4.9.4',
],
's3': [
'boto3==1.26.60',
'botocore==1.29.60',
],
'snowflake': [
'snowflake-connector-python==3.4.0',
],
'spark': [
'boto3==1.26.60',
'botocore==1.29.60',
],
'streaming': [
'confluent-avro~=1.8.0',
'elasticsearch==8.9.0',
'influxdb_client==1.36.1',
'kafka-python==2.0.2',
'nats-py==2.6.0',
'nkeys~=0.1.0',
'opensearch-py==2.0.0',
'pika==1.3.1',
'pymongo==4.3.3',
'requests_aws4auth==1.1.2',
'stomp.py==8.1.0',
],
'all': [
'PyGithub==1.59.0',
'astor>=0.8.1',
'aws-secretsmanager-caching==1.1.1.5',
'azure-eventhub==5.11.2',
'azure-identity==1.12.0',
'azure-keyvault-certificates==4.6.0',
'azure-keyvault-secrets==4.6.0',
'azure-mgmt-containerinstance==10.1.0',
'azure-storage-blob==12.14.1',
'boto3==1.26.60',
'botocore==1.29.60',
'chromadb>=0.4.17',
'clickhouse-connect~=0.6.23',
'confluent-avro~=1.8.0',
'db-dtypes==1.0.5',
'dbt-bigquery==1.7.2',
'dbt-clickhouse==1.7.1',
'dbt-core==1.7.4',
'dbt-duckdb==1.7.0',
'dbt-postgres==1.7.4',
'dbt-redshift==1.7.1',
'dbt-snowflake==1.7.1',
'dbt-spark==1.7.1',
'dbt-sqlserver==1.3.1',
'dbt-trino==1.7.1',
'duckdb==0.9.2',
'elasticsearch==8.9.0',
'google-api-core~=2.15.0',
'google-api-python-client~=2.70.0',
'google-cloud-bigquery~=3.14.1',
'google-cloud-iam~=2.13.0',
'google-cloud-pubsub~=2.19.0',
'google-cloud-run~=0.10.1',
'google-cloud-storage~=2.5.0',
'great_expectations==0.15.50',
'gspread==5.7.2',
'influxdb_client==1.36.1',
'kafka-python==2.0.2',
'kubernetes>=28.1.0',
'langchain>=0.0.222',
'ldap3==2.9.1',
'nats-py==2.6.0',
'nkeys~=0.1.0',
'openai>=0.27.8, <1.0.0',
'opensearch-py==2.0.0',
'opentelemetry-exporter-prometheus==0.41b0',
'opentelemetry-instrumentation-tornado==0.41b0',
'oracledb==1.3.1',
'pika==1.3.1',
'pinotdb==5.1.0',
'prometheus_client>=0.18.0',
'protobuf~=4.21.12',
'psycopg2-binary==2.9.3',
'psycopg2==2.9.3',
'pydruid==0.6.5',
'pymongo==4.3.3',
'pyodbc==4.0.35',
'redshift-connector==2.0.915',
'lxml==4.9.4',
'requests_aws4auth==1.1.2',
'snowflake-connector-python==3.4.0',
'sshtunnel==0.4.0',
'stomp.py==8.1.0',
'thefuzz[speedup]==0.19.0',
'trino~=0.326',
],
},
)