How to Access PyCascades 2021PyCascades2026-12-05 | How to Access PyCascades 2021Solve Communication Gaps with the Lost Art of Diagrams - Tadeh Hakopian (PyCascades 2025)PyCascades2025-02-26 | This talk is about communicating with visuals to make complex ideas simple to understand. Over the years I have produced diagrams, charts, illustrations and other graphics to help people understand sophisticated project concepts. This includes project architecture, standard operating procedures, coding concepts, sprints and roadmaps.
You will be guided through ways of how to make stylized examples of your project code and workflows in easy to follow examples. By using common software for illustrations along with some simple guidelines you too can make easy to follow visual content for your next project.
Understand how to make your technical documentation into visual graphics with diagram design style guides
See examples of how to take technical documentation and create an intuitive diagram of it to share
Come away with an ability to execute a simple (or sophisticated) graphic with essential steps and key requirementsPyLadies Panel: Experiences and Roles within the Tech Community and Open Source (PyCascades 2025)PyCascades2025-02-26 | Tammy Do, Drishti Jain, Parul Gupta, Lilinoe Harbottle, and NasimYou Should Build a Robot (MicroPython & Microprocessors) - Sage Elliott (PyCascades 2025)PyCascades2025-02-26 | Thinking about building a robot? You should! But don’t know where to start? In this talk, we'll break down the barriers building your own robotic project using MicroPython and microprocessors. You'll learn what a robot is, why building one is fun (maybe even useful), and how to get started with the essential components. We'll cover microprocessors as the "brain" of your robot, LEDs for visual feedback, actuators for adding movement, and sensors for touch and light. Whether you're a complete beginner or have dabbled in electronics before, this talk will equip you with the knowledge to start building your own robotic projects.Python for Earth: Climate Modeling and Sustainability in Action - Drishti Jain (PyCascades 2025)PyCascades2025-02-26 | Discover how Python is shaping the future of our planet in this engaging talk. I’ll explore how Python is used to model climate change, monitor environmental shifts, and drive sustainability projects. See how this powerful language is enabling scientists and developers to turn data into actionable insights, helping to tackle some of the most pressing challenges facing our world today. Whether you’re a coder or a climate enthusiast, this session will show you how Python can make a real difference for the Earth.Community Doesn’t Equate to Visibility - Aji Fama Jobe (PyCascades 2025)PyCascades2025-02-26 | Building a strong community around a cause or movement is essential, especially in the tech ecosystem, but community presence alone doesn’t guarantee visibility or influence. This talk will explore the difference between simply having or joining a tech community and ensuring it is visible or you are visible and making impact. Drawing from my experiences in tech communities, especially those focused on gender inclusion, we’ll discuss strategies for amplifying voices, fostering meaningful engagement, and driving tangible outcomes. Attendees will gain insights on leveraging their tech communities to enhance visibility and learn actionable steps to ensure their efforts go beyond internal circles, reaching a broader audience and creating lasting impact.Optimal Performance Over Basic as a Perfectionist with Deadlines - Velda Kiara (PyCascades 2025)PyCascades2025-02-26 | In this talk we will be going through strategies of optimising Django applications with a focus on the following: - database optimisation: indexing, query optimisation, and sharding, - view rendering optimisation: template optimization, caching, and static file handling, - efficient serialization: minimizing data, compression, and caching, - concurrency with asynchronous views and background tasks to improve responsiveness.
After this talk, attendees will learn practical techniques for improving execution time while reducing memory usage.
This talk is ideal for individuals of all levels with knowledge of how Django works and software development practices.Let Me Introduce Y’all to Y’all - Mason Egger (PyCascades 2025)PyCascades2025-02-26 | Inclusive language is vital to communities. We should avoid gendered pronouns when speaking about broad groups, but some of these vernaculars are ingrained deep in language as well as culture. Thankfully: a clever piece of Texan slang provides a solution. This will be the most Texas thing you’ve ever seen as I explain the history and proper usage of the greatest accomplishment of the English language, Y'all.Unlocking Concurrency and Performance in Python with ASGI and Async I/O - Allen Y, M Aswin KishorePyCascades2025-02-26 | This talk delves into leveraging ASGI (Asynchronous Server Gateway Interface) and Python's async features to create high-performance, scalable web applications. We'll compare traditional WSGI-based frameworks with the ASGI ecosystem and explore how async I/O enhances concurrency for managing multiple I/O-bound tasks. Attendees will gain practical insights into building ASGI-compliant apps with FastAPI, learn key concurrency patterns, and discover best practices for integrating asynchronous operations with external APIs. Whether you're building APIs, managing websockets, or running background tasks, this session will equip you to write fast, efficient, and scalable Python applications.As easy as breathing: manage your workflows with Airflow! - Madison Swain-Bowden (PyCascades 2025)PyCascades2025-02-26 | Apache Airflow is an open source workflow management tool that's been called "cron on steroids". For a career data engineer, this tool has been central in my success at orchestrating and maintaining data pipelines. But Airflow's applications have grown far beyond the intent for which it was originally built. What was once a machine learning training engine is now a tool I've used extensively over the last 8 years. I've used it across 4 jobs, in several different roles; for side projects and critical infrastructure; for manually triggered jobs and automated workflows; for IT (Ookla/Speedtest.net), science (Allen Institute for Cell Science), the commons (Openverse), the future (Babylist), and liberation (Orca Collective). In this talk, I'll be sharing a brief overview of what Apache Airflow is and how it might be able to help manage your workflows too! As an Airflow user and contributor for the last 8 years, I've seen how this tool can quickly become the hammer for every nail you see. Part of what makes Airflow powerful is that you can define its workflows in pure Python; this means you can leverage all of the clever language features and libraries Python has to offer when setting up a job. No more pesky and repetitive YAML files (GitHub Actions) or domain-specific languages (Jenkins). Use the language and libraries you're familiar with while getting automatic retries, error handling, control flow, and so much more.Data Science Garage: Building Tools for Genomic Research - Nasim (PyCascades 2025)PyCascades2025-02-26 | CW: Discussion about cancer
Explore how Python helps us build open-source workflows and data platforms used in genomic research at Oregon Health & Science University's Knight Cancer Institute. We'll look at the kind of data we see, how it's used, and its role in improving our knowledge and treatment of cancer.Lightning Talks (PyCascades 2025)PyCascades2025-02-26 | ...Error Culture - Ryan Cheley (PyCascades 2025)PyCascades2025-02-26 | In "Error Culture," I delve into the overlooked issue of disregarding error alerts in tech environments, a practice that stems from alert overload and leads to critical oversights. I dissect the roots, including alert fatigue and a culture that undervalues preventative measures, and highlight symptoms like excessive reliance on email filtering. My talk proposes actionable solutions to ensure alerts are meaningful and directed at the right people, advocating for a shift towards a culture where alerts enhance organizational efficiency and resilience. Join me as I offer insights into transforming error management from a neglected aspect into a cornerstone of proactive organizational strategy.Mono-repositories in Python - Avik Basu (PyCascades 2025)PyCascades2025-02-26 | A Mono-repository (Monorepo) refers to a repository that contains multiple packages or projects inside one repository. In most cases, it is better to just have multiple repositories that each contain a library, an application or a data science project with Jupyter notebooks. However, in some cases it makes sense to have a monorepo containing multiple projects often sharing a common theme or an ecosystem. This talk will explore the circumstances where monorepos make more sense, how to create monorepos containing Python libraries and projects, handle dependencies, version management and CI/CD setup. We shall go through a sample Python mono repository, thus making it practical for attendees to follow along.Quantifying Nebraska - Adam Harvey (PyCascades 2025)PyCascades2025-02-26 | In 2020, xkcd published Dependency, which posited that "all modern digital infrastructure" is ultimately transitively dependent on "a project some random person in Nebraska has been thanklessly maintaining since 2003".
How can we find these projects and ensure that their maintainers get the thanks and — more importantly — the resources they need to keep delivering the quality software that we all rely upon?Re-Py-Ducible Builds - Vagrant Cascadian (PyCascades 2025)PyCascades2025-02-26 | Crank your Python best practices up to 11 with Reproducible Builds!
This talk will explore Reproducible Builds by highlighting issues identified in Python projects, from the simple to the seemingly inscrutible.
Reproducible Builds is basically the crazy idea that when you build something, and you build it again, you get the exact same thing... or even more important, if someone else builds it, they get the exact same thing too.
Through a few code examples demonstrating common problems folks will learn what to watch out for when coding and how to fix them once identified.
Some of the useful tooling for diagnosing and troubleshooting reproducibility issues (diffoscope and reprotest)... just so happen to be written in Python! Will even show you how to use them... and maybe take a look inside.Observability Matters: Empowering Developers with OpenTelemetry - Yash Verma (PyCascades 2025)PyCascades2025-02-26 | Have you ever experienced your favorite social platform going down? It’s frustrating, right? As users, we feel the inconvenience immediately. To prevent these disruptions, engineering teams rely on various tools and practices to address unexpected system behavior. In today’s distributed world, applications are often segmented into microservices to improve agility and performance. This also brings added complexity, with more opportunities for things to go wrong - errors, latency and more. In this dynamic landscape, observability has evolved from a mere buzzword into a crucial approach for modern reliable systems. We initially gravitate towards a tool for its ease of use, but later after investing significant amount of time and finances, if we choose to migrate, vendor lock-in becomes a major concern. This is where the importance of open standards like OpenTelemetry become essential.
While many think of observability as solely an issue for SREs, but it’s increasingly a developer concern. During this session, we’ll explore why observability matters and how it is evolved over the years. We'll cover how to instrument Python code, process telemetry data and export it seamlessly for analysis. Attendees will leave with a clearer understanding of how observability increases confidence in managing complex systems and how adopting open standards improve the overall developer experience. Let’s work together to redefine OSS observability, as a shared responsibility through collaboration.Ctrl+Alt+Heal: Python and the Future of MedTech - Lilinoe Harbottle (PyCascades 2025)PyCascades2025-02-26 | Explore how Python is transforming medical robotics in this engaging talk. Discover applications in medical imaging and predictive maintenance, focusing on extracting critical insights to enhance robotic performance. Attendees will learn to leverage Python's data science tools to tackle complex healthcare challenges. A basic understanding of Python and its libraries will enrich the experience, enabling participants to engage with the content and apply insights to their projects. Ideal for Python developers, data scientists, and healthcare tech enthusiasts—no medical background is required, just a passion for Python and its innovative potential in cutting-edge medical technology.Only You Can Prevent Data Fires - Sev Leonard (PyCascades 2025)PyCascades2025-02-26 | Many Pythonistas find themselves engaged in the work of tending and defending data, ensuring high quality data is available for products and analytics users. Much like defending a home against wildfires, there are proactive steps you can take to shield your data from disaster. In this talk you’ll see a comprehensive approach to data quality, implementing checks at various parts of the data lifecycle. You'll also learn a bit about wildfire preparedness along the way. If you’ve experienced the chaotic nature of real-world data and are looking for a way to quench the flames this session is for you.Goodbye GIL: Exploring the Free-threaded mode in Python 3.13 - Adarsh Divakaran (PyCascades 2025)PyCascades2025-02-26 | Python 3.13 was the first Python version released with a free-threaded mode. Even though the default interpreter still uses the GIL, it has provisions that allow us to run a free-threaded version of the interpreter with the GIL disabled.
In this talk, we’ll set up and run the free-threaded interpreter and benchmark it with the GIL-enabled version for various kinds of tasks. We'll assess the impact on single-threaded vs multithreaded code and test the performance across CPU-bound and I/O-bound tasks, aiming to identify scenarios where free-threaded Python excels.You are sharing your code wrong (and what to do about it) - Jeremiah Paige (PyCascades 2025)PyCascades2025-02-26 | Everyone who writes also distributes Python code. The only reliable way to share Python code is by packaging it, any other way hurts your consumers. Packaging can be an intimidating topic most would rather avoid but following just a few best practices of packaging can make your code much easier to share, even without going through the process of uploading to pypi.org.PyCascades 2025: Day 1PyCascades2025-02-11 | PyCascades Day 1
View the full schedule here: 2025.pycascades.com/program/scheduleLightning Talks (PyCascades 2024)PyCascades2024-08-08 | ...Designing a Human-Friendly CLI for API-Driven Infrastructure - Oliver Rew (PyCascades 2024)PyCascades2024-08-08 | As Bloomberg’s infrastructure grows and evolves, the tools we use to manage it are becoming increasingly important. To streamline infrastructure management, our team set out to design a REST API and constituent CLI (Command Line Interface) that would comprise a single interface for both programmatic and human interaction with our infrastructure. Traditionally, building a CLI that is tightly coupled to an API requires maintaining a separate codebase, which is tedious and error-prone. Instead, we designed a CLI that dynamically generates commands based on the OpenAPI JSON documentation. However, since APIs are designed for computer interaction, we designed our API to include the information needed to implement a human-friendly CLI. Leveraging Python, FastAPI, and numerous other open source projects, we built a stable, extensible tool that greatly improves how we interact with our infrastructure.Intro to Introspection - Jeremiah Paige (PyCascades 2024)PyCascades2024-08-08 | Python holds no secrets about your code; except perhaps how to access that information. in this talk you'll find out how to discover almost any information about running python code.The Rising Sea - Matthew Drury (PyCascades 2024)PyCascades2024-08-08 | We discuss the pleasure of problem solving by dissolution.PyLadies Panel: Talking about experiences and roles within the Python community (PyCascades 2024)PyCascades2024-08-08 | Panelists: Christy Heaton, Mariatta, Lynn Root, Luciana AbudContainerizing Python: Crafting Better and Efficient Containers - Avik Basu (PyCascades 2024)PyCascades2024-08-08 | Containerization, particularly with tools like Docker, has become a cornerstone in deploying applications efficiently. Building a Docker image for Python applications is generally uncomplicated, yet optimizing these images requires extra work. Notably, many of these optimizations are uniquely tailored to Python.
This talk focuses on techniques and best practices to build more efficient Docker images for Python in order to generate reproducible and quicker builds while reducing the image sizes at the same time.Cutting the USB cord: wirelessly programming CircuitPython - Scott Shawcroft (PyCascades 2024)PyCascades2024-08-08 | Come learn how to program CircuitPython wirelessly over Bluetooth and WiFi. CircuitPython is a version of Python designed for small computers used in electronics projects called microcontrollers. Bluetooth is great for connecting devices to a phone or tablet on the go. At home, WiFi simplifies connecting to a multitude of devices without needing to plug into them directly. Both are also great for devices that are hard to access.Oh the (Methods) You Can (Make): By Dunder Seuss - Joshua Cannon (PyCascades 2024)PyCascades2024-08-08 | You can make many methods
Over 100 to be exact
That start with two underscores
What do you think of that?
The runtime, it calls these
At points A or B
To do special magic
At runtime, you see.
You may have seen `__getattr__` or `__init__`
But `__rfloordiv__`? What’s the point of it?Notably Inaccessible Data Driven Understanding of Jupyter Notebook Inaccessibility - Venkatesh PPyCascades2024-08-08 | Speaker: Venkatesh Potluri
Jupyter notebooks are versatile tools that open up rich storytelling possibilities by providing the means to interleave code, data and text together. Notebooks are widely adopted in a variety of expert domains such as data science, machine learning, and astronomy making the ability to create and consume them a critical requirement to participate in these professional domains. Notebooks and notebook software (tools and infrastructure to create and share notebooks) however are inaccessible resulting in barriers preventing blind or visually impaired (BVI) experts from participating in these professions.
In this talk, I will draw from our systematic large scale analysis on 100000 Jupyter notebooks and provide a broad understanding of why these notebooks are inaccessible, and exactly how inaccessible these notebooks really are. I will close with recommendations to infrastructures that drive the notebook pipeline and authoring practices to create and share truly accessible notebooks. It is imperative that we contribute to accessible notebook artifacts and software to make high-skilled work accessible!Testing your web app with Playwright - Sheena OConnell (PyCascades 2024)PyCascades2024-08-07 | Once upon a time, if you wanted a truly modern web frontend experience for your Python web app you would have limited options in how to pull it off. A lot of people would reach for heavy frontend tools and frameworks such as React, Vue or one of their many, many competitors. And those tools generally have their recommendations around testing.
Things are shifting a bit - tools like HTMX and AlpineJS are taking Python Web dev by storm and simplifying the creation of modern frontends. A Python web app can now take on the full responsibility of producing a modern frontend. So it would be good to test them in Python as well.
This is where Playwright comes in. It promises to enable reliable end-to-end testing for modern web apps. And it has Python bindings. *swoon*
In this talk, I'll give you a little tour of Playwright and how to use it in your app. I'll demo some workflows, patterns, tips, and tricks.Building GraphQL microservices using FastAPI - Aby M Joseph, Thameem Karakkoth (PyCascades 2024)PyCascades2024-08-07 | FastAPI is a Python web framework built on top of the ASGI standard. The fusion of GraphQL and FastAPI emerges as a pivotal approach for constructing agile and scalable microservices. This talk delves into the symbiotic relationship between GraphQL's query flexibility and FastAPI's high-performance capabilities. Attendees will gain insights into seamless integration techniques, leveraging FastAPI's asynchronous framework, dependency injection, and GraphQL's expressive querying.Kandinsky: Using KMeans (and friends) to play with the colors of photograph(s) - Shaurya AgarwalPyCascades2024-08-07 | Clustering is tricky yet absolutely essential for many a Machine Learning initiative. The what, the how and the why confound each time we look at the data, whether it is customer segmentation (or cohort) analysis or it is finding centers of influence or breaking down a population into groups to build different models for each.
Studying clustering algorithms like KMeans using toy datasets is insufficient (and often tedious) because it does not let you experience real-world problems. For e.g. the problem when the centroids don't settle, or situations where we have too many or too few clusters. Which distance measure to use and when? How to prepare (normalize? standardize?) the dataset for clustering?
Also, not too many real-world scenarios are "visual", unless we plot a graph or two, and that fails when we deal with higher dimensions.
What if we could use a non-trivial but visual data source? Like the colors and pixels of a photograph, where we could see the data that went in and the resultant output clusters?
The obvious **takeaways of this talk**, in my experience, are that *Data Science and Data Engineering practitioners* gain a deeper understanding of what's going on in the clustering algorithms in a fun, very "visual" and engaging manner; and also build a better intuition about the best approach to take for solving a problem.I declare an environment! - Reproducibility with and without Docker - Sarah Kaiser (PyCascades 2024)PyCascades2024-08-07 | A software project being called "reproducible" can mean a lot of things, but usually includes a description of how and where the code in your project can be run. Often this means including Python virtual environment, a Conda environment, or even a Docker container to help others replicate your work. In this talk I will introduce some of the most common ways the scientific Python community approaches reproducibility, and what are the advantages and disadvantages of the approaches. I will also share a new way that you can make not only your Python code but your development machine reproducible without Docker containers with a tool called Nix. I will also show an example of using a Nix defined operating system (NixOS) with Docker containers to run my home lab.Next Level Python Applications with PyScript - Fabio Pliger (PyCascades 2024)PyCascades2024-08-07 | Zero Installation, massive scalability, mobile support and more. This talk is going to cover the super powers of running Python in the Browser and how to best use PyScript.The Best Language to Write Python In Is Rust - Trent H. (PyCascades 2024)PyCascades2024-08-07 | Python is an excellent language, in part because of how accessible it is. This accessibility means that professionals in finance, science, marketing, etc, often can make use of it for their goals. This also means that for programmers who write tools for these users, Rust can make an excellent language to deliver a fast, stable experience. In this talk we'll discuss more about why you might consider augmenting your Python code with Rust and walk through a case study for how to achieve it.Pythonic Play: Crafting Interactive Worlds with Python in Game Development - Drishti JainPyCascades2024-08-07 | Embark on a thrilling journey into the realm of game development where the elegance of Python meets the excitement of interactive experiences! In this talk, I will unravel the captivating world of Python game development, exploring the tools, techniques, and creative possibilities that make Python a formidable language for crafting immersive games.Embracing MLOps: Bridging the Gap Between Machine Learning and DevOps - Mayank JindalPyCascades2024-08-07 | In the dynamic field of machine learning, MLOps (Machine Learning Operations) has emerged as a crucial discipline combining aspects of machine learning, data science and operations. This talk aims to demystify MLOps differentiating it from traditional DevOps practices and highlighting its growing importance.Rest Easy with Jupyrest: Deploy notebooks as web services - Koushik Krishnan (PyCascades 2024)PyCascades2024-08-07 | Jupyter notebooks are awesome! However, a notebook on its own is not a product or a service. Bridging this gap usually involves a complete rewrite into a web service that leaves behind all the awesome-ness of the notebook. What if we didn't have to do this? That's where Jupyrest comes in! Jupyrest is a library I created to solve this exact problem for my team at Microsoft. In this talk I'll show you how you can turn your Jupyter notebooks into a web service without any modifications to it. Jupyrest is being used at Microsoft by data scientists to deploy hundreds of microservices.The Stories Of the Most Infamous Bugs - Ian Zelikman (PyCascades 2024)PyCascades2024-08-07 | Whenever we write code we eventually make mistakes and have “bugs”. We employ many techniques including testing and reviews to avoid them but some mistakes still make it into production. But what are the most famous "bugs"? How they happened and is there something common we can learn from them?Types, In My Python?! - Piper Thunstrom (PyCascades 2024)PyCascades2024-08-07 | It's more likely than you think!
Types, In My Python? is an analysis of Python's unique relationship to typing systems.
I will start by examining Python's strange dual nature:
A dynamically typed scripting language that more or less works as expected.
A strongly typed language with strict limits on what you can do with an object,
and now able to statically analyze your usages to make sure you're doing things right.
Following that, I will examine some of the concepts we talk about as a community in more detail.
What do we mean by "duck typing", and how does it apply in light of Python's dual nature?
Why is it static analysis, and not static typing?
To end, I will make a proposal regarding the best method to use both sides of Python's type system.
The goal is to accelerate your development and reduce tedium.
Is there a happy middle ground between strict static typing and a dynamic free-for-all?PyCascades 2025 Proposal Review ProcessPyCascades2024-07-19 | In this video, our 2025 Program Chair share details about the proposal review process and walks through an example of how NOT to write a proposal. If you are interesting in volunteering to be a reviewer, please email program@pycascades.com. To receive mentoring or to volunteer as a mentor for potential speakers, please email speaker-support@pycascades.com. The corresponding blog post for this video can be found at 2025.pycascades.com/news/cfp-review/.PyCascades 2024: Day 2PyCascades2024-04-22 | PyCascades Day 2
View the full schedule here: 2024.pycascades.com/program/scheduleLightning Talks (PyCascades 2023)PyCascades2023-04-12 | Speaker: Jim De la Hunt Lightning Talk: Global domain names and email addresses, or, email me at जिम@डाटामेल.भारत . Alerting people that non-ASCII domain names are in use and spreading. Our code should be able to handle them. Python tools and online resources to get domain names and email right.
Speaker: Wes Lord Lightning Talk: The surprising alternative to git rebase (it's git reset)
Speaker: Sam Edwardes Lightning Talk: How to do "everything" with Pydantic. I want walk the audience through using Pydantic to do a few really cool things including: (1) parsing JSON into python objects, (2) validating data, (3) refactoring your code, (4) talking to a SQL database
Speaker: Tony Fast Lightning Talk: Important digital accessibility language, standards, and tools for designing inclusive technology . Attendees will learn community and industry standards for auditing and understanding web content accessibility guidelines.
Speaker: Mariatta Wijaya Lightning Talk: PyCon US 2023: the 20 years celebration special. I will tell attendees about info about PyCon US 2023: registration, schedule, venue, etc. While this year's travel grant application has closed, it's still worth knowing that it exists and I will share how attendees can stay updated on PyCon US news so they can apply for next year's travel grants. I'll also share how attending PyCon has impacted my personal growth and career and opens up opportunities, and I would love for more people to have the same experience by attending PyCon US.
Speaker: Robin Reynolds-Haertle Lightning Talk: Yellowstone Codera - Python programming puzzles with a Yellowstone theme
Speaker: Santiago Soler Lightning Talk: During this lightning talk I'll present Pooch, an open-source Python library for downloading and catching data files from the web. It provides easy ways to download data files from different protocols, cache it locally, check their integrity through checksums, and more. It also provides tools for downloading collections of files, useful for managing sample datasets for scientific and data-processing Python packages. Currently Pooch is being used by well-known libraries like SciPy, scikit-learn, Xarray and scikit-image, amongst others.
Speaker: Andres Pineda Lightning Talk: Invite to Pycon LatamUntangle Python Spaghettis - Deep Dive Into Environments [...] - Cheuk Ting Ho (PyCascades 2023)PyCascades2023-04-12 | After learning doing in Python, we started multiple Python or Data Science projects. Dependency management becomes a skill that we need to avoid requirement conflicts amount projects. In this talk, we will learn how dependencies management tools work and how to choose the right one to use.Vulnerability Scanning For Free (as in Puppies) - Terri Oda (PyCascades 2023)PyCascades2023-04-12 | Secure software supply chains with 0 vulnerabilities sounds like a great idea, but once you start looking through entire dependency chains and large systems, it can be a lot harder to achieve than one might expect. Using the free, open source, CVE Binary Tool vulnerability scanner (written in python!), we'll show what it looks like to set up vulnerability scanning, what kinds of fun things you find, and how keeping things up to date can mean an ongoing maintenance burden that is more like a free puppy than a free beer. We'll talk about how naive policies, governmental mandates and capitalism may ruin your day, and what we can do to stay secure and help everyone get past the puppy phase without sending anyone back to the pound.Sharing is Caring - Sharing pytest Fixtures by Brian Okken (PyCascades 2023)PyCascades2023-04-12 | pytest rocks, obviously. When people start using pytest as a team, they often come up with cool fixtures that would be great to share across projects. In fact, many great Python packages come pre-loaded with pytest fixtures. This talk describes how easy it is to share fixtures using the pytest plugin model.Fear the Mutants. Love the Mutants - Max Kahan (PyCascades 2023)PyCascades2023-04-12 | Code coverage is a great metric - how much of your code is actually tested by your unit tests. However, this doesn’t tell you how good your tests actually are at picking up changes to your codebase - if your tests aren’t well thought-out, it’s possible for changes to get past your unit tests but break production.
Mutation testing is a great (and massively underrated) way to understand how valuable your tests are. Mutation score quantifies how much trust you should put in your tests to stop mutant versions of your code escaping from your lab and wreaking havoc in production. In this talk, I’ll show you examples of how to get started with mutation testing and how to integrate it into your CI/CD pipeline.
After the session, you’ll be ready to use mutation testing with wild abandon and you'll be ready to integrate it into your release engineering process, testing your mutant code without needing to set foot in the lab at all!