PythonHave you loved async & await in JavaScript and other languages? Wished you could add it to your Python? async.io is here! Now with async & await we can think synchronously and run asynchronously. But there's some sharp edges and edge cases. Let's look at how easy it is to do multiple tasks at once, and how we collect all the results. We'll also look at best practices and edge cases like how do you kick off an async process from main?
PythonTim Peters created TimSort, a sorting algorithm for Python, and it’s so fast in the real world most programming languages have now copied it. This all-audiences talk shows how Timsort works, how it spread to other programming languages, and how I beat TimSort (at least in one use case).
PythonThe popularity of Python as a language for web development is undoubtedly . Itnd with it is also the set of tools and frameworks available to create and document REST APIs.
In this presentation, we will provide a subtle introduction to the FastAPI framework while enumerating its main features and advantages for building RESTful APIs.
PythonThe environmental cost of ML has been increasing in recent years, due to its ever-increasing adoption in many software applications, as well as their size and complexity. Many parameters impact the carbon cost of a python program, such as the hardware used and the location of its execution. In this talk, we present the internals of Code Carbon, a library developed to better estimate the impact of ML projects, throughout their global life cycle.
PythonSaviez-vous qu’au Canada, 58 % de la nourriture produite est gaspillée ou perdue? Pourtant, des technologies comme l’intelligence artificielle pourraient permettre de nettement réduire ces pertes. Découvrez comment Patates Dolbec a utilisé un modèle de classification PyTorch pour déterminer la qualité de leurs pommes de terre, évitant ainsi le gaspillage de plus de 500 000 livres de patates par année!
PythonI've been working with Python typing annotation in the last few years as part of our main product and I've always been curious about how it can be pushed to prevent errors.
Mypy quickly shows value by catching these unexpected `None`, but can we do even better? This presentation explores how advanced features of python typing can be used to prevent insecure use of API leading to common injection attacks.
PythonThe Python Web Server Gateway Interface, or WSGI, is the underlying core protocol that drives the majority of Python web development. Understanding how it works and being able to work with it can be a critical skill that you can apply to extending Flask and Django web applications. We'll dive into the specification just enough to build out a simple web application and then put one of the pieces into a Flask web app.
To provide the best experiences, the usage of cookies are necessary. Some are essential for the proper functioning of the site, while others help us better cater to your interests.