News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
ECTO-1A / AppleJuice
Apple BLE proximity pairing message spoofing
https://github.com/ECTO-1A/AppleJuice
stepping
Incremental View Maintenance for Python application developers.
https://stepping.site/
Python variables, references and mutability
SummaryThe analogy of putting things in a box that works for most languages to explain variables ...
https://www.bitecode.dev/p/python-variables-references-and-mutability
mistral-src
Reference implementation of Mistral AI 7B v0.1 model.
https://github.com/mistralai/mistral-src
kernel-hardening-checker
A tool for checking the security hardening options of the Linux kernel.
https://github.com/a13xp0p0v/kernel-hardening-checker
5 Ways to Measure Execution Time in Python
You can benchmark the execution of Python code using the “time” module in the standard library. In this tutorial, you will discover how to time the execution of Python code using a suite of different techniques.
https://superfastpython.com/benchmark-execution-time/
Seaborn Confusion Matrix: How to Plot and Visualize in Python
Master the art of data visualization with Seaborn confusion matrix plotting. Evaluate model performance like a pro.
https://www.marsja.se/seaborn-confusion-matrix-how-to-plot-and-visualize-in-python/
Starting on Software Bill-of-Materials (SBOM) for CPython
https://sethmlarson.dev/security-developer-in-residence-weekly-report-12
So you want to expose a database? - An exploration of automated API generation
https://codebeez.nl/blogs/so-you-want-to-expose-a-database-an-exploration-of-automated-api-generation/
facebookresearch / nougat
Implementation of Nougat Neural Optical Understanding for Academic Documents
https://github.com/facebookresearch/nougat
Small and Speedy: Lightning fast search with Flask, htmx and Airtable (No React required).
https://levelup.gitconnected.com/small-and-speedy-lightning-fast-search-with-flask-htmx-and-airtable-no-react-required-f10b40785bf3
Asyncio Coroutines Faster Than Threads!?
In this tutorial, you will discover whether coroutines really are faster than threads, or not, given a suite of benchmarks.
https://superfastpython.com/asyncio-coroutines-faster-than-threads/
Show HN: Magentic – Use LLMs as simple Python functions
https://github.com/jackmpcollins/magentic
Python 3.12
https://www.python.org/downloads/release/python-3120/
Keep content managers’ Django admin access up-to-date with role-based permissions
https://406.ch/writing/keep-content-managers-admin-access-up-to-date-with-role-based-permissions/
cloud_benchmarker
Cloud Benchmarker automates performance testing of cloud instances, offering insightful charts and tracking over time.
https://github.com/Dicklesworthstone/cloud_benchmarker
Exploring Wordle
This article will show you how to solve Wordle programmatically using Python.
https://www.georgevreilly.com/2023/09/26/ExploringWordle.html
A tool that detects, extracts templates, and structures logs, via GPT-4.
A command-line tool that detects, extracts log templates, and structures logs to in-process database, leveraging template patterns generated by GPT-4.
https://github.com/ethe/log2row
Building an API in the cloud in fewer than 200 lines of code
Cloud tools and Python packages have become so powerful that you can build a (scalable) cloud-based API in fewer than 200 lines of code. In this post, you’ll see how to use Google Cloud, Terraform, and FastAPI to deploy a queryable data API on the cloud.
https://aeturrell.com/blog/posts/build-a-cloud-api/build-a-cloud-api.html
Octogen
Octogen is an Open-Source Code Interpreter Powered by GPT3.5/4 and Codellama.
https://github.com/dbpunk-labs/octogen
Python Hub Weekly Digest for 2023-10-08
https://pythonhub.dev/digest/2023-10-08/
I built an AI doctor with ChatGPT - Full Clinical Experience
The software is designed to test artificial intelligence's ability to perform patient intake, chart notes, and offer investigative and diagnostic aid. However, it is important to note that this software has NOT been tested, validated, or approved by the Food and Drug Administration (FDA) or any other regulatory body for medical devices.
https://www.youtube.com/watch?v=EAger7jOrsA
stanfordnlp / dspy
DSPy: The framework for programming with foundation models
https://github.com/stanfordnlp/dspy
FastStream
FastStream is a powerful and easy-to-use Python framework for building asynchronous services that interact with event streams such as Apache Kafka and RabbitMQ.
https://github.com/airtai/faststream
spcl / graph-of-thoughts
Official Implementation of "Graph of Thoughts: Solving Elaborate Problems with Large Language Models"
https://github.com/spcl/graph-of-thoughts
Is GPT Engineer Actually Useful?
https://www.youtube.com/watch?v=NLgw19X8p7I
Who's using asyncio?
https://www.reddit.com/r/Python/comments/16ureyk/whos_using_asyncio/
SeaGOAT
local-first semantic code search engine.
https://github.com/kantord/SeaGOAT
PyMilo
PyMilo provides a way to export pre-trained machine learning models. This makes it possible to use the models in other environments, transfer them across different platforms, and share them with others.
https://github.com/openscilab/pymilo
78% MNIST accuracy using GZIP in under 10 lines of code.
https://jakobs.dev/solving-mnist-with-gzip/