Python Weekly - Python Weekly - Issue 596

View this email in your browser

Python Weekly

Welcome to issue 596 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 

 
  Deep dive into the most prevalent critical and high open source vulnerabilities found by Snyk scans of Python apps. Learn more about how these high risk vulnerabilities might be impacting open source packages you are using today and how to fix them.


News

The EU's Proposed CRA Law May Have Unintended Consequences for the Python Ecosystem
The European Union's proposed Cyber Resilience Act and Product Liability Act may have unintended consequences for the Python ecosystem. The PSF is concerned that overly broad policies will unintentionally harm the users they are intended to protect. For example, the proposed laws could make it more difficult for open source projects to be updated and maintained, and could lead to increased legal costs for developers. The PSF is calling on the EU to reconsider these proposals and to work with the open source community to develop policies that are both effective and fair.


Articles, Tutorials and Talks

Building LLM applications for production
This post discusses the challenges of productionizing large language model (LLM) applications. It covers topics such as prompt engineering, cost and latency, task composability, and promising use cases for LLMs. The post argues that LLMs can be powerful tools for a variety of tasks, but that they require careful engineering to be used effectively in production.

Mandala: Python programs that save, query and version themselves
Your code and its execution traces contain enough information to save, query and version computations without extra boilerplate. mandala is a persistent memoization cache on steroids that lets you tap into this information. This post walks you through mandala to give you an idea of its general spirit and the particular ways in which it simplifies computational data management.

How to Use Pandas With Pandera to Validate Your Data in Python 
Type hints and annotations are not enough when you are using pandas for data analysis in Python. You need validation! Today I’ll show you how to work with Pandera to quickly and easily validate your dataframes.

Building reproducible Python environments with XARs
The post discusses how to build reproducible Python environments using xars, a tool developed by Jane Street. Xars are self-contained archives of Python packages and their dependencies, allowing for easy distribution and reproducibility across different machines.

Building A ChatGPT-enhanced Python REPL
This article shares the author's experience in building a Python REPL augmented with ChatGPT. He explores how the application is built, and speculates on software engineering patterns and paradigms that might emerge in systems built on Large Language Models (LLMs).

Improving messages and types in GDB’s Python API
The post describes improvements made to the Python API of GDB, a popular debugger. Specifically, the post discusses improvements to the type and message handling within the API, making it easier for developers to use GDB in their Python projects.

The fastest way to read a CSV file in Pandas 2.0
It turns out that the fastest way to create a Pandas DataFrame from a CSV file is to use an entirely different library.

A Practical Introduction to Polars for Python Data Processing
This post is a brief tour of how to set up and use Polars, working through a pragmatic example of the things you might do in a typical data exploration project.

Algebraic Data Types in (typed) Python
Algebraic data types (ADTs) are a way of representing data that can be in one of a few different, mutually exclusive, forms. In Python, ADTs can be represented using the typing module. ADTs can help to make code more clear and concise, and can also help to prevent errors.

Running Python micro-benchmarks using the ChatGPT Code Interpreter alpha

PyCascades 2023 Videos 

Dependency Injection in Python


Interesting Projects, Tools and Libraries

Megabots
State-of-the-art, production ready bots made mega-easy, so you don't have to build them from scratch.

Polyfactory
Polyfactory is a simple and powerful mock data generation library, based around type hints and supporting dataclasses, typed-dicts, Pydantic models and more.

web-llm
Bringing large-language models and chat to web browsers. Everything runs inside the browser with no server support. 

openai_pricing_logger
openai_pricing_logger is a Python package that logs OpenAI API costs and timestamps. It's designed to help you keep track of API usage and related costs, providing an easy way to monitor and analyze the expenses.

txtinstruct
txtinstruct is a framework for training instruction-tuned models.

markdown-code-runner
Automatically execute code blocks within a Markdown file and update the output in-place.

AutoResearcher
Automating scientific workflows with AI.

LLMZoo
LLM Zoo is a project that provides data, models, and evaluation benchmark for large language models.

poe-api
A reverse engineered Python API wrapper for Quora's Poe, which provides free access to ChatGPT, GPT-4, and Claude.

Semaphore
A full-body keyboard using gestures to type through computer vision.

Wolverine
Give your python scripts regenerative healing abilities!

pyobsplot
Observable Plot in Jupyter notebooks and Quarto documents.


New Releases

pip 23.1
This is the second release of pip for the year 2023. You can find the full list of changes in the changelog.


Upcoming Events and Webinars

PyData NYC Meetup April 2023
There will be following talks
  • Play in your neighbor's backyard for fun! Different projects, same methods
  • IBM Call for Code, Sustainability, and AI (Watson Assistant)
  • Predicting temperatures using linear regression with Python

PyData Chicago Meetup April 2023
There will be a talk, Design and Analysis of Experiments with R and Python.
 
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2023 Python Weekly, All rights reserved.
You are receiving our weekly newsletter because you signed up at http://www.PythonWeekly.com.

Our mailing address is:
Python Weekly
Brooklyn
Brooklyn, NY 11209

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Older messages

Python Weekly - Issue 595

Thursday, April 6, 2023

View this email in your browser Python Weekly Welcome to issue 595 of Python Weekly. Let's get straight to the links this week. From Our Sponsor One of the commonly used ways to implement mass

Python Weekly - Issue 594

Thursday, March 30, 2023

View this email in your browser Python Weekly Welcome to issue 594 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Build developer-first automations with Retool

Python Weekly - Issue 593

Thursday, March 23, 2023

View this email in your browser Python Weekly Welcome to issue 593 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 592

Thursday, March 16, 2023

View this email in your browser Python Weekly Welcome to issue 592 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 591

Thursday, March 9, 2023

View this email in your browser Python Weekly Welcome to issue 591 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Snyk is hosting a hands-on, virtual workshop to

You Might Also Like

iOS Dev Weekly - Issue 688

Friday, November 22, 2024

How do you get an app featured on the App Store? There's a new process, and it's great! 📝 View on the Web Archives ISSUE 688 November 22nd 2024 Comment Every developer, from solo indie devs to

Why Nvidia's CEO loves NotebookLM

Friday, November 22, 2024

I love my Alexa-enabled microwave; Best early Black Friday deals -- ZDNET ZDNET Tech Today - US November 22, 2024 Jensen Huang Even Nvidia's CEO is obsessed with Google's NotebookLM AI tool

Digest #151: Uber’s Migration, Terraform Tips, AMI Creation, and Helm Chart Scanning

Friday, November 22, 2024

Learn zero-downtime migration techniques, improve testing workflows, and master AMI creation. Plus, explore Terraform tools, Helm chart validation, and debugging AWS EC2 issues. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

SWLW #626: AI makes Tech Debt more expensive, The problem with most L&D strategies, and more.

Friday, November 22, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

Warning: Over 2,000 Palo Alto Networks Devices Hacked in Ongoing Attack Campaign

Friday, November 22, 2024

THN Daily Updates Newsletter cover Generative AI For Dummies ($18.00 Value) FREE for a Limited Time Generate a personal assistant with generative AI Download Now Sponsored LATEST NEWS Nov 22, 2024

⚙️ Businesses increase AI spend to $13.8 billion

Friday, November 22, 2024

Plus: World leaders endorse digital green action plan ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 11/22/2024

Friday, November 22, 2024

New blogs from Syncfusion Building Oqtane Modules with Syncfusion Components for Blazor [Webinar Show Notes] By Carter Harris This blog provides show notes for our Nov. 14, 2024, webinar, “Building

ASP.NET Core News - 11/22/2024

Friday, November 22, 2024

View this email in your browser Get ready for this weeks best blog posts about ASP.NET Core! Integrating .NET Aspire With Azure Storage — by fsazanavets Lanayx/Oxpecker: ASP.NET Core based F# framework

Recording: 'Data Storytelling: What Organizations Need to Know Going Into 2025'

Friday, November 22, 2024

Thank you for your interest in our latest webinar. As promised here is your recording of the event. View email in browser Recording Now Available Thank you for your interest in receiving a recording of

💻 Issue 437 - Introducing local Azure Service Bus Emulator

Thursday, November 21, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 437 Release Date Nov 21, 2024 Your weekly report of the most popular .NET news, articles and projects