Tuesday, March 10, 2020

PyCoder’s Weekly: Issue #411 (March 10, 2020)

#411 – MARCH 10, 2020
View in Browser »

The PyCoder’s Weekly Logo


Post-Mortem Python Plotting

Who loves debugging things that only fail occasionally? Just me? Maybe you need to check out Andy Jones’ extract() function that “magically” extracts a caller’s environment into an IPython interpreter session. Mix in a little post-mortem debugging with Jupyter’s %debug magic command, and you’ll be painlessly debugging finicky code in no time.
ANDY JONES

How to Use Jupyter Notebooks in 2020

In this first of a three-part blog post, LJ Miranda surveys the data science landscape and discusses the forces that push data science tools to evolve.
LJ MIRANDA

Python Developers Are in Demand on Vettery

alt

Vettery is an online hiring marketplace that’s changing the way people hire and get hired. Ready for a bold career move? Make a free profile, name your salary, and connect with hiring managers from top employers today →
VETTERY sponsor

Thinking psycopg3

A core maintainer of the popular psycopg2 PostgreSQL adapter for Python discusses breaking changes he would like to see in a hypothetical pyscopg3 project, including better query/parameter separation, more sensible context manager behavior with connections, and async support.
DANIELE VARRAZZO

Alexa Python Development: Build and Deploy an Alexa Skill

In this tutorial, you’ll become an Alexa Python developer by deploying your own Alexa skill. You’ll build an application that users will interact with using voice commands to Amazon Alexa devices. Your skill will respond back with a random joke when invoked by the user!
REAL PYTHON

PyCon 2020 Update on COVID-19

“PyCon continues to closely monitor the Coronavirus (also known as COVID-19) situation. As of March 6, PyCon 2020 in Pittsburgh, Pennsylvania is scheduled to take place.”
PYCON.BLOGSPOT.COM

Discussions

About the “Add Python 3.X to PATH” Checkbox in the Windows CPython Installer…

An epic Twitter thread. It’s still active almost two weeks later, with tons of heavyweights chiming in.
TWITTER.COM/BITECODE_DEV

What Causes [*a] to Overallocate?

Stefan Pochmann investigates memory allocation for three methods of creating a list from an iterable a: list(a), [x for x in a], and [*a]. The last method, [*a], always overallocates memory for the list.
STACK OVERFLOW

Python Jobs

Senior Python/Django Software Engineer (London, UK)

Zego

Senior Python Software Engineer (London, UK)

Tessian

Senior Software Engineer Backend (Denver, CO, USA)

CyberGRX

More Python Jobs >>>

Articles & Tutorials

Python in GitHub Actions

“GitHub’s own CI called GitHub Actions has been out of closed beta for a while and offers generous free quotas and a seamless integration with the rest of the site. Let’s have a look on how to use it for an open source Python package.”
HYNEK SCHLAWACK

Mocking Asynchronous Functions in Python

As the adoption of asynchronous Python grows, the ability to reliably test asynchronous code is increasingly important. In this tutorial, Dino Costa shows you how to leverage Future objects in Python 3.7 and the AsyncMock object added in Python 3.8 to easily test asynchronous functions.
DINO COSTA

Become a Python Guru With PyCharm

alt

PyCharm is the Python IDE for Professional Developers by JetBrains providing a complete set of tools for productive Python, Web and scientific development. Be more productive and save time while PyCharm takes care of the routine →
JETBRAINS sponsor

Syntactic Unification Is Easy!

Syntactic unification is the process of solving equations between symbolic expressions. Unification has applications in type systems and logic programming. In this article, Cassie Jones shows you how to implement a unification algorithm in just 30 lines of Python!
CASSIE JONES

Defining Your Own Python Functions

In this beginner tutorial, you’ll learn how to define and call your own Python functions. You’ll also learn about passing data to your function, and returning data from your function back to its calling environment.
REAL PYTHON

One Impact of the Dropping of Python 2 From Linux Distributions

“Everyone’s insistence on getting rid of Python 2 is magically transforming all of this perfectly functional and useful Python 2 code we have from an asset to a liability. You can imagine how I feel about that.”
CHRIS SIEBENMANN opinion

Understand Django: Views On Views

Django URLs expect to send a response back to a user.  Where does that response come from?  A Django view. This article looks into the fundamentals of views and how to use them in your project.
MATT LAYMAN • Shared by Matt Layman

Gradient Descent From Scratch

Gradient descent is one of the most fundamental optimization techniques used in machine learning. Learn the ins and outs of gradient descent by implementing it from scratch in Python.
PHILIPP MUENS

We Have to Talk About This Python, Gunicorn, Gevent Thing

“Here’s what happens when you build around Python, Gunicorn, Gevent, and web requests instead of something more sensible.” Although pessimistic, this was an interesting read.
RACHELBYTHEBAY.COM opinion

Defining Main Functions in Python

Learn how Python main functions are used and some best practices to organize your code so it can be executed as a script and imported from another module.
REAL PYTHON video

Open Source AutoML for Developers

Building & deploying machine learning can be painful. MindsDB enables developers to easily integrate ML into their projects without the need to involve a data scientist or ML expert. Check out our project on GitHub.
MINDSDB sponsor

Episode #171: Chilled Out Python Decorators With PEP 614

Real Python and PyCoder’s own David Amos guest hosts Python Bytes, talking about PEP 614, macOS menu bar apps with Python, test coverage, and more.
PYTHON BYTES podcast

Bundling Python Dependencies in a ZIP Archive

Shipping dependencies for your scripts as a single file, built with shiv.
JÜRGEN HERMANN • Shared by Jürgen Hermann

Projects & Code

Events

PyMNTos

March 12, 2020
PYTHON.MN

Python Atlanta

March 12, 2020
MEETUP.COM

Python Miami

March 14 to March 15, 2020
PYTHONDEVELOPERSMIAMI.COM


Happy Pythoning!
This was PyCoder’s Weekly Issue #411.
View in Browser »

alt

[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]



from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...