-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
70 lines (65 loc) · 2.6 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
# setup.py
import setuptools
DESCRIPTION=\
"data_algebra is a data manipulation language that can both generate SQL queries and work on Pandas DataFrames."
LONG_DESCRIPTION = """
[data_algebra](https://github.com/WinVector/data_algebra) is a piped data wrangling system
based on Codd's relational algebra and experience working with data manipulation languages at scale.
The primary purpose of the package is to support an easy to
compose and maintain grammar of data processing steps that in turn can be used to generate
database specific SQL. The package also implements the same transforms for Pandas and Polars DataFrames.
Currently the system is primarily adapted and testing for Pandas, Polars, Google BigQuery, PostgreSQL, SQLite, Spark, and
MySQL.
[R](https://www.r-project.org) versions of the system are available as
the [rquery](https://github.com/WinVector/rquery) and
[rqdatatable](https://github.com/WinVector/rqdatatable) packages.
"""
setuptools.setup(
name='data_algebra',
version='1.7.2',
author='John Mount',
author_email='jmount@win-vector.com',
url='https://github.com/WinVector/data_algebra',
packages=setuptools.find_packages(exclude=['tests', 'Examples']),
install_requires=[
"numpy>=1.25.0",
"pandas>=2.0.0",
"lark"
],
extras_require={
'pretty_python': ['black'],
'BigQuery': ['google.cloud', 'pyarrow', 'google-cloud-bigquery', 'db_dtypes'],
'PostgreSQL': ['sqlalchemy', 'psycopg2'],
'MySQL': ['sqlalchemy', 'pymysql'],
'Spark': ['pyspark'],
'Polars': [
'polars>=0.19.2',
'pyarrow'
],
'all': ['black',
'google.cloud', 'pyarrow', 'google-cloud-bigquery',
'sqlalchemy', 'psycopg2',
'pymysql',
'pyspark',
'polars>=0.15.3',
'pyarrow'
],
},
platforms=['any'],
license='License :: OSI Approved :: BSD 3-clause License',
python_requires=">=3.7",
description=DESCRIPTION,
long_description_content_type='text/markdown',
classifiers=[
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'License :: OSI Approved :: BSD License',
],
long_description=LONG_DESCRIPTION,
)