Skip to content

Commit 0c11247

Browse files
committed
Bumping version to 2.0.0.
1 parent a987364 commit 0c11247

File tree

5 files changed

+17
-28
lines changed

5 files changed

+17
-28
lines changed

README.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
> An [AWS Professional Service](https://aws.amazon.com/professional-services/) open source initiative | [email protected]
88
9-
[![Release](https://img.shields.io/badge/release-1.10.1-brightgreen.svg)](https://pypi.org/project/awswrangler/)
9+
[![Release](https://img.shields.io/badge/release-2.0.0-brightgreen.svg)](https://pypi.org/project/awswrangler/)
1010
[![Python Version](https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8-brightgreen.svg)](https://anaconda.org/conda-forge/awswrangler)
1111
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
1212
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
@@ -56,17 +56,10 @@ df = wr.s3.read_parquet("s3://bucket/dataset/", dataset=True)
5656
# Retrieving the data from Amazon Athena
5757
df = wr.athena.read_sql_query("SELECT * FROM my_table", database="my_db")
5858

59-
# Get Redshift connection (SQLAlchemy) from Glue and retrieving data from Redshift Spectrum
60-
engine = wr.catalog.get_engine("my-redshift-connection")
61-
df = wr.db.read_sql_query("SELECT * FROM external_schema.my_table", con=engine)
62-
63-
# Get MySQL connection (SQLAlchemy) from Glue Catalog and LOAD the data into MySQL
64-
engine = wr.catalog.get_engine("my-mysql-connection")
65-
wr.db.to_sql(df, engine, schema="test", name="my_table")
66-
67-
# Get PostgreSQL connection (SQLAlchemy) from Glue Catalog and LOAD the data into PostgreSQL
68-
engine = wr.catalog.get_engine("my-postgresql-connection")
69-
wr.db.to_sql(df, engine, schema="test", name="my_table")
59+
# Get a Redshift connection from Glue Catalog and retrieving data from Redshift Spectrum
60+
con = wr.redshift.connect("my-glue-connection")
61+
df = wr.redshift.read_sql_query("SELECT * FROM external_schema.my_table", con=con)
62+
con.close()
7063
```
7164

7265
## [Read The Docs](https://aws-data-wrangler.readthedocs.io/)
@@ -112,7 +105,10 @@ wr.db.to_sql(df, engine, schema="test", name="my_table")
112105
- [Amazon S3](https://aws-data-wrangler.readthedocs.io/en/stable/api.html#amazon-s3)
113106
- [AWS Glue Catalog](https://aws-data-wrangler.readthedocs.io/en/stable/api.html#aws-glue-catalog)
114107
- [Amazon Athena](https://aws-data-wrangler.readthedocs.io/en/stable/api.html#amazon-athena)
115-
- [Databases (Amazon Redshift, PostgreSQL, MySQL)](https://aws-data-wrangler.readthedocs.io/en/stable/api.html#databases-amazon-redshift-postgresql-mysql)
108+
- [Amazon Redshift](https://aws-data-wrangler.readthedocs.io/en/stable/api.html#amazon-redshift)
109+
- [PostgreSQL](https://aws-data-wrangler.readthedocs.io/en/stable/api.html#postgresql)
110+
- [MySQL](https://aws-data-wrangler.readthedocs.io/en/stable/api.html#mysql)
111+
- [Amazon Timestream](https://aws-data-wrangler.readthedocs.io/en/stable/api.html#amazon-timestream)
116112
- [Amazon EMR](https://aws-data-wrangler.readthedocs.io/en/stable/api.html#amazon-emr)
117113
- [Amazon CloudWatch Logs](https://aws-data-wrangler.readthedocs.io/en/stable/api.html#amazon-cloudwatch-logs)
118114
- [Amazon QuickSight](https://aws-data-wrangler.readthedocs.io/en/stable/api.html#amazon-quicksight)

awswrangler/__metadata__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77

88
__title__: str = "awswrangler"
99
__description__: str = "Pandas on AWS."
10-
__version__: str = "1.10.1"
10+
__version__: str = "2.0.0"
1111
__license__: str = "Apache License 2.0"

docs/source/index.rst

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,10 @@ Quick Start
2727
# Retrieving the data from Amazon Athena
2828
df = wr.athena.read_sql_query("SELECT * FROM my_table", database="my_db")
2929
30-
# Get Redshift connection (SQLAlchemy) from Glue and retrieving data from Redshift Spectrum
31-
engine = wr.catalog.get_engine("my-redshift-connection")
32-
df = wr.db.read_sql_query("SELECT * FROM external_schema.my_table", con=engine)
33-
34-
# Get MySQL connection (SQLAlchemy) from Glue Catalog and LOAD the data into MySQL
35-
engine = wr.catalog.get_engine("my-mysql-connection")
36-
wr.db.to_sql(df, engine, schema="test", name="my_table")
37-
38-
# Get PostgreSQL connection (SQLAlchemy) from Glue Catalog and LOAD the data into PostgreSQL
39-
engine = wr.catalog.get_engine("my-postgresql-connection")
40-
wr.db.to_sql(df, engine, schema="test", name="my_table")
30+
# Get a Redshift connection from Glue Catalog and retrieving data from Redshift Spectrum
31+
con = wr.redshift.connect("my-glue-connection")
32+
df = wr.redshift.read_sql_query("SELECT * FROM external_schema.my_table", con=con)
33+
con.close()
4134
4235
Read The Docs
4336
-------------

docs/source/what.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
What is AWS Data Wrangler?
22
==========================
33

4-
An `AWS Professional Service <https://aws.amazon.com/professional-services>`_ `open source <https://github.com/awslabs/aws-data-wrangler>`_ python initiative that extends the power of `Pandas <https://github.com/pandas-dev/pandas>`_ library to AWS connecting **DataFrames** and AWS data related services (**Amazon Redshift**, **AWS Glue**, **Amazon Athena**, **Amazon EMR**, **Amazon QuickSight**, etc).
4+
An `AWS Professional Service <https://aws.amazon.com/professional-services>`_ `open source <https://github.com/awslabs/aws-data-wrangler>`_ python initiative that extends the power of `Pandas <https://github.com/pandas-dev/pandas>`_ library to AWS connecting **DataFrames** and AWS data related services (**Amazon Redshift**, **AWS Glue**, **Amazon Athena**, **Amazon Timestream**, **Amazon EMR**, **Amazon QuickSight**, etc).
55

6-
Built on top of other open-source projects like `Pandas <https://github.com/pandas-dev/pandas>`_, `Apache Arrow <https://github.com/apache/arrow>`_, `Boto3 <https://github.com/boto/boto3>`_, `SQLAlchemy <https://github.com/sqlalchemy/sqlalchemy>`_, `Psycopg2 <https://github.com/psycopg/psycopg2>`_ and `PyMySQL <https://github.com/PyMySQL/PyMySQL>`_, it offers abstracted functions to execute usual ETL tasks like load/unload data from **Data Lakes**, **Data Warehouses** and **Databases**.
6+
Built on top of other open-source projects like `Pandas <https://github.com/pandas-dev/pandas>`_, `Apache Arrow <https://github.com/apache/arrow>`_ and `Boto3 <https://github.com/boto/boto3>`_, it offers abstracted functions to execute usual ETL tasks like load/unload data from **Data Lakes**, **Data Warehouses** and **Databases**.
77

88
Check our `tutorials <https://github.com/awslabs/aws-data-wrangler/tree/master/tutorials>`_ or the `list of functionalities <https://aws-data-wrangler.readthedocs.io/en/stable/api.html>`_.

tests/test_metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
def test_metadata():
5-
assert wr.__version__ == "1.10.1"
5+
assert wr.__version__ == "2.0.0"
66
assert wr.__title__ == "awswrangler"
77
assert wr.__description__ == "Pandas on AWS."
88
assert wr.__license__ == "Apache License 2.0"

0 commit comments

Comments
 (0)