pythonhub | Technologies

Telegram-канал pythonhub - PythonHub

1140

News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba

Subscribe to a channel

PythonHub

Sys.monitoring: Python Execution event monitoring

https://docs.python.org/3/library/sys.monitoring.html

Читать полностью…

PythonHub

Pythonistas, Happy New Year!

Читать полностью…

PythonHub

tinyzero

Easily train AlphaZero-like agents on any environment you want!

https://github.com/s-casci/tinyzero

Читать полностью…

PythonHub

A simple OpenID connect tutorial

Introduction
OpenID Connect is a simple identity layer on top of the OAuth 2.0 protocol. It allows ...

https://spapas.github.io/2023/11/29/openid-connect-tutorial/

Читать полностью…

PythonHub

Understanding GPU Memory 1: Visualizing All Allocations over Time

The part 1 shows how to use the memory snapshot tool.

https://pytorch.org/blog/understanding-gpu-memory-1/

Читать полностью…

PythonHub

Configuration in Python Applications: No Magic, Just Necessary Practice

The article explores the practice of configuration in Python applications, emphasizing the importance of transparency and avoiding magic in the process. It delves into practical approaches for managing configuration settings, advocating for clarity and necessary practices in the development of Python applications.

https://robertrode.com/2023/10/02/configuration-in-python-applications-no-magic-just-necessary-practice.html

Читать полностью…

PythonHub

resemble-enhance

AI powered speech denoising and enhancement.

https://github.com/resemble-ai/resemble-enhance

Читать полностью…

PythonHub

Keep Your Data DRY with APIFlask

The post discusses using APIFlask, which conforms to the OpenAPI spec with its routes and schemas, allowing for automatic API documentation. It emphasizes the benefits of keeping data DRY (Don't Repeat Yourself) and the ease of documenting APIs while writing them. The post provides insights into how APIFlask can help in avoiding redundant code and maintaining a clear and concise codebase.

https://buildwithlayer.github.io/buildwithlayer/blog/dry_with_apiflask/

Читать полностью…

PythonHub

Requests vs Httpx vs Aiohttp | Which One to Pick?

The video discusses the exploration of API communication in applications, comparing the use of requests, httpx, and aiohttp. It presents the author's preferred choice and the reasons for considering it.

https://www.youtube.com/watch?v=OPyoXx0yA0I

Читать полностью…

PythonHub

Python, C, Assembly – Faster Cosine Similarity

https://ashvardanian.com/posts/python-c-assembly-comparison/

Читать полностью…

PythonHub

Hillobar / Rope

GUI-focused roop

https://github.com/Hillobar/Rope

Читать полностью…

PythonHub

Build an instant messenger with Django (in 6 mins)

This video provides a quick tutorial on creating an instant messenger using Django. The tutorial aims to demonstrate the process in a concise manner, making it a helpful resource for individuals interested in developing a messaging application with Django.

https://www.youtube.com/watch?v=-9h3Sjr2WKk

Читать полностью…

PythonHub

Hatch v1.8.0 - binaries for every platform, Python management and static analysis backed by Ruff

https://www.reddit.com/r/Python/comments/18fx3f7/hatch_v180_binaries_for_every_platform_python/

Читать полностью…

PythonHub

What python libraries should every dev know?

https://www.reddit.com/r/learnpython/comments/18g64k2/what_python_libraries_should_every_dev_know/

Читать полностью…

PythonHub

Bash One-Liners for LLMs

Six solid examples of how llamafile can help you be productive on the command line.

https://justine.lol/oneliners/

Читать полностью…

PythonHub

Python Gotcha: List Copy Problems

Copying a Python list (or any mutable object) isn't as simple as setting one equal to another. Let's discuss a better way to do this.

https://andrewwegner.com/python-gotcha-list-copy.html

Читать полностью…

PythonHub

Python Hub Weekly Digest for 2023-12-31

https://pythonhub.dev/digest/2023-12-31/

Читать полностью…

PythonHub

Asyncio Task Cancellation Best Practices

In this tutorial, you will discover best practices for canceling asyncio tasks in Python.

https://superfastpython.com/asyncio-task-cancellation-best-practices/

Читать полностью…

PythonHub

A settings pattern for reusable Django apps

The article presents a new settings pattern for reusable Django apps, addressing the challenge of overriding app default settings with project settings. The author discusses the need for a clear and consistent pattern, and the article outlines the proposed solution, which involves inspecting the prefix of the settings to avoid returning random properties of the Django settings.

https://overtag.dk/v2/blog/a-settings-pattern-for-reusable-django-apps

Читать полностью…

PythonHub

OpenVoice

A versatile instant voice cloning approach that requires only a short audio clip from the reference speaker to replicate their voice and generate speech in multiple languages.

https://github.com/myshell-ai/OpenVoice

Читать полностью…

PythonHub

django-ninja-crud

Declarative CRUD Endpoints & Tests with Django Ninja.

https://github.com/hbakri/django-ninja-crud

Читать полностью…

PythonHub

The Key To The `key` Parameter in Python

A parameter named key is present in several Python functions, such as sorted(). Let's explore what it is and how to use it.

https://www.thepythoncodingstack.com/p/the-key-to-the-key-parameter-in-python

Читать полностью…

PythonHub

Real-world match/case

Python 3.10 brought us structural pattern matching, better known as
match/case. At first glance, ...

https://nedbatchelder.com/blog/202312/realworld_matchcase.html

Читать полностью…

PythonHub

generative-ai-python

The Google AI Python SDK enables developers to use Google's state-of-the-art generative AI models (like Gemini and PaLM) to build AI-powered features and applications.

https://github.com/google/generative-ai-python

Читать полностью…

PythonHub

Colliding Secure Hashes

The article discusses the author's porting of an algorithm to run on a GPU using pyopencl, resulting in a collision of secure hashes. The author chose to truncate the middle portion of the hash rather than the end to potentially fool someone visually comparing the starts and ends of a full-length hash.

https://www.da.vidbuchanan.co.uk/blog/colliding-secure-hashes.html

Читать полностью…

PythonHub

DjangoCon US 2023 Videos

A YouTube for DjangoCon US 2023, featuring various videos from the event. It covers a range of topics related to Django development, including talks, workshops, and discussions presented at the conference.

https://www.youtube.com/playlist?list=PL2NFhrDSOxgX41jqYSi0HmO9Wsf6WDSmf

Читать полностью…

PythonHub

Mastering GitHub Copilot for AI Paired Programming

A 6 Lesson course teaching everything you need to know about harnessing GitHub Copilot and an AI Paired Programing resource.

https://github.com/microsoft/Mastering-GitHub-Copilot-for-Paired-Programming

Читать полностью…

PythonHub

PromptBench

A Unified Library for Evaluating and Understanding Large Language Models.

https://github.com/microsoft/promptbench

Читать полностью…

PythonHub

Acly / krita-ai-diffusion

Streamlined interface for generating images with AI in Krita. Inpaint and outpaint with optional text prompt, no tweaking required.

https://github.com/Acly/krita-ai-diffusion

Читать полностью…

PythonHub

mergekit

Tools for merging pretrained large language models.

https://github.com/cg123/mergekit

Читать полностью…
Subscribe to a channel