Polars Plugins
training
What you will learn
In this course you will learn to extend Polars with Polars plugins. This will teach you the fundamentals of Rust and enable you to leverage existing Rust libraries and link them into the Polars engine. The course is hands-on and offers a guided approach to develop your own Polars plugins.
Audience
This is an advanced course - participants must already be somewhat familiar with Polars and with programming. However, no prior Rust experience is required.
Learning outcomes
-
Solid understanding of the benefits of Polars plugins
-
Learn the fundamental concepts to understand how plugins work
-
Hands-on experience developing a Polars plugin from scratch
Module 1
Rust Foundations
- Motivation - why learn any of this?
- Understand the benefits of Polars plugins and learn about constraints that are solved with plugins.
- Minimum Rust, required to write a plugin
- An introduction to Rust and key elements required to cover most of the use cases for Polars plugins
- Getting ready to extend Polars
- Learn what is required to extend Polars and how it works under the hood.
Module 2
Extending Polars
- Motivation - why extend Polars?
- Learn how Polars plugins can make a difference in your organization.
- Maturin and PyO3 - what are they?
- Understand the fundamental concepts that enable Polars plugins.
Module 3
Building more complex Polars plugins
- Increasing complexity
- Gradually increase the complexity and performance of your plugin while learning about Polars concepts.
- Making plugins out of functions
- Write a plugin based on (Python) functions from earlier in the course.
- Distribution
- Learn how to build and distribute your plugin as a Python package