Python Weekly - Python Weekly - Issue 654

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 this video, Andrej Karpathy demonstrates how to reproduce the GPT-2 (124M) model, covering topics like parameter sharing, model initialization, mixed precision training, optimizations like flash attention, and hyperparameter tuning.

Cracking the Scheduling Code in Hay Day
Learn how to solve the scheduling problem in the Hay Day game using Mixed-integer linear programming and Google OR-Tools.

CPython Garbage Collection: The Internal Mechanics and Algorithms
A detailed code walkthrough of how CPython implements memory management, including reference counting and garbage collection.

Python wheel filenames have no canonical form
The post discusses the lack of a canonical form for Python wheel filenames, highlighting that despite standardization in package names and versions, wheel filenames require parsing for equivalence. This lack of canonicalization, especially with compressed tag sets, poses challenges in certain contexts like cryptographic verification. 

Build a SaaS App with Django, Stripe, Neon PostgreSQL, TailwindCSS, GitHub Actions 
This video is a Python tutorial that teaches how to build a SaaS app with Django, Stripe, Neon PostgreSQL, TailwindCSS, and GitHub Actions. It covers topics like Django web development, sending emails, user authentication, deployment, database integration, static files, and subscription management.

Optimal SQLite settings for Django
The article provides optimal SQLite settings for Django applications, aimed at enhancing performance and reliability for smaller deployments. It includes specific PRAGMA configurations and a simple backup strategy, highlighting the potential of SQLite when correctly tuned for production use.

Insanely Easy GPT-4 One Prompt Streamlit Interactive Plotly Sunburst Chart
Simple and modular prompt engineering for efficient Python charting results.

Modal Forms with Django, HTMX, and Tailwind CSS 
This video shows how you can convert a traditional Django form to an HTMX modal element in just a few quick steps.

My thoughts on Python in Excel
An in-depth review of Microsoft's new Python in Excel functionality.


Interesting Projects, Tools and Libraries

ScrapeGraphAI
Python scraper based on AI. Just say which information you want to extract and the library will do it for you!

piku
The tiniest PaaS you've ever seen. Piku allows you to do git push deployments to your own servers.

thread
AI-Powered Jupyter Notebook built using React.

Inspectus
Inspectus is a versatile visualization tool for large language models. It runs smoothly in Jupyter notebooks via an easy-to-use Python API. Inspectus provides multiple views, offering diverse insights into language model behaviors.

Burr
Burr makes it easy to develop applications that make decisions (chatbots, agents, simulations, etc...) from simple python building blocks.

pytest-edit
Type `pytest --edit` to open the failing test code.

llama-zip
LLM-powered lossless compression tool.


New Releases

Python in Visual Studio Code – June 2024 Release
This release includes the following announcements:
  • VS Code Native REPL for Python with Intellisense and syntax highlighting
  • Pytest improvements in the testing rewrite

Python 3.12.4 released


Upcoming Events and Webinars

PyLadies Dublin Meetup June 2024
There will be following talks
  • Building Intelligent Applications with LangChain
  • Transformers and the Attention Mechanism - The Core Components of LLMs

Portland Python Meetup June 2024
There will be a talk, pytest: an exemplary framework for testing.

PyData Prague #21
There will be following talks
  • How Data Improves Your Life in Prague
  • DuckDB Intro with Case Study from Keboola

PyData Berlin Meetup June 2024 
There will be following talks
  • FormatAI: Structuring Unstructured Text using generative AI
  • Probably Fun - games to teach statistics

PyData Ireland Meetup June 2024 
There will be following talks
  • Building Intelligent Applications with LangChain
  • Transformers and the Attention Mechanism - The Core Components of LLMs

PyData Manchester Meetup June 2024 
There will be a talk, Polars and Time Series: what it can do, and how to overcome any limitation.
 
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 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

Python Weekly - Issue 650

Friday, May 17, 2024

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

Python Weekly - Issue 649

Thursday, May 9, 2024

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

💻 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

💎 Issue 444 - Why did people rub snow on frozen feet? (2017)

Thursday, November 21, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 444 Release Date Nov 21, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 444 - JavaScript Dos and Donts

Thursday, November 21, 2024

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

📱 Issue 438 - Reverse Engineering iOS 18 Inactivity Reboot

Thursday, November 21, 2024

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

💻 Issue 362 - React Anti-Pattern: Stop Passing Setters Down the Components Tree

Thursday, November 21, 2024

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

💻 Issue 444 - Building simple event-driven applications with Pub/Sub

Thursday, November 21, 2024

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

📱 Issue 441 - Shift Left Is the Tip of the Iceberg

Thursday, November 21, 2024

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

💻 Issue 439 - Async/Await Is Real And Can Hurt You

Thursday, November 21, 2024

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

📲 Why I Ditched Linux for Samsung DeX — Buy This Instead of a Gaming Headset

Thursday, November 21, 2024

Also: Taking Instagram Stories to the Next Level, and More! How-To Geek Logo November 21, 2024 Did You Know Thurl Ravenscroft was both the voice behind the Christmas song "You're a Mean One,

Ranked | The World's 30 Largest Exporters 🌎

Thursday, November 21, 2024

We show the largest exporters in the world amid a surge in trade restrictions, rising populism, and shipping route disruptions. View Online | Subscribe | Download Our App 5 DAYS LEFT! Learn Visual