List of videos

Kimberly Arcand - Our Universe through Sight, Sound & Touch
Our Universe through Sight, Sound & Touch [EuroPython 2021 - Keynote - 2021-07-29 - Optiver] [Online] By Kimberly Arcand Information of our Universe doesn't have to be just a two-dimensional snap shot. We can transform these data to be able to listen, feel, or (virtually) move through cosmic objects. Listen to the debris from an exploded star, walk through the core of our Milky Way in virtual reality, feel vibrations of a stellar nursery, and experience our universe anew. License: This video is licensed under the CC BY-NC-SA 4.0 license: https://creativecommons.org/licenses/by-nc-sa/4.0/ Please see our speaker release agreement for details: https://ep2021.europython.eu/events/speaker-release-agreement/
Watch
EuroPython 2021 - Lightning Talks 07/29
Lightning Talk 2 [EuroPython 2021 - Talk - 2021-07-29- Optiver] [Online] License: This video is licensed under the CC BY-NC-SA 4.0 license: https://creativecommons.org/licenses/by-nc-sa/4.0/ Please see our speaker release agreement for details: https://ep2021.europython.eu/events/speaker-release-agreement/
Watch
M. Ristin, P. Schanely, L. De bruyn - Automatic Testing of Python Functions Based on Contracts
Automatic Testing of Python Functions Based on Contracts [EuroPython 2021 - Talk - 2021-07-30 - Brian] [Online] By Marko Ristin, Phillip Schanely, Lauren De bruyn Good programs are correct programs. Testing is an indispensable tool making sure that the software we produce is correct. The bulk of today’s Python programs are tested using unit tests, on a case-by-case basis. While unit tests are important, thorough tests are tedious to write. A lot of edge cases need to be considered and human errors easily slip in. The edge cases are often simply omitted, e.g., for the lack of time. However, this leaves a lot of untested holes in the program. Instead of hunting for edge cases, what if we specified the behavior of a function and let the development tools test it for us? In this talk, we first look into how to specify the behavior of functions using contracts, i.e. the properties of the input and the output of a function. The contracts can reduce the amount of testing code, and allow the developer to focus on more tangible pieces of code, namely defining the behavior. Next, we examine two of our tools for automatic testing based on contracts (crosshair and icontract-hypothesis). We show how they can be used in everyday programming with little additional effort. A corpus of programs (Python-by-contract) is introduced to evaluate where the tools shine and what limitations they hit. Finally, we show how to use the tools in the classroom to help students with debugging, providing hopefully a better educational experience. The talk is aimed at Pythonistas familiar with lambda functions, Boolean logic (“and”, “or”) and quantifiers (“all”, “any”). License: This video is licensed under the CC BY-NC-SA 4.0 license: https://creativecommons.org/licenses/by-nc-sa/4.0/ Please see our speaker release agreement for details: https://ep2021.europython.eu/events/speaker-release-agreement/
Watch
G. Grosch, F. Lässig - Darts: Unifying time series forecasting models from ARIMA to Deep Learning
Darts: Unifying time series forecasting models from ARIMA to Deep Learning [EuroPython 2021 - Talk - 2021-07-30 - Parrot [Data Science]] [Online] By Gael Grosch, Francesco Lässig Time series are everywhere in science and business, and the ability to forecast them accurately and efficiently can provide decisive advantages. For much of its history, time series forecasting has mostly been relying on "classical" statistical methods such as ARIMA. These methods work very well in many cases, but they are not appropriate for capturing patterns in large quantities of data. Very recently, some deep learning techniques have been proposed as a way to build very advanced and accurate models from large quantities of time series data. In our work, it has become very important to quickly develop and compare these new learning based methods against the more established statistical ones. Unfortunately there were no easy way to do that in Python and that is why we developed Darts. Darts is an open-source Python library that provides ready-to-use implementations of all sorts of forecasting models under a unified and simple API. It puts emphasis on reducing the experiment cycle duration and improving the ease of using, comparing and combining different models. In this talk, we will give a tour of Darts and show how it can be used to obtain great forecasting results in few lines of code. Goal of the talk: Introduce how one can tackle forecasting problems Overview of best practices from pre-processing to backtesting Obtain great results quickly in few line of codes Pre-requisites: Basic knowledge of Python and Pandas Intermediate knowledge of DS/ML License: This video is licensed under the CC BY-NC-SA 4.0 license: https://creativecommons.org/licenses/by-nc-sa/4.0/ Please see our speaker release agreement for details: https://ep2021.europython.eu/events/speaker-release-agreement/
Watch
Michał Wodyński - Python security best practices
Python security best practises [EuroPython 2021 - Talk - 2021-07-30 - Optiver] [Online] By Michał Wodyński Have you ever have a feeling that you are able to write code that solves problem but your not sure whether is safe? How much of your time you spend on investigating whether your code is not vulnerable ? Do you know what kind of risks you can face during parsing XML files? If those questions appeared into your mind this presentation will clarify your doubts and bring your skills closer to writing more safe code. There are many repeatable routines during developing code like: saving user data, reading files or pickles. Those routines can lead to a drop in vigilance which may lead to very terrible consequences for our application or data. During presentation I will explain what are aims of the attackers and go through security issues that can appear in: • not verified user input, • parsing XML, • assert statements, • using temporary files, • reading yaml and pickles and I will compare it OWASP TOP 10. In each of this topics I will: • show examples of codes that can break your application, • describe what are the risks and how to solve it, • talk about tools that help detect issues in your code, • present XML libraries overview which shows what specific library is vulnerable for. Major of presentation will be focused on XML issues as it is wide problem not only in Python language. If you want to increase your programming security skills, see how certain attacks can be performed and how to defend against them this presentation is for you. License: This video is licensed under the CC BY-NC-SA 4.0 license: https://creativecommons.org/licenses/by-nc-sa/4.0/ Please see our speaker release agreement for details: https://ep2021.europython.eu/events/speaker-release-agreement/
Watch
David Beazley - No, not typing. Types.
No, not typing. Types. [EuroPython 2021 - Keynote - 2021-07-30 - Optiver] [Online] By David Beazley While biking through the forest preserve on a dark December morning, I found myself suddenly staring face-to-face with Bambi. Picking myself off the ground with a broken wrist and an assortment of broken fingers, I embarked on an unexpected journey of discovery. Then the pandemic hit. In this talk, I provide a trip report. License: This video is licensed under the CC BY-NC-SA 4.0 license: https://creativecommons.org/licenses/by-nc-sa/4.0/ Please see our speaker release agreement for details: https://ep2021.europython.eu/events/speaker-release-agreement/
Watch
Julian Camilleri - Building a clean, maintainable and tested code base
Building a clean, maintainable and tested code base [EuroPython 2021 - Talk - 2021-07-30 - Optiver] [Online] By Julian Camilleri An introduction to how to write clean code (type hinting, docstrings, inline comments et cetera) and supporting the clean code with maintainable project structure and unit tests. Goals - with comparisons/examples: What's clean, maintainable code? (type hinting, docstrings, inline comments et cetera) What's a clean, navigatable project structure? Should the tests package be nested into each package? Should my 'tests' package structure mirror the project structure? (for easy navigation of which module/package is being tested) (Testing) What should I test and what shouldn't I test? (Testing) When should I mock and when shouldn't I? (Testing) Writing clean test cases (Testing) Using pytest to utilize parametrize to test multiple combinations, whilst keeping a clean codebase License: This video is licensed under the CC BY-NC-SA 4.0 license: https://creativecommons.org/licenses/by-nc-sa/4.0/ Please see our speaker release agreement for details: https://ep2021.europython.eu/events/speaker-release-agreement/
Watch
Kirill Borisov - Code From Nothing: Procedural Generation of Python Source Code
Code From Nothing: Procedural Generation of Python Source Code [EuroPython 2021 - Talk - 2021-07-30 - Ni] [Online] By Kirill Borisov This talk will be about using Hypothesis and tools derived from it to test existing Python linters and fixers. While it is possible to test them by using hand-crafted pieces of code, sheer expression power of Python makes it very hard to think about every corner case that can be encountered. Even mature, widely-used tools like black or (gasp!) Python parser still manage to get it wrong. So what be can done about that? Who can help you? Why would you even care? Look no further than this talk for answers. This talk is primarily for people who are interested in working on tools that analyze source code in general and Python source in particular (e.g. flake8, libcst). It shows novel ways in which such tools can be tested and delves a little bit into how source-code fuzzing using Hypothesis works. It would help if the attending person has some knowledge about parsers and programming language design, but ultimately it is not required as a barebones explanation will be provided. License: This video is licensed under the CC BY-NC-SA 4.0 license: https://creativecommons.org/licenses/by-nc-sa/4.0/ Please see our speaker release agreement for details: https://ep2021.europython.eu/events/speaker-release-agreement/
Watch
Joost Lek - How I helped fly a helicopter on Mars
How I helped fly a helicopter on Mars [EuroPython 2021 - Talk - 2021-07-30 - Brian] [Online] By Joost Lek Open source code is the foundation for a lot of my own work, but of course also the work of others. And the beauty of open source is you never know where your contributions end up. This story begins in the summer of 2019 when I wanted to see if I could contribute to the python project I’ve been using so much. In this talk I’ll walk you through the challenges I faced making my first contribution to cpython, picking a bug and squashing it. I’ll end the talk explaining the title: after viewing the 2020 mars helicopter fly on the red planet I realized I have a new badge on my github page. I never started out thinking I could have my code flying in space, let alone flying on mars. But it does. I hope to inspire others to step over the hurdle and contribute back to the open source tools they use. License: This video is licensed under the CC BY-NC-SA 4.0 license: https://creativecommons.org/licenses/by-nc-sa/4.0/ Please see our speaker release agreement for details: https://ep2021.europython.eu/events/speaker-release-agreement/
Watch