PythonHub
2.36K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Deploying (Multiple) Django Apps to a Single Server with Kamal 2

Cory Zue describes migrating two Django apps to a shared Hetzner VPS using Kamal 2, detailing the process of setting up a production Dockerfile, creating a Kamal deploy configuration, and addressing challenges with health checks and Django's security settings. The article highlights the ease of deploying multiple apps on a single server with Kamal 2, resulting in cost savings and improve...

https://www.coryzue.com/writing/kamal-django/
Build your first Web App with Cursor AI, Python, Virtual Machines, and Neon Postgres

Learn how to create a modern web application using Cursor AI, which allows developers to build robust applications by converting English instructions into code. The course covers a wide range of topics, including full-stack web development, integrating with GitHub, building a Python and Django web app, and deploying a production-ready server, all achievable in about 5 hours and at minima...

https://www.youtube.com/watch?v=ESrWYoXZc8s
9 Levels of Asynchronous Programming in Python

In this article, I’ll take you step-by-step through 9 levels from the basics to advanced concurrency techniques. Whether you’re new to async or looking to sharpen your skills, this guide will provide

https://medium.com/techtofreedom/9-levels-of-asynchronous-programming-in-python-3755f80403c9
1
We’re All Just Looking for Connection

We’ve been working to bring components of Quip’s technology into Slack with the canvas feature, while also maintaining the stand-alone Quip product. Quip’s backend, which powers both Quip and canvas, is written in Python. This is the story of a tricky bug we encountered last July and the lessons we learned along the way about being careful with TCP state.

https://slack.engineering/were-all-just-looking-for-connection/
Should you use uv’s managed Python in production?

The uv package manager can also install Python for you. Should you use this feature in production?

https://pythonspeed.com/articles/uv-python-production/
Django and htmx Tutorial: Easier Web Development

Christopher Trudeau demonstrates how htmx can add dynamic features like lazy loading and search-as-you-type to Django applications with minimal JavaScript. The tutorial showcases htmx's integration with Django, allowing more server-side logic and potentially better performance compared to traditional single-page applications.

https://www.youtube.com/watch?v=i1eMxu_PR5Y
👍1