PythonHub
2.42K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
How to Use Apple Vision Framework via PyObjC for Text Recognition

THis article discusses how to use the Vision framework via PyObjC, which allows you to use Objective-C frameworks from Python. The Vision framework is a machine learning framework that can be used to perform tasks such as face detection, object detection, and text recognition.

https://yasoob.me/posts/how-to-use-vision-framework-via-pyobjc/
Towards a new SymPy: Part 1 - Outline

This first post will outline the structure of the foundations of a computer algebra system (CAS) like SymPy, describe some problems SymPy currently has and what can be done to address them. Then subsequent posts will focus in more detail on particular components and the work that has been done and what should be done in the future.

https://oscarbenjamin.github.io/blog/czi/post1.html
How the Python Dataframe Interchange Protocol Makes Life Better

In this article, we answer three questions about the Python Dataframe Interchange Protocol: What it is + what problems it solves; how it works; and how extensively it's been adopted.

https://ponder.io/how-the-python-dataframe-interchange-protocol-makes-life-better/
Add database search with Django and HTMX

We'll create a fast and simple database search using Django and HTMX. It's easy and fast to do with HTMX. There'll be 6 steps.

https://www.photondesigner.com/articles/database-search-django-htmx
Deploying Django with Kamal (mrsk)

If you just want to deploy containers on a remote machine, Kamal might be a nice addition to your toolbelt. It automates many common steps when deploying containers to one or more remote machines, without introducing the complexity of something like Kubernetes or having to use a managed service.

https://anthonynsimon.com/blog/kamal-deploy/
Processing a 250 TB dataset with Coiled, Dask, and Xarray

The authors successfully processed 250TB of geospatial cloud data in 20 minutes using Xarray, Dask, and Coiled, highlighting the challenges and optimizations involved, all while keeping the cost at approximately $25. This achievement demonstrates the feasibility of large-scale data processing, exposes scalability issues, and explores cost-efficient strategies for such tasks.

https://blog.coiled.io/blog/coiled-xarray.html
Litestar

Litestar is a powerful, flexible yet opinionated ASGI framework, focused on building APIs, and offers high-performance data validation and parsing, dependency injection, first-class ORM integration, authorization primitives, and much more that's needed to get applications up and running.

https://github.com/litestar-org/litestar
How to add serverless functions to Django in 6 minutes (with HTMX and AWS Lambda)

This article discusses the integration of serverless functions with Django, highlighting how developers can leverage the benefits of serverless computing for specific tasks in a Django application. It explores the advantages of serverless architecture and provides practical insights for implementation.

https://www.photondesigner.com/articles/serverless-functions-django
Galactic

Galactic provides cleaning and curation tools for massive unstructured text datasets. It's designed to help you curate fine-tuning datasets, create document collections for retrieval-augmented generation (RAG), and even perform deduplication of web-scale datasets for LLM pre-training. This

https://github.com/taylorai/galactic