PythonHub
2.34K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Multi-dimensional Sparse Arrays in SciPy

The article explores multi-dimensional sparse arrays and their implementation in scientific computing, focusing on their efficiency in handling large datasets with mostly empty or zero-valued elements. It emphasizes the benefits of sparse arrays for memory optimization and computational performance in various data-heavy applications.

https://labs.quansight.org/blog/multi-dimensional-sparse-arrays
How to Design an AWESOME Function Signature in Python

This video demonstrates how to design a great function header in Python, highlighting aspects that are often overlooked but can significantly impact the quality of the code. Important considerations will be discussed to enhance coding practices and improve overall functionality.

https://www.youtube.com/watch?v=WI6CqykFbDc
Automatic async to sync code conversion

The article describes how Psycopg 3 implemented an automatic conversion system to generate synchronous Python code from asynchronous code, reducing code duplication and maintenance efforts. The process involves using Abstract Syntax Trees (AST) to transform async code into equivalent sync code, with custom transformations and helper functions to handle complex cases.

https://www.psycopg.org/articles/2024/09/23/async-to-sync/
Python Tutorial: Build a Course Platform with Django, HTMX, TailwindCSS and Cloudinary

Learn how to build a Course Platform from scratch. Host video-based courses, manage thumbnails, restrict access to confirmed emails only, optimize thumbnails, customize the Django admin and much more.

https://www.youtube.com/watch?v=I_IchaIdmnA
Python for Inversive and Hyperbolic Geometry

https://coe.psu.ac.th/ad/invhyper/
When should you upgrade to Python 3.13?

Python 3.13 will be out October 1, 2024—but should you switch to it immediately?
And if ...

https://pythonspeed.com/articles/upgrade-python-3.13/
Langfun

Langfun, powered by PyGlove, makes working with language models (LM) more intuitive by treating language as functions. Using Object-Oriented Prompting, it enables users to prompt LLMs with objects and types, enhancing control and simplifying agent development.

https://github.com/google/langfun
Numpy QuadDType: Quadruple Precision for Everyone

Introducing the new data-type for Numpy providing cross-platform support of quadruple precision.

https://labs.quansight.org/blog/numpy-quaddtype-blog