PyPI Trusted Publishers, Namespaces, ChatGPT REPL, and More

#574 โ€“ APRIL 25, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
PyPI Introduces “Trusted Publishers”
PyPI package maintainers can adopt a new, more secure “OIDC authenticated” publishing method that does not require long-lived passwords or API tokens to be shared with external systems.
PYPI.ORG

What’s a Python Namespace Package, and What’s It For?
In this tutorial, you’ll be exploring Python namespace packages: what they are, what they’re for, and how you can use them in your package systems. Along the way, you’ll create your own set of namespace packages and explore how you might be able to use them in your own projects.
REAL PYTHON

Analyze Your Python Code for Security Issues for Free
Semgrep is trusted by hundreds of thousands of developers at top companies, such as GitLab, Snowflake, Slack, and many more, to ensure the security of their code (SAST) and dependencies (SCA). Add your project in 1 minute and see for yourself โ†’
SEMGREPsponsor

Building a ChatGPT-enhanced Python REPL
This blog shows how Logan built a Python REPL augmented with ChatGPT. It details the application itself as well as speculating on software engineering patterns that might emerge in systems built on Large Language Models (LLMs).
LOGAN MORTIMER

Python 3.10 Runtime Now Available in AWS Lambda
AMAZON.COM


Discussions


PEP 707: A Simplified Signature for __exit__ and __aexit__
PYTHON.ORG

Ideas: Allow Comprehension Syntax in for Loop
PYTHON.ORG


Python Jobs


Software Engineer - Backend/Python (100% Remote)
CLOSE ๐Ÿ“ ANYWHERE

More Python Jobs >>>


Articles & Tutorials


Dependency Injection in Python
“Dependency Injection (DI) is a design pattern that encourages loose coupling, maintainability, and testability within software applications.” Though more often associated with statically typed languages, the pattern can be applied with Python.
PATRICK KALKMAN

Improve Your Code With Pre-Commit
This article covers a variety of tools you can attach to your repo’s pre-commit hook to validate your code. Although the article is from a Django perspective, all but one of the tools covered is Django-agnostic.
RASUL KIREEV

Polish your Python Code with Pylint
Discover the โ€” often overlooked โ€” value of linting in Snyk’s guide to improving code quality with Pylint โ†’
SNYK.IOsponsor

Limiting Concurrency in Python asyncio
This article shows you how to do rate limiting when dealing with repeated tasks within asyncio. It uses a thread pool and imap_unordered() to show you why the answer may not always be to use a Semaphore.
LEMON24

Summing Values the Pythonic Way With sum()
In this video course, you’ll learn how to use Python’s sum() function to add numeric values together. You’ll also learn how to concatenate sequences, such as lists and tuples, using sum().
REAL PYTHON course

Google’s Assured OSS Python Packages
Google publishes a list of the Open Source packages it uses and secures within its own software supply chain. The list is made public so you can take advantage of their assessment.
GOOGLE.COM

The Fastest Way to Read a CSV File in Pandas 2.0
The fastest way to read a CSV file into a Pandas DataFrame isn’t pd.read_csv(). This article shows you the alternative and how the result was bench-marked.
FINN ANDERSEN

Building Reproducible Python Environments With XARs
XAR is an archiving format that can contain a tree of files. This article details how they can be used to package Python environments for deploy-ability.
PAVEL SENCHANKA

Django Performance Optimization Tips
This article looks at where potential performance issues can occur in a Django application and how to address them in order to speed up your app.
MICHAEL HERMAN โ€ข Shared by Michael Herman

Python Packages: A Primer for Data People
This article introduces you to the concept of Python modules and packages. How and where you use them and why you should.
ELLIOT GUNN


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 โ†’

Mouse Scroll Wheel Acceleration in User Space
GITHUB.COM/ALBERTZ

faiss: Similarity Search & Clustering of Dense Vectors
GITHUB.COM/FACEBOOKRESEARCH

trrex: Efficient String Matching With Regular Expressions
GITHUB.COM/MESEJO โ€ข Shared by Daniel Mesejo

pypi-diff: PyPI Package History Tracking
GITHUB.COM/ABBBI

nanobind: Tiny and Efficient C++/Python Bindings
GITHUB.COM/WJAKOB

๐Ÿ“†๐Ÿ Upcoming Python Events


PyCon US 2023
April 19 to April 28, 2023

PyKla Monthly Meetup
April 26, 2023

Weekly Real Python Office Hours Q&A (Virtual)
April 26, 2023

PyStaDa
April 26, 2023

Python Adelaide Meetup
April 27, 2023

SPb Python Drinkup
April 27, 2023

PythOnRio Meetup
April 29, 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

Self-Healing Code, Pandas 2.0 Performance, Automation, and More

Wednesday, April 19, 2023

"Self-Healing" Programs That Fix Themselves Thanks to AI #573 – APRIL 18, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo “Self-Healing” Programs That Fix Themselves Thanks to AI Wolverine

Python 3.12 Error Messages, Monorepos, Effective Packaging, and More

Tuesday, April 11, 2023

Python 3.12 Preview: Ever Better Error Messages #572 – APRIL 11, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Python 3.12 Preview: Ever Better Error Messages Python 3.12 will be released in

Maze Solvers, Conference Talks, Text Processing, and More

Tuesday, April 4, 2023

Build a Maze Solver in Python Using Graphs #571 – APRIL 4, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Build a Maze Solver in Python Using Graphs In this step-by-step project, you'll build a

Lessons Learned, Pydantic, ChatGPT Outage, and More

Tuesday, March 28, 2023

Lessons Learned From Four Years Programming With Python #570 – MARCH 28, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Lessons Learned From Four Years Programming With Python What are the core

Evaluating Packages, PyTorch 2.0, Lazy Recursion, and More

Tuesday, March 21, 2023

How to Evaluate the Quality of Python Packages #569 – MARCH 21, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo How to Evaluate the Quality of Python Packages Just like you shouldn't download

You Might Also Like

The Power of an Annual Review & Grammarly acquires Coda

Sunday, December 22, 2024

I am looking for my next role, Zen Browser got a fresh new look, Flipboard introduces Surf, Campsite shuts down, and a lot more in this week's issue of Creativerly. Creativerly The Power of an

Daily Coding Problem: Problem #1645 [Hard]

Sunday, December 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Implement regular expression matching with the following special characters: .

PD#606 How concurrecy works: A visual guide

Sunday, December 22, 2024

A programmer had a problem. "I'll solve it with threads!". has Now problems. two he ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

RD#486 (React) Things I Regret Not Knowing Earlier

Sunday, December 22, 2024

Keep coding, stay curious, and remember—you've got this ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎶 GIFs Are Neat, but I Want Clips With Sound — Your Own Linux Desktop in the Cloud

Sunday, December 22, 2024

Also: 9 Games That Were Truly Ahead of Their Time, and More! How-To Geek Logo December 22, 2024 Did You Know Dextrose is another name for glucose, so if you see it listed prominently on the ingredients

o3—the new state-of-the-art reasoning model - Sync #498

Sunday, December 22, 2024

Plus: Nvidia's new tiny AI supercomputer; Veo 2 and Imagen 3; Google and Microsoft release reasoning models; Waymo to begin testing in Tokyo; Apptronik partners with DeepMind; and more! ͏ ͏ ͏ ͏ ͏ ͏

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 🎄🎁 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌