PythonHub Logo Python Hub Weekly Digest for 2023-03-26

Cover by unsplash.com

đź’– Most Popular

No-async async with Python

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.

VS Code shortcuts for efficient Python programmers
Learn keyboard shortcuts that will make you a more efficient and productive Python programmer with VS Code.

FastAPI 0.95.0 supports and recommends Annotated 🚀 [cross-post from r/FastAPI]

Python-based compiler achieves orders-of-magnitude speedups


đź“– Articles

Show HN: Learn Python with Minecraft

ViperGPT: Visual Inference via Python Execution for Reasoning

shyamsn97 / mario-gpt
Generating Mario Levels with GPT2. Code for the paper "MarioGPT: Open-Ended Text2Level Generation through Large Language Models" https://arxiv.org/abs/2302.05981

Django Developers Survey 2022 Results

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.

Store & manage secrets like API keys in Python
In this video, we explore how to securely manage and use secrets like API keys, passwords, credential pairs, and other sensitive information in python. We run through the basics of using environment variables and move on to more advanced scenarios such as managing different secrets for multiple environments.


⚙️ Projects

Zef
An open source Python toolkit for graph-relational data across space and time.

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

kitsec-core
Ethical hacking, made easy.

Basaran
Basaran is an open-source alternative to the OpenAI text completion API. It provides a compatible streaming API for your Hugging Face Transformers-based text generation models.

stanford_alpaca
Code and documentation to train Stanford's Alpaca models, and generate the data.

creosote
Identify unused dependencies and avoid a bloated virtual environment.

Ciclo
A functional training loops library for JAX.

From pixels to information with Document AI
We’re seeing successively difficult problems getting solved thanks to machine learning (ML) models. In this article, you’ll see An overview of Document AI, Practical and visual examples and A document processing demo (source code included)

AgentChain
AgentChain uses Large Language Models (LLMs) for planning and orchestrating multiple Agents or Large Models (LMs) for accomplishing sophisticated tasks. AgentChain is fully multimodal: it accepts text, image, audio, tabular data as input and output.

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.

FastKafka
FastKafka is a powerful and easy-to-use Python library for building asynchronous web services that interact with Kafka topics. Built on top of Pydantic, AIOKafka and AsyncAPI, FastKafka simplifies the process of writing producers and consumers for Kafka topics.



← Previous Next →

Project by Ruslan Keba. Since 2012. Powered by Python. Made in đź‡şđź‡¦Ukraine.