PythonHub
Открыть в Telegram
Human-curated Python news, projects, articles & tools. https://pythonhub.dev/
Больше2 657
Подписчики
+224 часа
+107 дней
+1330 дней
Архив постов
2 657
Asyncio Coroutine Object Methods in Python
We can define coroutine methods on custom Python objects. This allows methods on custom Python objects to use async/await syntax, such as awaiting other coroutines and tasks and allows the custom coroutine methods themselves to be awaited within our asyncio programs. In this tutorial, you will discover how to define object methods as coroutines.
https://superfastpython.com/asyncio-coroutine-methods/
2 657
Django from first principles
Many people don't realize you can start a Django project with a single file. This series walks through the process of building a simple but non-trivial project by starting with a single file. The project only expands to additional files when it makes sense to move code out of the main file. By the end of the series, we'll have a project with a structure similar to what's generated by sta...
https://www.mostlypython.com/django-from-first-principles-2/
2 657
Learn to use Websockets with Django by building your own ChatGPT
Everything you need to know about websockets to use them in your applications, with Django, channels, and HTMX.
https://www.saaspegasus.com/guides/django-websockets-chatgpt-channels-htmx/
2 657
I accidentally built a meme search engine
Or: how to learn about clip/siglip and vector encoding images.
https://harper.blog/2024/04/12/i-accidentally-built-a-meme-search-engine
2 657
Data Bonsai: a Python package to clean your data with LLMs
https://github.com/databonsai/databonsai
2 657
Pydantic 2.7 released: the fastest version yet
It finally integrates jiter, a high speed JSON parser
https://github.com/pydantic/pydantic/releases/tag/v2.7.0
2 657
Python Big O: Time complexities of different data structures in Python
https://www.pythonmorsels.com/time-complexities/
2 657
meta-llama / codellama
Inference code for CodeLlama models
https://github.com/meta-llama/codellama
2 657
anthropic-cookbook
A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.
https://github.com/anthropics/anthropic-cookbook
2 657
Build a Connect Four game with HTMX and Django in 8 minutes
By the end, you'll have built a multiplayer game using HTMX, using neat server-side logic and storing all results in your database. HTMX is a great way to use javascript without writing javascript.
https://www.photondesigner.com/articles/connect4-htmx
2 657
Everything Google's Python team were responsible for
https://simonwillison.net/2024/Apr/27/everything-googles-python-team-were-responsible-for/
2 657
Django: Pinpoint upstream changes with Git
In this post, we’ll cover Django’s branching structure, determining and searching through those commits, a worked example, and advanced behavioural searching with git bisect.
https://adamj.eu/tech/2024/04/24/django-pinpoint-upstream-git/
2 657
InstructLab
Command-line interface. Use this to chat with the model or train the model (training consumes the taxonomy data)
https://github.com/instructlab/instructlab
