1140
News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
Bridging the Python async gap from the other side
https://death.andgravity.com/asyncio-bridge
fastapi-serve
FastAPI to the Cloud, Batteries Included!
https://github.com/jina-ai/fastapi-serve
Finding and fixing insecure direct object references in Python
In this post, we'll review common patterns and types of IDOR vulnerabilities and how to protect against them.
https://snyk.io/blog/insecure-direct-object-references-python/
JupyterCon 2023 Videos
https://www.youtube.com/playlist?list=PL_1BH3ug7n1Ih_Yy2TmM7MZ2zogSLZvzE
0xpayne / gpt-migrate
Easily migrate your codebase from one framework or language to another.
https://github.com/0xpayne/gpt-migrate
rag-stack
Deploy a private ChatGPT alternative hosted within your VPC. Connect it to your organization's knowledge base and use it as a corporate oracle. Supports open-source LLMs like Llama 2, Falcon, and GPT4All.
https://github.com/psychic-api/rag-stack
Customize Django Admin Interface
Django admin panel is one of the biggest strengths on Django. It allows quickly have interface access data stored in DB, have forms to add and edit data and manage users. But since in its default state Django Admin Site is quite basic, so in this article I want to go over all the ways to make the most out of it by customizing it.
https://appliku.com/post/customize-django-admin-interface
How to use a Python multiprocessing module
https://developers.redhat.com/articles/2023/07/27/how-use-python-multiprocessing-module
Pathlib for Path Manipulations
pathlib is an interesting, object-oriented take on the filesystem paths. With plenty of functions to create, delete, move, rename, read, write, find, or split files, pathlib is an excellent replacement for the os module. But is it faster?
https://switowski.com/blog/pathlib/
Python: Profile a section of code with cProfile
The article describes how to use the cProfile module to profile a section of Python code. The cProfile module provides a detailed breakdown of the time spent in each function in the profiled code.
https://adamj.eu/tech/2023/07/23/python-profile-section-cprofile/
s0md3v / sd-webui-roop
roop extension for StableDiffusion web-ui
https://github.com/s0md3v/sd-webui-roop
edge-tts
Use Microsoft Edge's online text-to-speech service from Python WITHOUT needing Microsoft Edge or Windows or an API key.
https://github.com/rany2/edge-tts
KopikatAPI is Python library for interacting with the Kopikat API.
Kopikat project allows people to generative data augmentation. So people can enlarge and diversify datasets and is specifically helpful for datasets with up to 5,000 images.
https://github.com/onuralpszr/kopikatAPI
OpenDriveLab / UniAD
CVPR 2023 Best Paper Planning-oriented Autonomous Driving
https://github.com/OpenDriveLab/UniAD
Writing a 6502 emulator in Python
This post details the author's experience of building a 6502 emulator entirely in Python, explaining the challenges faced and the step-by-step process to create a functional and efficient emulator for the vintage microprocessor architecture.
https://dailystuff.nl/projects/writing-a-6502-emulator-in-python
ramonvc / freegpt-webui
GPT 3.5/4 with a Chat Web UI. No API key required.
https://github.com/ramonvc/freegpt-webui
How ruff changed my Python programming habits
https://406.ch/writing/how-ruff-changed-my-python-programming-habits/
textual-paint
MS Paint in your terminal.
https://github.com/1j01/textual-paint
AutoChain
Build lightweight, extensible, and testable LLM Agents.
https://github.com/Forethought-Technologies/AutoChain
Show HN: Pyflo – a free, interactive guide to learning Python
https://pyflo.net
LPython: Novel, Fast, Retargetable Python Compiler
https://lpython.org/blog/2023/07/lpython-novel-fast-retargetable-python-compiler/
DialogStudio
Towards Richest and Most Diverse Unified Dataset Collection and Instruction-Aware Models for Conversational AI.
https://github.com/salesforce/DialogStudio
Building a simple but advanced Jsonic language using Python
The article outlines the development process of Jsonic, a custom JSON-like language, from its simple form to more advanced features, providing insights into language design and parsing techniques. It showcases how the language evolves and gains complexity while maintaining its JSON-like structure and usefulness for specific use cases.
https://www.linkedin.com/pulse/building-simple-advanced-jsonic-language-aleksandar-milenkovic/
Overcoming Performance Bottlenecks with Async Python: A Deep Dive into CPU-Bound Code
The article discusses how to overcome performance bottlenecks in CPU-bound code using asynchronous programming in Python. The author provides a deep dive into the concepts of asynchronous programming and how they can be used to improve the performance of CPU-bound code.
DorIndivo/overcoming-performance-bottlenecks-with-async-python-a-deep-dive-into-cpu-bound-code-b604a400255a">DorIndivo/overcoming-performance-bottlenecks-with-async-python-a-deep-dive-into-cpu-bound-code-b604a400255a" rel="nofollow">https://medium.com/@DorIndivo/overcoming-performance-bottlenecks-with-async-python-a-deep-dive-into-cpu-bound-code-b604a400255a
Python Hub Weekly Digest for 2023-07-30
https://pythonhub.dev/digest/2023-07-30/
Package Management in the Python extension for Visual Studio Code
The Python extension in VS Code is investigating ways to improve our package management support and have completed a comparison of support offered by various package management tools.
https://devblogs.microsoft.com/python/python-package-management-proposal/
microsoft / sample-app-aoai-chatGPT
PREVIEW Sample code for a simple web chat experience targeting chatGPT through AOAI.
https://github.com/microsoft/sample-app-aoai-chatGPT
How to Work With Time Series in Python?
A look at why Python is a great language for time-series analysis. Plus, tips for getting started today.
https://www.timescale.com/blog/how-to-work-with-tim/
Python Web Conf 2023 Videos
Watch 80 talks, tutorials, and socials from Python Web Conf 2023 on Six Feet Up's YouTube channel. Explore videos about Python, Django, Kubernetes, AI/ML, Big Data, CI/CD, Serverless, Security, Climate Tech, and more. Learn a new tool. Inspire others to use technology for good.
https://www.youtube.com/playlist?list=PLt4L3V8wVnF4GJb8dekLGTNx44FNIFwdv
techleadhd / chatgpt-retrieval
https://github.com/techleadhd/chatgpt-retrieval