Python Weekly (Issue 529 December 9 2021)

Python Weekly - Issue 529

Python Weekly

Welcome to issue 529 of Python Weekly. Let's get straight to the links this week.

Articles, Tutorials and Talks

Neural networks are a foundational concept to machine learning. In this post we’re going to build a fully connected deep neural net (DNN) from scratch in Python 3. 

This article shows you a few common patterns for client authentication based on tokens, and how they can be implemented in a Python API back end. 

Did you ever wish for a service that repeatedly checks and pings you once it observes a specified event? — Learn how to build and deploy it.

The ultimate PyTorch Lightning tutorial. Learn how it compares with vanilla PyTorch, and how to build and train models with PyTorch Lightning.

In this tutorial you will take an extensive tour of Python's itertools modules and learn all about how to use iterators in the process.

Working in IntelliJ IDEA or PyCharm? SonarLint is a free IDE extension that helps you find and fix quality and security issues in your Python codebase. Discover more.

SPONSORBilliard Balls and the Boltzmann Distribution in Python By simulating collisions between billiard balls in a closed box, we can model the velocity distribution of air molecules in a gas, and recover the Boltzmann distribution of gas molecule speeds.Creating a better flamegraph visualizationFlamegraphs are a great way to visualize performance and memory bottlenecks, but with a little tweaking, you can make them even more useful.The definitive guide to modeling polymorphism in DjangoFind out how to use a single model to represent multiple types of data in Django.Speeding up your Python data pipelines with Cython and NimHow Cython or Nim can help you get more from Python and achieve better performance.FlaskCon 2021 Videos A Complete 26 Week Course to Learn Python for Data Science in 2022Writing Smart Contracts with PythonreString: an open-source Python software to perform automatic functional enrichment retrieval, results aggregation and data visualizationInteresting Projects, Tools and LibrariesCogram Cogram is a coding assistant for data scientists that makes coding faster and easier. Cogram can write code from plain-language instructions or complete entire blocks of code.action-python-poetryTemplate repo to quickly make a tested and documented GitHub action in Python with Poetry.EOmapsA library to create interactive maps of geographical datasets.NeuralProphetA Neural Network based Time-Series model, inspired by Facebook Prophet and AR-Net, built on PyTorch.plotly-resamplerVisualize large time-series data in plotly.pybaobabPython implementation of visualization technique for (sklearn) decision trees.git-historyA tool for analyzing scraped data collected using Git and SQLite.pytransform3d3D transformations for Python.RocketPyRocketPy is the next-generation trajectory simulation solution for High-Power Rocketry. emacs-python-coverageShow python coverage information directly in emacs.pylaprofA Python sampling profiler for AWS Lambda functions.New ReleasesPython 3.10.1I hope you like bug fixes, because we have a whole shipment of them! Python 3.10.1 is the first maintenance release of Python 3.10 as we have packed more than 330 commits of fixes and general improvements.Django 4.0 releasedThe release notes cover the abundance of new features in detail, but a few highlights are:

  • The new RedisCache backend provides built-in support for caching with Redis.

  • To ease customization of Forms, Formsets, and ErrorList they are now rendered using the template engine.

  • The Python standard library’s zoneinfo is now the default timezone implementation in Django.

Upcoming Events and WebinarsVirtual: London Python Meetup Dec 2021There will be a talk, How Python is relevant to blockchain in the future and how to stay relevant.Virtual: LA Django Meetup Dec 2021There will be a talk, Server-Side is Dead! Long Live Server-Side (+ HTMX).Virtual: PyLadies Amsterdam Dec 2021There will be a talk, An Introduction to Communicating about your Models.PyData Tel Aviv Dec 2021There will be following talks

  • Different Approaches for Document Augmentation

  • Generating Synthetic Data at Scale with the Help of Modern Execution Technologies 

  • Semantic column matching

Virtual: PyData Chicago Dec 2021There will be a talk, Ethics and Equity in Mathematical Modeling. 

Our Other Newsletters

 - A free weekly newsletter for programmers.

- A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.