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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your