icon icon

Python and Snowflake – Data Engineering in the Cloud: from Queries to Automation

icon

Training process

Training needs analysis

If you have specific requirements regarding the training programme, we will carry out a training needs analysis for you. This will guide us on which aspects of the programme should receive greater emphasis, so that the training programme meets your specific needs.

What will you gain?

icon

Working with Snowflake in the cloud - You will learn how to navigate Snowflake confidently, understand its architecture, and use storage and compute layers in a practical way during everyday data engineering work.

icon

Building data structures - You will practice creating schemas, tables, and views, and loading CSV, JSON, and Parquet files, so you can set up a complete data environment for analysis and integration.

icon

Writing better SQL - You will master SQL with JOINs, CTEs, subqueries, and aggregations, and learn time travel, fail-safe, and optimization techniques to query and recover data more effectively.

icon

Connecting Python to Snowflake - You will configure Python connections to Snowflake, work with different authentication methods, and learn how to open and close sessions safely in your scripts and applications.

icon

Handling data from Python - You will send SQL queries from Python, load results into pandas DataFrames, and parameterize commands, so you can combine programming logic with efficient data operations.

icon

Analytics and reporting - You will analyze Snowflake data with pandas, numpy, matplotlib, and seaborn, then prepare reports and exports to CSV or Excel that are ready for business stakeholders.

icon

Automating pipelines - You will build simple ETL workflows in Python, review scheduling options, and see how to add logging, error handling, and alerting to routine data processes you run.

icon

Secure data delivery - You will learn how to manage roles, credentials, and access policies, and how to audit activity, so you can reduce mistakes and protect data more effectively in real projects.

Training programme

1. Introduction to the Snowflake platform

Snowflake architecture sets the context for the rest of the training. The section explains core concepts around compute, storage, and the data layer, outlines shared data architecture, compares Snowflake with traditional databases, and reviews access paths through Web UI, SQL, and API.

  • architecture and basic concepts (data layer, compute, storage),
  • data storage models: shared data architecture,
  • differences between Snowflake and traditional databases,
  • access interfaces: Snowflake Web UI, SQL, API.

2. Creating and managing databases in Snowflake

At the database layer, attention turns to structuring objects and controlling access. Participants create schemas, tables, and views, load files such as CSV, JSON, and Parquet, use SnowSQL and Snowsight, and manage security through roles, users, and policies.

  • creating schemas, tables, views,
  • loading data (CSV, JSON, Parquet etc.),
  • overview of tools: SnowSQL, Snowsight,
  • access management and data security (roles, users, policies).

3. Data processing and query optimization

Efficient work in Snowflake depends on both SQL design and platform-specific mechanisms. This section develops queries with JOIN, CTE, subqueries, and aggregations, then links them with Time Travel, fail-safe, and optimization techniques such as clustering, partitioning, and caching.

  • writing SQL queries in Snowflake (JOIN, CTE, subqueries, aggregations),
  • Time travel and fail-safe – data versioning management,
  • query optimization: clustering, partitioning, caching.

4. Introduction to Snowflake integration with Python

Connection setup determines whether Python can interact reliably with Snowflake. Here the training covers installation of snowflake-connector-python, authentication methods including login/password, OAuth, and tokens, as well as creating and closing connection sessions in code.

  • environment requirements: installation of snowflake-connector-python,
  • authentication and establishing a connection to Snowflake (login/password, OAuth, tokens),
  • creating and closing connection sessions in Python.

5. Data operations in Snowflake using Python

Python becomes the execution layer for working with Snowflake data through SQL. The scope includes sending queries from code, loading results into structures such as pandas.DataFrame, and parameterizing statements with dynamic conditions like WHERE clauses and LIMIT values.

  • sending SQL queries from Python,
  • retrieving query results into data structures (e.g. pandas.DataFrame),
  • parameterizing SQL queries (e.g. dynamic WHERE, LIMIT).

6. Data processing and analytics in Python

Once query results are available in Python, the focus shifts to analysis and reporting. The section uses pandas, numpy, matplotlib, and seaborn to process Snowflake data, then prepares outputs in report form or exports them to Excel and CSV files.

  • analysis of data retrieved from Snowflake in Python,
  • examples of using pandas, numpy, matplotlib, seaborn,
  • creating reports or exporting data to Excel / CSV.

7. Process automation

Building repeatable data flows requires more than scripts run on demand. This part focuses on simple ETL pipelines in Python, scheduling options such as cron, Airflow, Prefect, and Dagster, plus operational practices for error handling, logging, and alerting.

  • building simple ETL pipeline’s in Python,
  • task scheduling (e.g. cron, Airflow, Prefect, Dagster – overview of possibilities),
  • error handling, logging and alerting.

8. Advanced integration capabilities

Beyond direct database access, the program extends integration toward ORM, external APIs, and cloud storage services. Participants work with SQLAlchemy, move data between APIs and Snowflake, and connect solutions with AWS S3, Azure Blob Storage, and GCP components.

  • use of frameworks such as SQLAlchemy for working with ORM,
  • working with external APIs and sending data to Snowflake,
  • integration with cloud services (AWS S3, Azure Blob Storage, GCP).

9. Best practices and security

Security controls are addressed from the perspective of day-to-day Python and Snowflake work. The section covers safe handling of credentials and keys, enforcing data access restrictions in code, and building audit trails through user and application activity logging.

  • secure management of credentials and keys,
  • restricting access to data at the code level,
  • audit, logging of user and application activity.

What are the prerequisites for participating in the training?

icon

SQL basics - You should be comfortable writing simple SQL queries, using SELECT, WHERE, JOIN, and GROUP BY, and understanding how tables and relationships between data work.

icon

Python basics - You should know Python syntax, variables, functions, loops, and libraries, and be able to run a simple script and understand the output it produces.

icon

Working with data - You should understand tables, records, columns, and data file formats such as CSV and JSON, so you can follow import and analysis tasks without confusion.

icon

Development environment - You should be able to install a Python package, use a terminal or code editor, and work on your own computer, so you can complete the hands-on exercises smoothly.