Fast range(), Alternate Interpreters, PSF Security Dev, and More

#584 – JULY 4, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Why Are Membership Tests So Fast for range() in Python?
In Python, range() is most commonly used in for loops. However, ranges have some other use cases too, as they share many properties with lists. In this tutorial, you’ll explore why it’s so fast to perform a membership test on a Python range.
REAL PYTHON

What’s the Deal With CPython, Pypy, MicroPython, Jython…?
This comprehensive article introduces you to all the different ways you can Python. CPython isn’t the only choice, learn what else is out there and why you might choose an alternative.
BITE CODE

Companies like GitLab, Snowflake, and Slack Scan Their Code for Vulnerabilities Using Semgrep
Scan your code and dependencies for security vulnerabilities for free with Semgrep - the trusted OSS tool used by top companies like GitLab, Snowflake, and Slack. No security expertise needed, simply add your project and let Semgrep do the work in just minutes →
SEMGREPsponsor

I Am the First PSF Security Developer-in-Residence
Seth was recently hired as the first Security Developer-In-Residence at the PSF. His blog post talks about what his responsibilities are and how he defines success for the position.
SETH LARSON

PSF Board Election Results
PYTHON SOFTWARE FOUNDATION

Django Security Releases Issued: 4.2.3, 4.1.10, and 3.2.20
DJANGO SOFTWARE FOUNDATION

FOSS United Conference Hyderabad, India Call for Papers
INDIAFOSS.NET • Shared by Poruri Sai Rahul

PyLadies Conference (Dec 2023) Call for Volunteers
PYLADIES.COM


Discussions


TKinter in Python: Advanced Notions
DAN KOLIS


Python Jobs


Software Engineer (Dallas or Los Angeles)
CAUSEWAY CAPITAL MANAGEMENT LLC 📍 LOS ANGELES, CA, USA

More Python Jobs >>>


Articles & Tutorials


How to Flatten a List of Lists in Python
In this tutorial, you’ll learn how to flatten a list of lists in Python. You’ll use different tools and techniques to accomplish this task. First, you’ll use a loop along with the .extend() method of list. Then you’ll explore other tools, including reduce(), sum(), itertools.chain(), and more.
REAL PYTHON

Jinja Templating
With Jinja, you can build rich templates that power the front end of your web applications. But you can use Jinja without a web framework running in the background. Anytime you want to create text files with programmatic content, Jinja can help you out.
REAL PYTHON course

DataWars: Practice Data Science with Real Life Projects
DataWars’s platform includes +100 of Data Science projects to practice Pandas, Scikit-Learn, SQL and much more, in an interactive, ready to use environment. Create an account for free and start your challenge →
DATAWARSsponsor

Estimating Wagtail Websites’ Emissions
This article describes quantifying the carbon footprint of websites built with Wagtail, the Python CMS, based on a dataset of 4,000 websites. Wagtail is looking at potential improvements that could be rolled out to a large number of projects.
WAGTAIL.ORG • Shared by Thibaud Colas

CLI Tools Hidden in the Python Standard Library
There are several modules in Python that are directly callable from the command line, including the ability to gzip and pretty print JSON. This article introduces you to what is available and how Simon discovered them.
SIMON WILLISON

When NumPy Is Too Slow
Sometimes just switching to NumPy just isn’t enough of a speed boost, what then? Before you contemplate parallelism, there are other approaches. This articles shows you other ways of improving performance.
ITAMAR TURNER-TRAURING

Deprecation of bdist_egg Uploads to PyPI
PEP 715 has been accepted and as of August 1, 2023, the .egg format will no longer be accepted as an upload. Existing eggs on PyPI will remain in place.
PYPI.ORG

ML System Design: 200 Case Studies
A collection of links to 200 different blog posts / case studies from leaders in the ML space. Learn how companies such as Netflix and Airbnb implement and use ML in their organizations.
EVIDENTLY AI

Top 10 Python Code Vulnerabilities to Know
Dive into Snyk’s Top 10 Python Code Vulnerabilities cheat sheet to gain a comprehensive understanding of each vulnerability type found in first-party Python code, including its impact, potential risks, and attack vectors.
SNYK.IOsponsor

Automating Deployment Using the Kubernetes SDK
Learn how to use the Python Kubernetes SDK to automate application deployments, including creating Kubernetes resources like deployments, services, secrets, config maps, and ingress.
FAIZAN BASHIR • Shared by Faizan Bashir

Counting Occurrences in Python With collections.Counter
Python’s collections.Counter objects are helpful for counting occurrences of iterable items. They’re especially helpful when paired with generator expressions.
TREY HUNNER • Shared by Trey Hunner


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

polars-cookbook: Recipes for Using Python’s Polars Library
GITHUB.COM/ESCOBAR-WEST

symbex: Search Python for Symbols to Output to an LLM
GITHUB.COM/SIMONW

jupyterlab-theme-editor: Theme Editor for Jupyter
GITHUB.COM/JUPYTERLAB-CONTRIB

bark: Text-Prompted Generative Audio Model
GITHUB.COM/SUNO-AI

llama_index: Connect Your LLM’s With External Data
GITHUB.COM/JERRYJLIU

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
July 5, 2023

Sydney Python User Group (SyPy)
July 6, 2023

Django Girls Abraka Workshop
July 7 to July 8, 2023

DFW Pythoneers 2nd Saturday Teaching Meeting
July 8, 2023

SciPy 2023
July 10 to July 17, 2023
Happy Pythoning!
Copyright © 2023 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. · #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Search DSLs, CircuitPython, Debugging Kubernetes, and More

Tuesday, June 27, 2023

Building Search DSLs With Django #583 – JUNE 27, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Building Search DSLs With Django A Domain Specific Language is a small language for a particular

Faster Python Plan, Community, Hating AsyncIO, and More

Tuesday, June 20, 2023

Faster Python 3.13 Plan #582 – JUNE 20, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Faster Python 3.13 Plan This brief outline highlights the plan for the faster CPython project for the 3.13

Zen of Python, JupyterLab 4.0, Zelda Puzzle, and More

Tuesday, June 13, 2023

What's the Zen of Python? #581 – JUNE 13, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo What's the Zen of Python? In this tutorial, you'll be exploring the Zen of Python, a collection

Facial Recognition, PyPI 2FA, Kivy, and More

Monday, June 12, 2023

Build Your Own Face Recognition Tool With Python #580 – JUNE 6, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Build Your Own Face Recognition Tool With Python In this tutorial, you'll build

Using __call__(), Django Custom Sorts, Decorators, and More

Tuesday, May 30, 2023

Python's `.__call__()` Method: Creating Callable Instances #579 – MAY 30, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Python's .__call__() Method: Creating Callable Instances In this

You Might Also Like

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many

😸 Our interview with Amjad Masad

Sunday, December 22, 2024

Welcome back, builders Product Hunt Sunday, Dec 22 The Roundup This newsletter was brought to you by AssemblyAI Welcome back, builders Happy Sunday! We've got a special edition of the Roundup this

C#537 Automating Santa's Workshop with NServiceBus

Sunday, December 22, 2024

Using event-driven architecture for effective gift delivery 🎄🎁 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

The Race for AI Reasoning is Challenging our Imagination

Sunday, December 22, 2024

New reasoning models from Google and OpenAI ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

ScienceDaily/Minimalist lamp/Avocado tip

Sunday, December 22, 2024

Recomendo - issue #442 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Laravel VS Code Extension, Laravel 11.36, Wirechat, and more! - №544

Sunday, December 22, 2024

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Kotlin Weekly #438

Sunday, December 22, 2024

ISSUE #438 22nd of December 2024 Announcements klibs.io JetBrains has introduced the alpha version of klibs.io – a web service that speeds up and simplifies discovering KMP libraries that best meet

Weekend Reading — Happy "That's a January Problem" week

Saturday, December 21, 2024

Can Christmas season start a little earlier this year Tech Stuff Ramsey Nasser fuck it happened i am in a situation where i do actually need to reverse a linked list Atuin I just learned about Atuin

Daily Coding Problem: Problem #1644 [Easy]

Saturday, December 21, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by IBM. Given an integer, find the next permutation of it in absolute order. For example,