PythonHub
2.42K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Playing with Streamlit and LLMs.

This post describes how to use Streamlit to build a simple interface for interacting with large language models (LLMs). It also includes code examples that show how to use Streamlit to display text, images, and tables, and to interact with LLMs through prompts and queries.

https://lethain.com/streamlit-llms/
Remote Interactive Debugging of Python Applications Running in Kubernetes

In this tutorial we will create a setup for remote debugging of Python applications running in Kubernetes, which will allow you to set breakpoints, step through code, and interactively debug your applications without any change to your code or deployment.

https://martinheinz.dev/blog/99
The Annotated S4

This post provides an overview of the Structured State Space for Sequence Modeling (S4) architecture which is a new approach to very long-range sequence modeling tasks for vision, language, and audio, showing a capacity to capture dependencies over tens of thousands of steps. It also includes code implementations that allow readers to experiment with the S4 architecture.

https://srush.github.io/annotated-s4
Designing Pythonic library APIs

The article discusses some principles for designing good Python library APIs, including structure, naming, error handling, type annotations, and more. The author argues that Python's flexibility can be a double-edged sword, and that it's important to design APIs that are easy to use and understand.

https://benhoyt.com/writings/python-api-design/
Geospatial Data in your Graph

In this stream we explore some techniques for working with geospatial data in Neo4j. We will cover some basic spatial Cypher functions, spatial search, routing algorithms, and different methods of importing geospatial data into Neo4j.

https://www.youtube.com/watch?v=djMsdSxvd2E
Building Real-time Machine Learning Foundations at Lyft

The article highlights Lyft's efforts in developing real-time machine learning foundations to enhance their platform's performance and user experience. It explores the challenges faced and the strategies employed to build scalable and reliable machine learning systems within the context of a ride-sharing company.

https://eng.lyft.com/building-real-time-machine-learning-foundations-at-lyft-6dd99b385a4e
When NumPy is too slow

What do you do when your NumPy code isn’t fast enough? We’ll discuss the options, from Numba to JAX to manual optimizations.

https://pythonspeed.com/articles/numpy-is-slow/
Automating Python code quality

The article emphasizes the importance of code quality in Python software development, discussing various aspects such as style consistency, code readability, testing, and documentation. It provides practical tips and best practices to improve code quality and maintainability, ultimately enhancing the overall software development process.

https://blog.fidelramos.net/software/python-code-quality