News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
Why Do Python Lists Multiply Oddly? Exploring the CPython Source Code
A look at the internals of list implementation in CPython to understand this weird quirk about them.
https://codeconfessions.substack.com/p/why-do-python-lists-multiply-oddly
DBRX
Code examples and resources for DBRX, a large language model developed by Databricks.
https://github.com/databricks/dbrx
Building LLMs for Code Repair
The article discusses Replit's Code Repair feature, which automatically fixes common programming errors and issues in code. It explores how Code Repair helps developers save time and improve code quality by providing automated solutions to common coding problems.
https://blog.replit.com/code-repair
thepipe
Export any file, folder, website, or repo into GPT-4-Vision with one line of code.
https://github.com/emcf/thepipe
Python Cloudflare Workers
https://blog.cloudflare.com/python-workers
Make Python DevEx
The article discusses the challenges of setting up a productive Python development environment and how using Make can help alleviate these barriers by automating the preparation of the development environment and expediting the test-driven development cycle. The author provides an example project that demonstrates how to use Make to improve the Python developer experience across multiple...
https://tech.target.com/blog/make-python-devex
Most effective way to keep a python script always "running" on a server?
https://www.reddit.com/r/learnpython/comments/1bwufah/most_effective_way_to_keep_a_python_script_always/
Lightning-AI / litgpt
Hackable implementation of state-of-the-art open-source LLMs based on nanoGPT. Supports flash attention, 4-bit and 8-bit quantization, LoRA and LLaMA-Adapter fine-tuning, pre-training. Apache 2.0-licensed.
https://github.com/Lightning-AI/litgpt
Can GPT Optimize My Taxes?
The post describes a web application that uses GPT-4 and the tenforty Python library to allow users to input tax scenarios and receive optimized tax calculations and recommendations. The application aims to provide a more flexible and personalized tax advisory experience compared to traditional tax software.
https://finedataproducts.com/posts/2024-03-10-tax-scenarios-with-ai/
Python Hub Weekly Digest for 2024-04-07
https://pythonhub.dev/digest/2024-04-07/
bigcode-project / starcoder2
Home of StarCoder2!
https://github.com/bigcode-project/starcoder2
The wrong way to speed up your code with Numba
Numba can make your numeric code faster, but only if you use it right.
https://pythonspeed.com/articles/slow-numba/
Django: Write-up on optimizing the system check framework
The post discusses optimizations made to Django's system check framework, which had gained a reputation for being slow. The optimizations reduced the runtime of running checks on an example client project from 37ms to 18ms, a 50% reduction.
https://adamj.eu/tech/2024/03/23/django-optimizing-system-checks/
OpenInterpreter / open-interpreter
A natural language interface for computers
https://github.com/OpenInterpreter/open-interpreter
Building a Django API for Mobile Developers
A dive into the backend side of app development, focusing on building robust APIs with Django and Django Rest Framework.
https://www.youtube.com/playlist?list=PLgRx2Eap1Wm2W-ozbwAZwffEwTTy8xS5g
How I manage Python in 2024
https://outlore.dev/blog/python-dev-2024/
naver / dust3r
DUSt3R: Geometric 3D Vision Made Easy
https://github.com/naver/dust3r
SWE-agent
SWE-agent turns LMs (e.g. GPT-4) into software engineering agents that can fix bugs and issues in real GitHub repositories.
https://github.com/princeton-nlp/SWE-agent
Enforcing conventions in Django projects with introspection
Some code and tips to combine Python and Django introspection APIs to enforce naming conventions in your Django models.
https://lukeplant.me.uk/blog/posts/enforcing-conventions-in-django-projects-with-introspection/
Does anyone actually use PyPy or Cython?
https://www.reddit.com/r/Python/comments/1bs7mv1/does_anyone_actually_use_pypy_or_cython/
Python Project-Local Virtualenv Management Redux
https://hynek.me/articles/python-virtualenv-redux/
hpcaitech / Open-Sora
Open-Sora: Democratizing Efficient Video Production for All
https://github.com/hpcaitech/Open-Sora
A little guide to building Large Language Models in 2024
This is the first video of a 2 part series covering all the concepts to train a good performance LLM in 2024.
https://www.youtube.com/watch?v=2-SPH9hIKT8
Using breakpoints to explore your code
This post guides Python developers on effectively utilizing breakpoints to debug and explore code execution flow. It offers practical tips and examples to leverage breakpoints for better understanding and troubleshooting of Python code.
https://www.mostlypython.com/using-breakpoints-to-explore-your-code/
Reading and Writing WAV Files in Python
https://realpython.com/python-wav-files/
VoiceCraft
Zero-Shot Speech Editing and Text-to-Speech in the Wild.
https://github.com/jasonppy/VoiceCraft
myshell-ai / MeloTTS
High-quality multi-lingual text-to-speech library by MyShell.ai. Support English, Spanish, French, Chinese, Japanese and Korean.
https://github.com/myshell-ai/MeloTTS
OpenDevin
An open-source project aiming to replicate Devin, an autonomous AI software engineer who is capable of executing complex engineering tasks and collaborating actively with users on software development projects.
https://github.com/OpenDevin/OpenDevin
"Real" anonymous functions for Python
https://lwn.net/Articles/964839/
Devika
Agentic AI Software Engineer. Devika aims to be a competitive open-source alternative to Devin by Cognition AI.
https://github.com/stitionai/devika