pythonhub | Technologies

Telegram-канал pythonhub - PythonHub

1140

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

Subscribe to a channel

PythonHub

Map Machine: Python renderer for OpenStreetMap with custom icons

https://github.com/enzet/map-machine

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

PythonHub

Django: An admin extension to prevent state leaking between requests

Here’s a small protection I added to a project a few years ago. I was considering it again since I saw a similar potential bug in a Django middleware.

https://adamj.eu/tech/2024/04/29/django-admin-prevent-leaking-requests/

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

PythonHub

A Beginner’s Guide to Vector Embeddings

In this article, we’ll examine vector embeddings in depth, including the types of vector embeddings, how neural networks create them, how vector embeddings work, and how you can create embeddings for your data.

https://www.timescale.com/blog/a-beginners-guide-to-vector-embeddings/

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

PythonHub

TagStudio

A file and photo management application and system.

https://github.com/TagStudioDev/TagStudio

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

PythonHub

Sleepsort: Sorting while sleeping

The post introduces the "sleepsort" algorithm, a quirky sorting method that utilizes thread sleep times to sort integers in ascending order. It provides a playful yet insightful exploration of the algorithm's functionality and limitations.

https://animeshchouhan.com/posts/sleepsort

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

PythonHub

TypeIs does what I thought TypeGuard would do in Python

The article discusses the differences between the TypeGuard and TypeIs type annotations in Python. It explains that TypeIs has more intuitive behavior compared to TypeGuard, especially when dealing with union types, and recommends using TypeIs over TypeGuard in most cases.

https://rednafi.com/python/typeguard_vs_typeis/

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

PythonHub

Patching requests for fun and (concurrent) profit

Because life is too short to spam calls to SSLCTXloadverifylocations().

https://blog.borrego.dev/entries/patching-requests-for-fun-and-concurrent-profit.html

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

PythonHub

Local LLM-as-judge evaluation with lm-buddy, Prometheus and llamafile

This post examines how different software components came together to allow LLM-as-judge evaluation without the need for expensive GPUs. All the components were built with and chosen for their user control, open source nature, and interoperability.

https://blog.mozilla.ai/local-llm-as-judge-evaluation-with-lm-buddy-prometheus-and-llamafile

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

PythonHub

Python Hub Weekly Digest for 2024-05-05

https://pythonhub.dev/digest/2024-05-05/

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

PythonHub

Learn to use Websockets with Django by building your own ChatGPT

Everything you need to know about websockets to use them in your applications, with Django, channels, and HTMX.

https://www.saaspegasus.com/guides/django-websockets-chatgpt-channels-htmx/

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

PythonHub

I accidentally built a meme search engine

Or: how to learn about clip/siglip and vector encoding images.

https://harper.blog/2024/04/12/i-accidentally-built-a-meme-search-engine

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

PythonHub

Pydantic 2.7 released: the fastest version yet

It finally integrates jiter, a high speed JSON parser

https://github.com/pydantic/pydantic/releases/tag/v2.7.0

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

PythonHub

PySheets – Spreadsheet UI for Python

https://pysheets.app/

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

PythonHub

BeyondLLM

Build, evaluate and observe LLM apps.

https://github.com/aiplanethub/beyondllm

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

PythonHub

meta-llama / codellama

Inference code for CodeLlama models

https://github.com/meta-llama/codellama

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

PythonHub

tach

A Python tool to enforce a modular, decoupled package architecture.

https://github.com/Never-Over/tach

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

PythonHub

LMDeploy

LMDeploy is a toolkit for compressing, deploying, and serving LLMs.

https://github.com/InternLM/lmdeploy

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

PythonHub

torchtitan

A native PyTorch Library for large model training.

https://github.com/pytorch/torchtitan

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

PythonHub

How to Build a Crystal Image Search App with Vector Search

A demonstration of how to build an application to store and query data on crystals and precious stones using Astra DB. Built with RAGStack, this web app leverages the CLIP model to provide multi-modal search to retrieve data on all kinds of crystals.

https://www.datastax.com/blog/building-a-generative-ai-crystal-image-search-app-with-vector-search

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

PythonHub

Doriandarko / maestro

A framework for Claude Opus to intelligently orchestrate subagents.

https://github.com/Doriandarko/maestro

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

PythonHub

WebLlama

Llama-3 agents that can browse the web by following instructions and talking to you.

https://github.com/McGill-NLP/webllama

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

PythonHub

cohere-toolkit

Toolkit is a collection of prebuilt components enabling users to quickly build and deploy RAG applications.

https://github.com/cohere-ai/cohere-toolkit

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

PythonHub

Asyncio Coroutine Object Methods in Python

We can define coroutine methods on custom Python objects. This allows methods on custom Python objects to use async/await syntax, such as awaiting other coroutines and tasks and allows the custom coroutine methods themselves to be awaited within our asyncio programs. In this tutorial, you will discover how to define object methods as coroutines.

https://superfastpython.com/asyncio-coroutine-methods/

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

PythonHub

Django from first principles

Many people don't realize you can start a Django project with a single file. This series walks through the process of building a simple but non-trivial project by starting with a single file. The project only expands to additional files when it makes sense to move code out of the main file. By the end of the series, we'll have a project with a structure similar to what's generated by sta...

https://www.mostlypython.com/django-from-first-principles-2/

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

PythonHub

CoreNet

A library for training deep neural networks by Apple.

https://github.com/apple/corenet

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

PythonHub

Data Bonsai: a Python package to clean your data with LLMs

https://github.com/databonsai/databonsai

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

PythonHub

Python Big O: Time complexities of different data structures in Python

https://www.pythonmorsels.com/time-complexities/

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

PythonHub

Hashquery, a Python library for defining reusable analysis

https://hashquery.dev/

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

PythonHub

jxnl / instructor

structured outputs for llms

https://github.com/jxnl/instructor

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

PythonHub

anthropic-cookbook

A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.

https://github.com/anthropics/anthropic-cookbook

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