Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/localstack-samples/localstack-snowflake-samples
Examples & use-cases around LocalStack for Snowflake
https://github.com/localstack-samples/localstack-snowflake-samples
emulator local-development local-testing localstack snowflake snowflake-local snowflake-localstack
Last synced: about 2 months ago
JSON representation
Examples & use-cases around LocalStack for Snowflake
- Host: GitHub
- URL: https://github.com/localstack-samples/localstack-snowflake-samples
- Owner: localstack-samples
- License: apache-2.0
- Created: 2024-01-11T12:05:56.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-08-14T14:56:19.000Z (4 months ago)
- Last Synced: 2024-08-14T16:27:06.886Z (4 months ago)
- Topics: emulator, local-development, local-testing, localstack, snowflake, snowflake-local, snowflake-localstack
- Language: Jupyter Notebook
- Homepage: https://snowflake.localstack.cloud/introduction/
- Size: 2.36 MB
- Stars: 3
- Watchers: 11
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Examples & use-cases around LocalStack for Snowflake
This repository contains sample projects that can be deployed on LocalStack for Snowflake to demonstrate how to use the Snowflake emulator to develop and test data applications locally.
## Pre-requisites
Each samples project has its own pre-requisites. Please refer to the `README.md` file in each project for more information. In general, you will need the following:
* [Docker](https://docs.docker.com/get-docker/) installed
* [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
- [LocalStack for Snowflake](https://snowflake.localstack.cloud/getting-started/installation/)## Outline
| Project Name | Description |
|-------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|
| [citi-bike-data-app](./citi-bike-data-app) | A sample application that demonstrates how to seed Citibike data into Snowflake and query the data using a web server. |
| [credit-card-fraud-detection-with-snowpark](./credit-card-fraud-detection-with-snowpark) | A sample application that demonstrates how to use Snowpark to query credit card fraud data in Snowflake. |
| [credit-scoring-with-snowpark](./credit-scoring-with-snowpark) | A sample application that demonstrates how to use Snowpark to query credit scoring data in Snowflake. |
| [lambda-snowpark-connector](./lambda-snowpark-connector) | A sample application that demonstrates how to use Snowpark in an AWS Lambda function to query data in Snowflake. |
| [predicting-customer-spend](./predicting-customer-spend) | A sample application that demonstrates how to use Snowpark to query customer spend data in Snowflake. |
| [streamlit-snowpark-dynamic-filters](./streamlit-snowpark-dynamic-filters) | A sample application that demonstrates how to use Snowpark to query data in Snowflake and visualize the data using Streamlit. |## Checking out a single sample
To check out a single sample, you can use the following commands:
```bash
mkdir localstack-snowflake-samples && cd localstack-snowflake-samples
git init
git remote add origin -f [email protected]:localstack/localstack-pro-samples.git
git config core.sparseCheckout true
echo >> .git/info/sparse-checkout
git pull origin master
```The above commands use `sparse-checkout` to only pull the sample you are interested in. You can find the name of the sample directory in the table above.