1140
News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
Lockbox
Lockbox is a forward proxy for making third party API calls.
https://github.com/mkjt2/lockbox
Pro-Tip – "En-Rich" your Python testing
The article provides a pro-tip on enhancing Python testing using the "rich" library. It demonstrates how to improve test output by using "rich" for better visualization of test results, particularly in pytest tests. The article offers practical advice and code examples for enriching the testing experience in Python.
https://www.revsys.com/tidbits/en-rich-your-python-testing/
gpt-newspaper
An innovative autonomous agent designed to create personalized newspapers tailored to user preferences. GPT Newspaper revolutionizes the way we consume news by leveraging the power of AI to curate, write, design, and edit content based on individual tastes and interests.
https://github.com/assafelovic/gpt-newspaper
Twitter API Wrapper for Python – No API Keys Needed
https://github.com/d60/twikit
Implement Parsers with Pylasu
In this article, we will learn how to implement parsers in Python using Pylasu and ANTLR.
https://tomassetti.me/implement-parsers-with-pylasu/
joaomdmoura / crewAI-examples
https://github.com/joaomdmoura/crewAI-examples
facebookresearch / audio2photoreal
Code and dataset for photorealistic Codec Avatars driven from audio
https://github.com/facebookresearch/audio2photoreal
FastCRUD
FastCRUD is a Python package for FastAPI, offering robust async CRUD operations and flexible endpoint creation utilities.
https://github.com/igorbenav/fastcrud
Patching pydantic settings in pytest
The post discusses a Python tutorial on patching Pydantic settings in Pytest. It covers techniques for modifying Pydantic settings during testing scenarios in a Pytest environment, providing practical insights for effective testing and development workflows.
https://rednafi.com/python/patch_pydantic_settings_in_pytest/
Ten Python datetime pitfalls, and what libraries are (not) doing about it
The article explores various challenges and inconsistencies in the Python datetime library, as well as how different third-party libraries address these issues.
https://dev.arie.bovenberg.net/blog/python-datetime-pitfalls/
A bird's eye view of Polars
Read how Polars executes your query from planning, optimizing to execution.
https://pola.rs/posts/polars_birds_eye_view
StreamRAG
Video Search and Streaming Agent.
https://github.com/video-db/StreamRAG
TIL: `yield` inside a `try` followed by `finally` has some interesting behaviour.
https://www.reddit.com/r/Python/comments/1ai5okp/til_yield_inside_a_try_followed_by_finally_has/
Deep Dive Into the Repository Design Pattern in Python
A closer look at the repository design pattern in Python. This is a very useful pattern that allows you to keep your data storage separate from your data operations.
https://www.youtube.com/watch?v=9ymRLDfnDKg
Python-based pinball software framework
https://missionpinball.org/
django-htmx-components
This is a collection of components for Django and htmx. They are meant to be copy-pasted into your project and customized to your needs.
https://github.com/iwanalabs/django-htmx-components
Python Hub Weekly Digest for 2024-02-11
https://pythonhub.dev/digest/2024-02-11/
excelCPU
16-bit CPU for Excel, and related files.
https://github.com/InkboxSoftware/excelCPU
Build a Django AI colorization app
We'll build a simple Django app that uses AI to color black and white photos. I'll also guide you through the easiest method to use webhooks in Django. Webhooks are a neat way of external functions (e.g., AI functions) sending data to your server.
https://www.youtube.com/watch?v=-04pgby8tVE
arcee-ai / mergekit
Tools for merging pretrained large language models.
https://github.com/arcee-ai/mergekit
InternLM / InternLM-XComposer
InternLM-XComposer2 is a groundbreaking vision-language large model (VLLM) excelling in free-form text-image composition and comprehension.
https://github.com/InternLM/InternLM-XComposer
fabric
fabric is an open-source framework for augmenting humans using AI.
https://github.com/danielmiessler/fabric
InstaPython – Instant custom Python scripts on-demand
https://instapython.com
EasyGmail
A lightweight, minimalistic, and synchronous Python package for quickly sending emails via Gmail.
https://github.com/ayushgun/easygmail
MarkFzp / act-plus-plus
Imitation learning algorithms with Co-training for Mobile ALOHA: ACT, Diffusion Policy, VINN
https://github.com/MarkFzp/act-plus-plus
llm-app-stack
Emerging Architectures for LLM Applications.
https://github.com/a16z-infra/llm-app-stack
Exploring the GPT-4 with Vision API using Images and Videos
All you need to know to understand the GPT-4 with Vision API with examples for processing Images and Videos.
https://jstoppa.com/posts/exploring_the_gpt_with_vision_api_image_and_video/post/
bclavie / RAGatouille
https://github.com/bclavie/RAGatouille
Running Open Source LLMs In Python - A Practical Guide
Unleashing AI Power on Your Laptop.
https://christophergs.com/blog/running-open-source-llms-in-python
Mix Python and Rust for Production CLIs
The video outlines an effective workflow for combining Python and Rust - use PyO3 to call Python from Rust CLIs, leverage Rust's safety and Python's libraries, add testing to validate logic, automate processes, and deliver binaries to users.
https://www.youtube.com/watch?v=GBZoWervz3s