Python Weekly - Python Weekly - Issue 615

View this email in your browser

Python Weekly

Welcome to issue 615 of Python Weekly. Let's get straight to the links this week.
News

The Python Software Foundation has been authorized by the CVE Program as a CVE Numbering Authority (CNA)
Being authorized as a CNA is one milestone in the Python Software Foundation's strategy to improve the vulnerability response processes of critical projects in the Python ecosystem. The Python Software Foundation CNA scope covers Python and pip, two projects which are fundamental to the rest of Python ecosystem.


Articles, Tutorials and Talks

Create a Large Language Model from Scratch with Python 
Learn how to build your own large language model, from scratch. This course goes into the data handling, math, and transformers behind large language models. You will use Python.

How Mojo gets a 35,000x speedup over Python – Part 1
In this first part of the series, we'll start by motivating the Mandelbrot problem and why it’s a good candidate to measure performance. We will then describe some basic optimizations you can do in Mojo to get faster performance over Python code. Finally, we will compare our optimized implementation in Mojo against both pure-Python code and Python code using the NumPy library, and discuss why high-performance libraries like NumPy and other programming frameworks are not best suited to handle this problem. 
  • Part 2 - In the part 2, we continue our optimization journey and describe how to go from 90x to 26,000x speedup over Python. We will share insights into the techniques we use and discuss why Mojo is well positioned to address them. In the upcoming and final part 3, we'll wrap this series up by showing you how you can get well over 35,000 speedup over Python.

Understanding Immortal Objects in Python 3.12: A Deep Dive into Python Internals
A detailed examination of Python 3.12's internal changes featuring the concept of 'immortal' objects, for performance enhancements.

The Python dictionary dispatch pattern
One of my favourite patterns in the Python programming language is the "dictionary dispatch" pattern. This pattern is when you have a dictionary with string keys and functions as values. These functions can then be called concisely. This is useful if you have a range of functions to which different values can be applied that all accept (around) the same arguments.

Artwork Similarity Search: Exploring the Power of Vector Databases
This article will walk you through some of the basic concepts of vector databases, and we will build an end to end artwork similarity search project using Qdrant Vector database and Streamlit.

SIMIND Monte Carlo SPECT Simulator: Part 1 
Single Photon Emission Computed Tomography (SPECT) is a medical imaging method using radioactive biomolecules to emit high-energy photons, detected by a gamma camera. The Simmond Monte Carlo program simulates SPECT scanners, customizable via "Sim in" and "change" commands, with a tutorial video explaining parameter adjustments, scatter effects, and comparison to real scans.

Git log customization
The Git log command can be customized to display the information you want to see. This article shows you how to customize the Git log command using different formatting options.

Scheduling Jupyter Notebooks at Meta
The article discusses Facebook's approach to scheduling Jupyter notebooks for automated data analysis and security auditing, emphasizing the challenges faced and the system's architecture to ensure efficiency and security in their workflow automation.

Jupyter Kernel Architecture
How Jupyter executes, inspects, completes and debug code.


Interesting Projects, Tools and Libraries

OpenCopilot
Build and embed open-source AI Copilots into your product with ease.

Dara
Dara is a dynamic application framework designed for creating interactive web apps with ease, all in pure Python.

Dataherald 
Dataherald is a natural language-to-SQL engine built for enterprise-level question answering over structured data. It allows you to set up an API from your database that can answer questions in plain English

Marketing Automations Notebooks With GPT
A collection of automations and experiments exploring the applications of generative AI in Marketing, SEO, and Public Relations

pykoi
pykoi is an open-source python library for LLMs providing a unified interface for data & feedback collection, RLHF, and model comparisons.

Alfred
Alfred is a advanced OSINT information gathering tool.

PlotAI
Create charts in Python and Matplotlib with ChatGPT directly in your code. It works with Python scripts and notebooks.

JobSpy
FastAPI scraper for LinkedIn, Indeed & ZipRecruiter with Google Sheets integration.

krypton
Data encryption at rest and IAM for Python.

AttackGen
AttackGen is a cybersecurity incident response testing tool that leverages the power of large language models and the comprehensive MITRE ATT&CK framework. The tool generates tailored incident response scenarios based on user-selected threat actor groups and your organization's details.


New Releases

Python 3.11.5

Pandas 2.1


Upcoming Events and Webinars

PyData London Meetup September 2023
There will be following talks
  • Turning your Data/AI algorithms into full web apps in no time with Python
  • 10 rules on how to mess up your ML implementation
  • Finetuning LLaMA on custom dataset in 3 steps
  • Using Python in Evidence Based Policing - Successes and Challenges

PyRVA Meetup September 2023
There will be a talk that will explore leveraging the power of small JavaScript frameworks like HTMX and AlpineJS, and Python's new asynchronous capabilities to create web applications with a significantly improved user experience.

PyData Vancouver Meetup September 2023
There will be a talk, Embeddings in Machine Learning.

PyData Copenhagen Meetup September 2023
There will be a talk, Data-driven releases in regulated environments ! How can we increase developer satisfaction and joy of the job.

PyData Cambridge Meetup September 2023
There will be following talks
  • The new NumFOCUS program prioritizing the place of open-source software in scientific discovery (OSSci)
  • Current Methods in AI for Drug Discovery

PyData Eindhoven Meetup September 2023
There will be following talks
  • Secure MLOps with MLFlow simplifying integration tests at NS
  • Practical use of MLOps tools for automated visual inspection
  • Collaborative picking guided by Deep Reinforcement Learning
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 614

Thursday, August 24, 2023

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

Thursday, August 17, 2023

View this email in your browser Python Weekly Welcome to issue 613 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks How to write Python code people

Python Weekly - Issue 612

Monday, August 14, 2023

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

Thursday, August 3, 2023

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

Thursday, July 27, 2023

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

You Might Also Like

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

💎 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,