PythonHub
2.42K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Using GPT-3 to explain how code works

One of my favourite uses for the GPT-3 AI language model is generating explanations of how code works. It’s shockingly effective at this: its training set clearly include a vast amount of source code.

https://simonwillison.net/2022/Jul/9/gpt-3-explain-code/
Logging in Python: A Developer’s Guide

In this tutorial, you’ll learn how to set up logging in Python using the built-in logging module. You’ll learn the basics of logging, logging variable values and exceptions, configuring custom loggers and formatters, and more.

https://blog.sentry.io/2022/07/19/logging-in-python-a-developers-guide/
Code From Anywhere: Dev Containers and Github Codespaces

Because VS Code can run in the browser, Dev Containers, along with Github Codespaces, also allow you to develop from almost anywhere. They’re great for standardizing development across a team. They can also make working on several repos at once much easier because each repo can have its own specific environment for development.

https://earthly.dev/blog/devcontianers/
3 Simple Ideas From Functional Programming To Improve Your Code

Functional programming is a complex topic to dive into. However, there are 3 simple ideas from functional/declarative code that you can apply to your own code today - without becoming a Haskell expert! This video dives into the details and show you a few examples in Python of how you can use these ideas in both object-oriented and functional/procedural code.

https://www.youtube.com/watch?v=4B24vYj_vaI
Build a Passwordless Authentication System Using Django, Twilio Verify, and SendGrid

In this tutorial, you will learn how to create a passwordless authentication system using Twilio Verify, SendGrid, Django, and Python. The proposed authentication system will require users to verify their identity using a one-time password.

https://www.twilio.com/blog/passwordless-authentication-system-django-twilio-verify-sendgrid