PythonHub
2.44K subscribers
2.35K photos
49.3K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
OpenChatKit

OpenChatKit provides a powerful, open-source base to create both specialized and general purpose chatbots for various applications. The kit includes an instruction-tuned 20 billion parameter language model, a 6 billion parameter moderation model, and an extensible retrieval system for including up-to-date responses from custom repositories.

https://github.com/togethercomputer/OpenChatKit
visual-chatgpt

Visual ChatGPT connects ChatGPT and a series of Visual Foundation Models to enable sending and receiving images during chatting.

https://github.com/microsoft/visual-chatgpt
Sync or Async? Unpacking the Mysteries of Django Signals

Django signals provide a powerful way to trigger actions when specific events occur, but are they asynchronous or synchronous? In this article, we'll explore the answer to this question and discuss the pros and cons of using Django signals in your web applications.

https://www.mattlayman.com/blog/2023/django-signals-async/
How to Generate Images Using the OpenAI API and DALL·E 2 in Python

In this tutorial, you'll learn how to use OpenAI's API with Python to generate, edit, and vary images using natural language prompts.

https://www.makeuseof.com/generate-images-using-openai-api-dalle-python/
Python and SLSA

Supply chain Layers for Software Artifacts (SLSA) is a framework of tools to generate and verify provenance for software artifacts. In the Python ecosystem there are two main types of software artifacts: wheels and source distributions. How can we use the SLSA framework to generate and verify the provenance of Python artifacts?

https://sethmlarson.dev/python-and-slsa
Tracking the Fake GitHub Star Black Market with Dagster, dbt and BigQuery

It's easy for an open-source project to buy fake GitHub stars. We share two approaches for detecting them.

https://dagster.io/blog/fake-stars
The quantum state of a TCP port

If I navigate to https://blog.cloudflare.com/, my browser will connect to a remote TCP address from the local IP address assigned to my machine, and a randomly chosen local TCP port. What happens if I then decide to head to another site? Is it possible to establish a new TCP connection from the same local IP address and port?

https://blog.cloudflare.com/the-quantum-state-of-a-tcp-port/