Python Weekly - Python Weekly - Issue 656

View this email in your browser

Python Weekly

Welcome to issue 656 of Python Weekly. Let's get straight to the links this week.
Articles, Tutorials and Talks

pgvector for Python developers 
Learn how to use pgvector, the Postgres extension for vector storage and querying, from Python scripts and web apps. I'll include demos with the most common drivers and ORMs, like psycopg, asyncpg, SQLAlchemy, SQLModel, and deploy a full FastAPI app using pgvector for a vector search API. I'll also talk about embedding model options and indexing strategies.

A Complete Guide to Pytest Fixtures
In this tutorial, I'll guide you through the ins and outs of Pytest fixtures. You'll learn how to create fixtures, parameterize them for flexibility, and leverage their power to create efficient, reliable, and maintainable unit tests.

Are generator-coroutines really the answer? 
The video delves into generator co-routines in Python, explaining the distinctions between generators, functions, and generator instances, and the protocols and roles of collections.abc in defining generators. It highlights the advantages of lazy computation with generators, efficient control and data flow management, and addresses challenges in chaining operations and modeling complex processes.

Secrets of the ChatGPT Linux system
Have you noticed that ChatGPT sometimes writes out Python code and somehow executes it? How does that work? What kind of environment is it using? Can we co-opt it for our own ends? Let's find out!

Detecting hallucinations in large language models using semantic entropy 
Large language models (LLMs) like ChatGPT and Gemini often generate false or unsubstantiated outputs, posing risks in fields like law, journalism, and medicine. A new statistical method using entropy-based uncertainty estimators can detect these "hallucinations" by evaluating the uncertainty of the generated meaning rather than specific word sequences, improving reliability without requiring task-specific data.

7 Functional Programming Techniques Every Developer Should Know 
This video explores 7 functional programming techniques and demonstrate their functionality. Despite Python not being a purely functional language, embracing these techniques can greatly enhance your Python skills.

All Set! Looking Under the Hood of Python's Set Data Structure
Learn everything about hash tables, collision handling, and performance optimization.

Porting Python to a terrible $3 smartwatch 
The video explores smartwatch firmware development, comparing TC32 and thumb code generation, showcasing SDK simplicity, MicroPython integration for efficient RAM usage, and demonstrating hardware modification with added connectors and firmware flashing. It addresses compiler challenges, battery life concerns, and potential applications, providing valuable insights for enthusiasts.

Optimize routing and scheduling in Python: a new open source solver Timefold
The article introduces Timefold, a new open-source solver for Python designed to handle complex optimization problems efficiently. It highlights the solver's capabilities, including its flexibility and ease of integration into various applications, making it a valuable tool for developers and researchers.

Official PyTorch Documentary: Powering the AI Revolution 
The film reveals the true story behind PyTorch's creation, highlighting the contributions of its dedicated developers. It showcases the strength of the PyTorch community, aiming to inspire further contributions and recognition of its importance in the open source world.

A Guide to Python's Weak References Using weakref Module
Chances are that you never touched and maybe haven't even heard about Python's weakref module. While it might not be commonly used in your code, it's fundamental to the inner workings of many libraries, frameworks and even Python itself. So, in this article we will explore what it is, how it is helpful, and how you could incorporate it into your code as well.

Build Full Stack Web Apps in Pure Python with Reflex - No Javascript Required 
The video demonstrates building a full stack web application using only Python with Reflex, bypassing the need for HTML, CSS, and JavaScript. It covers creating interfaces, adding features like user authentication and data storage, managing data efficiently, and customizing design with Radix UI for a seamless development experience.


Interesting Projects, Tools and Libraries

Reladiff
High-performance diffing of large datasets across databases.

OpenContracts
Mass document analytics platform based on LlamaIndex, Pgvector, React and Django.

hftbacktest
A high-frequency trading and market-making backtesting tool in Python and Rust, which accounts for limit orders, queue positions, and latencies, utilizing full tick data for trades and order books, with real-world crypto market-making examples for Binance Futures 

Unique3D
Official implementation of Unique3D: High-Quality and Efficient 3D Mesh Generation from a Single Image

Frappe HR
Open Source, modern, and easy-to-use HR and Payroll Software for all organizations

tsellm
Use LLMs in your SQLite queries.


New Releases

Django 5.1 beta 1 released


Upcoming Events and Webinars

PyRVA Meetup July 2024
There will be a talk, Data Analytics with Pandas.

PyLadies London Meetup July 2024
There will be following talks
  • Predicting User Churn with PyTorch Neural Networks
  • Contributing to Open Source AI Projects

PyData Zurich Meetup July 2024
There will be following talks
  • Data table formats
  • bitsandbytes: A Year in review & FSDP + QLoRA/QDoRA Fine-tuning Walkthrough
 
PyData London Meetup July 2024
There will be following talks
  • NLP and generative models for psychology research
  • Homomorphic Encryption in Python

PyData Amsterdam Meetup July 2024
There will be following talks
  • Beyond Pip: Exploring New Python Package Managers
  • Column Level Lineage for Data Platforms
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 © 2024 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 655

Thursday, June 20, 2024

View this email in your browser Python Weekly Welcome to issue 655 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 654

Thursday, June 13, 2024

View this email in your browser Python Weekly Welcome to issue 654 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Let's reproduce GPT-2 (124M) In

Python Weekly - Issue 653

Thursday, June 6, 2024

View this email in your browser Python Weekly Welcome to issue 653 of Python Weekly. Let's get straight to the links this week. News Trojan Embedded in crytic-compilers Python Package Targets

Python Weekly - Issue 652

Monday, June 3, 2024

View this email in your browser Python Weekly Welcome to issue 652 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 651

Thursday, May 23, 2024

View this email in your browser Python Weekly Welcome to issue 651 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Learn how you can containerize and run your GenAI

You Might Also Like

🔐 Why Microsoft Replacing Passwords Is a Good Thing — Linux Mint vs. Ubuntu

Thursday, December 26, 2024

Also: How I Used QR Codes and Google Sheets to Organize My Home How-To Geek Logo December 26, 2024 Did You Know A "moment" used to be an actual measure of time, corresponding to roughly 90

Ranked | The World's 10 Largest Companies by Revenue (2019-2024) 💰

Thursday, December 26, 2024

We show the world's largest companies by revenue, based on the Fortune Global 500 rankings as stock markets rally in 2024. View Online | Subscribe | Download Our App FEATURED STORY The World's

Issue 345 - OTA software updates are amazing

Thursday, December 26, 2024

View this email in your browser If you are just now finding out about Tesletter, you can subscribe here! If you already know Tesletter and want to support us, check out our Patreon page Issue 345 - OTA

Do Honeypots Still Matter?

Thursday, December 26, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 26, 2024? The

Best Practices for Composition Patterns in Jetpack Compose

Thursday, December 26, 2024

View in browser 🔖 Articles Best Practices for Composition Patterns in Jetpack Compose Jetpack Compose is a newly introduced declarative UI framework compared to other declarative UIs, and there hasn

wpmail.me issue#699

Thursday, December 26, 2024

wpMail.me wpmail.me issue#699 - The weekly WordPress newsletter. No spam, no nonsense. - December 26, 2024 Is this email not displaying correctly? View it in your browser. News & Articles 12 Best

Post from Syncfusion Blogs on 12/26/2024

Thursday, December 26, 2024

New blogs from Syncfusion Create a Flutter 3D Column Chart to Showcase the Top 6 Renewable Energy-Consuming Countries By Praveen Balu Let's visualize the top 6 renewable energy-consuming countries

Ruijie Networks' Cloud Platform Flaws Could Expose 50,000 Devices to Remote Attacks

Thursday, December 26, 2024

THN Daily Updates Newsletter cover Improve IT Efficiency with a Standardized OS: Nine considerations for building a standardized operating environment Optimize your IT with a standardized operating

Edge 460: Anthropic's New Protocol to Link AI Assistants to Data Sources

Thursday, December 26, 2024

Model Context Protocols is one of the recent AI contributions of the AI lab. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

December 26th 2024

Thursday, December 26, 2024

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 26th December 2024 Hi everyone, It's boxing day in some parts