Skip to content

Commit 8f57bff

Browse files
HarshCasperwhummer
andauthored
remove references to extension; swap it with emulator (#5)
* remove references to extension; swap it with emulator * Update credit-scoring-with-snowpark/README.md Co-authored-by: Waldemar Hummer <[email protected]> --------- Co-authored-by: Waldemar Hummer <[email protected]>
1 parent 5a9a0e2 commit 8f57bff

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

credit-scoring-with-snowpark/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
# Credit Scoring with Snowpark & LocalStack
22

3-
This notebook demonstrates how to use Snowpark for Python to perform exploratory data analysis (EDA) on a credit scoring dataset. This notebook uses LocalStack's Snowflake extension to emulate Snowflake APIs locally.
3+
This notebook demonstrates how to use Snowpark for Python to perform exploratory data analysis (EDA) on a credit scoring dataset. This notebook uses LocalStack's Snowflake emulator to run Snowflake data pipelines locally.
44

55
## Prerequisites
66

7-
- [LocalStack](https://localstack.cloud/) with `LOCALSTACK_AUTH_TOKEN` environment variable set
8-
- [LocalStack Snowflake extension](https://discuss.localstack.cloud/t/introducing-the-localstack-snowflake-extension-experimental/665)
7+
- [`localstack` CLI](https://docs.localstack.cloud/getting-started/installation/#localstack-cli) with [`LOCALSTACK_AUTH_TOKEN`](https://docs.localstack.cloud/getting-started/auth-token/) environment variable set
8+
- [LocalStack Snowflake emulator](https://snowflake.localstack.cloud/getting-started/installation/)
99
- [Snowpark for Python](https://docs.snowflake.com/en/developer-guide/snowpark/python/index)
1010
- [Jupyter Notebook](https://jupyter.org/)
1111

1212
## Running the notebook
1313

14-
Start the LocalStack container using your preferred method. Ensure that you have access to LocalStack's Snowflake extension. Start a Jupyter Notebook server and open the notebook in your browser.
14+
Start the LocalStack container using your preferred method. Ensure that you have access to LocalStack's Snowflake emulator. Start a Jupyter Notebook server and open the notebook in your browser.
1515

1616
```bash
1717
jupyter notebook
1818
```
1919

20-
Open the `credit-scoring-eda.ipynb` notebook and run the cells to see the results. Follow the instructions in the notebook to install the required packages and set up the Snowflake extension.
20+
Open the `credit-scoring-eda.ipynb` notebook and run the cells to see the results. Follow the instructions in the notebook to install the required packages and set up the Snowflake emulator.
2121

2222
## License
2323

credit-scoring-with-snowpark/credit-scoring-eda.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"source": [
88
"# Credit Scoring with Snowpark & LocalStack\n",
99
"\n",
10-
"In this notebook, we will explore how you can use LocalStack's Snowflake emulator extension, to develop and test your Snowflake data pipelines entirely on your local machine! In this notebook, we will showcase how you can use LocalStack's Snowflake with Snowpark for Python and your favorite Python libraries for data analysis!"
10+
"In this notebook, we will explore how you can use LocalStack's Snowflake emulator, to develop and test your Snowflake data pipelines entirely on your local machine! In this notebook, we will showcase how you can use LocalStack's Snowflake with Snowpark for Python and your favorite Python libraries for data analysis!"
1111
]
1212
},
1313
{

lambda-snowpark-connector/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ local-invoke: ## Invoke the Lambda locally
2828
--payload '{"body": "test" }' output.txt
2929

3030
start-localstack:
31-
DOCKER_FLAGS="-e DEBUG=1 -e SF_LOG=trace" LAMBDA_RUNTIME_ENVIRONMENT_TIMEOUT=180 localstack start -d
31+
DOCKER_FLAGS="-e DEBUG=1 -e SF_LOG=trace" LAMBDA_RUNTIME_ENVIRONMENT_TIMEOUT=180 IMAGE_NAME=localstack/snowflake:latest localstack start -d
3232

3333
ready: ## Check if the LocalStack container is up and running.
3434
localstack wait -t 20 && echo "LocalStack is ready to use!"

lambda-snowpark-connector/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ This example demonstrates how to connect Snowpark to AWS Lambda locally using Lo
1010
## Prerequisites
1111

1212
- Python 3.10 installed locally
13-
- [LocalStack](https://localstack.cloud/) with `LOCALSTACK_AUTH_TOKEN` environment variable set
14-
- [LocalStack Snowflake extension](https://discuss.localstack.cloud/t/introducing-the-localstack-snowflake-extension-experimental/665)
13+
- [`localstack` CLI](https://docs.localstack.cloud/getting-started/installation/#localstack-cli) with [`LOCALSTACK_AUTH_TOKEN`](https://docs.localstack.cloud/getting-started/auth-token/) environment variable set
14+
- [LocalStack Snowflake emulator](https://snowflake.localstack.cloud/getting-started/installation/)
1515

1616
## Instructions
1717

@@ -25,7 +25,7 @@ make install
2525

2626
### Start the LocalStack container
2727

28-
Start LocalStack after installing the Snowflake extension:
28+
Start LocalStack:
2929

3030
```bash
3131
make start-localstack

predicting-customer-spend/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
An E-Commerce company aims to apply machine learning for understanding customer engagement with its digital platforms (website and app). The goal is to determine whether to prioritize improving the mobile app or website. Using a Linear Regression model, we will assess the impact of user activity on the likelihood of increased spending.
44

5-
In this sample notebook, we will explore how you can use LocalStack's Snowflake emulator extension, to develop and test your Snowflake data pipelines entirely on your local machine! In this notebook, we will showcase how you can use LocalStack's Snowflake with Snowpark for Python and your favorite Python libraries for data analysis and machine learning.
5+
In this sample notebook, we will explore how you can use LocalStack's Snowflake emulator to develop and test your Snowflake data pipelines entirely on your local machine! In this notebook, we will showcase how you can use LocalStack's Snowflake with Snowpark for Python and your favorite Python libraries for data analysis and machine learning.
66

77
## Prerequisites
88

9-
- [LocalStack](https://localstack.cloud/) with `LOCALSTACK_AUTH_TOKEN` environment variable set
9+
- [`localstack` CLI](https://docs.localstack.cloud/getting-started/installation/#localstack-cli) with [`LOCALSTACK_AUTH_TOKEN`](https://docs.localstack.cloud/getting-started/auth-token/) environment variable set
1010
- [LocalStack Snowflake emulator](https://snowflake.localstack.cloud/getting-started/installation/)
1111
- [Snowpark for Python](https://docs.snowflake.com/en/developer-guide/snowpark/python/index)
1212
- [Jupyter Notebook](https://jupyter.org/)
@@ -19,7 +19,7 @@ Start the [LocalStack Snowflake emulator](https://snowflake.localstack.cloud/get
1919
jupyter notebook
2020
```
2121

22-
Open the `linear-regression-model.ipynb` notebook and run the cells to see the results. Follow the instructions in the notebook to install the required packages and set up the Snowflake extension.
22+
Open the `linear-regression-model.ipynb` notebook and run the cells to see the results. Follow the instructions in the notebook to install the required packages and set up the Snowflake emulator.
2323

2424
## License
2525

predicting-customer-spend/linear-regression-model.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"\n",
1010
"An E-Commerce company aims to apply machine learning for understanding customer engagement with its digital platforms (website and app). The goal is to determine whether to prioritize improving the mobile app or website. Using a Linear Regression model, we will assess the impact of user activity on the likelihood of increased spending.\n",
1111
"\n",
12-
"In this notebook, we will explore how you can use LocalStack's Snowflake emulator extension, to develop and test your Snowflake data pipelines entirely on your local machine! In this notebook, we will showcase how you can use LocalStack's Snowflake with Snowpark for Python and your favorite Python libraries for data analysis and machine learning."
12+
"In this notebook, we will explore how you can use LocalStack's Snowflake emulator to develop and test your Snowflake data pipelines entirely on your local machine! In this notebook, we will showcase how you can use LocalStack's Snowflake with Snowpark for Python and your favorite Python libraries for data analysis and machine learning."
1313
]
1414
},
1515
{

0 commit comments

Comments
 (0)