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

Software Testing Weekly - Issue 220

Saturday, May 18, 2024

Software Testing Conferences 📚 View on the Web Archives ISSUE 220 May 18th 2024 COMMENT Welcome to the 220th issue! Have you ever been to a testing conference? They're a great way to learn about

📶 Is a Cellular iPad Worth It? — How to Prevent YouTube From Taking Over Your Screensaver

Saturday, May 18, 2024

Also: This Robot Vacuum Can Clean Stairs, and More! How-To Geek Logo May 18, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Weekend Reading — Objection-oriented programming

Saturday, May 18, 2024

This week we find a power-up box, replace GitHub Actions with Maven XMLs, avoid the worst website in the world, revisit RTO policies, “listen” to OpenAI employees, watch our Slack private messages, do

Daily Coding Problem: Problem #1445 [Easy]

Saturday, May 18, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Jane Street. The United States uses the imperial system of weights and measures, which

You don’t have to take our word for it…

Saturday, May 18, 2024

You can probably tell how excited we are to re-launch our Gigantic courses – which bring on-demand product management training for today's modern Product Managers and Product Leaders. In fact, we

🐍 New Python tutorials on Real Python

Saturday, May 18, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: What Is the __pycache__ Folder in Python? In

Visualized | Life Expectancy by Region (1950-2050F) 📊

Saturday, May 18, 2024

This map shows life expectancy at birth for key global regions, from 1950 to 2050F. View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Life Expectancy by

New Wi-Fi Vulnerability Enables Network Eavesdropping via Downgrade Attacks

Saturday, May 18, 2024

THN Daily Updates Newsletter cover The DevSecOps Playbook: Deliver Continuous Security at Speed ($19.00 Value) FREE for a Limited Time A must-read guide to a new and rapidly growing field in

🐍 New Python tutorials on Real Python

Saturday, May 18, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: What Is the __pycache__ Folder in Python? In

Toward 'local' AI w/ Apple's new chip

Saturday, May 18, 2024

faster than the cloud ☁️ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌