Tuesday, August 31, 2021

PyCoder’s Weekly: Issue #488 (Aug. 31, 2021)

#488 – AUGUST 31, 2021
View in Browser »

The PyCoder’s Weekly Logo


Python Ranks #1 in IEEE “Top Programming Languages”

“Python dominates as the de facto platform for new technologies” and “Learn Python. That’s the biggest takeaway we can give you from its continued dominance of IEEE Spectrum’s annual interactive rankings of the top programming languages. You don’t have to become a dyed-in-the-wool Pythonista, but learning the language well enough to use one of the vast number of libraries written for it is probably worth your time.”
IEEE.ORG

skybison: Instagram’s Experimental Performance Oriented Greenfield Implementation of Python

“Skybison is experimental performance-oriented greenfield implementation of Python 3.8. It contains a number of performance optimizations, including: small objects; a moving GC; hidden classes; bytecode inline caching; type-specialized bytecode; an experimental template JIT.”
GITHUB.COM/FACEBOOKEXPERIMENTAL

Start Your Free Scout APM Trial, No CC Needed, and Receive a $5 Donation to the OSS of Your Choice

alt

Scout APM is leading-edge application performance and error monitoring designed to help devs find and fix observability issues before the customer ever sees them. You can connect your error reporting and APM data on one platform, with Scout’s new error monitoring feature add-on →
SCOUT APM sponsor

How to Use Optional Arguments When Defining Python Functions

In this tutorial, you’ll learn about optional arguments in Python and how to define functions with default values. You’ll also learn how to create functions that accept any number of arguments using args and kwargs.
REAL PYTHON

Python Project-Local Virtualenv Management

On UNIX-like operating systems you can have the Python equivalent of node_modules today, for every Python version, without changing your workflows.
HYNEK SCHLAWACK

Humble Software Bundle: Python Superpowers 2021

Pick up the awesome programming potential of Python with software like Mastering PyCharm (2021 Edition) & Object-Oriented Programming (OOP) in Python. Pay what you want & support charity!
HUMBLEBUNDLE.COM

Join the PyCon US 2022 Team!

The PyCon US organizers are looking for motivated volunteers who want to contribute their time and knowledge to make this year’s conference a great success.
PYCON US

Discussions

math.sqrt vs numpy.sqrt vs x ** 0.5 Performance Discussion

Andrej Karpathy (Director of AI at Tesla) shares an interesting performance observation on this Twitter thread that turns into a tale about accurate benchmarking. Calculating math.sqrt(1337.0) appears to be 10x faster than numpy.sqrt(1337.0). Python’s built-in square root (x ** 0.5) appears to be even faster. However, most of the performance differences seem to come from the benchmark setup, as Ishan Bhatt explains in this writeup.
TWITTER.COM/KARPATHY

Python Jobs

Data Engineer - Python & PostgreSQL (Newport Beach, CA, USA)

Research Affiliates

Sr. Backend Developer (Amsterdam, Netherlands)

GUTS Tickets

Backend Software Engineer (Anywhere)

Catalpa International

More Python Jobs >>>

Articles & Tutorials

A Python Data Scientist’s Guide to the Apple Silicon Transition

A break down of what Apple Silicon means for Python users today, especially those doing scientific computing and data science: what works, what doesn’t, and where this might be going.
STANLEY SEIBERT

Write an SQL Query Builder in 150 Lines of Python

“This is the fourth article in a series about writing my own SQL query builder. Today, we’ll rewrite it from scratch, explore API design, learn when to be lazy, and look at worse and better ways of doing things – all in 150 lines of Python!”
ANDGRAVITY.COM

Rev APIs Solve All of Your Speech-to-Text Needs

alt

Rev.ai is the most sophisticated automatic speech recognition in the world. Our speech-to-text APIs are more accurate, easier to use, and have less bias than competitors like Google, Amazon, and Microsoft. Try Rev.ai free for five hours right now →
REV.AI sponsor

Splitting Datasets With scikit-learn and train_test_split()

Learn why it’s important to split your dataset in supervised machine learning and how to do that with train_test_split() from the widely used scikit-learn package.
REAL PYTHON video

Building With CircuitPython & Constraints of Python for Microcontrollers

Can you make a version of Python that fits within the memory constraints of a microcontroller and have it still feel like Python? That is the intention behind CircuitPython. This week on the show, Scott Shawcroft, who is the project lead for CircuitPython.
REAL PYTHON podcast

Parsing in Python: Tools and Libraries You Can Use

“We present and compare all possible alternatives you can use to parse languages in Python. From libraries to parser generators, we present all options.”
GABRIELE TOMASSETTI

Low-Level Cache API in Django

Caching in Django can be implemented on different levels (or parts of the site). This article looks at how to use the low-level cache API in Django.
J-O ERIKSSON

SonarLint Free and Open Source IDE Extension for Python Devs

Working in VS Code, PyCharm, Visual Studio, or Eclipse? SonarLint helps you find & fix Code Quality and Code Security issues in your Python codebase!
SONARSOURCE sponsor

Python Behind the Scenes: How Async/Await Works in Python

“The async/await pattern can be explained in a simple manner if you start from the ground up. And that’s what we’re going to do today.”
VICTOR SKVORTSOV

Using libsqlite3 Directly From Python With ctypes

How to use ctypes to run SQLite queries without using the built-in sqlite3 Python package, and without compiling anything.
GITHUB.COM/MICHALC

Projects & Code

Events

PyConline AU 2021

September 10 to September 13, 2021
PYCON.ORG.AU


Happy Pythoning!
This was PyCoder’s Weekly Issue #488.
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...