News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
Python packaging scenarios by the creators of ruff
https://github.com/astral-sh/packse
Keeping things in sync: derive vs test
In software development, keeping different parts of a program in sync is crucial. This article discusses two approaches: Deriving the behavior from a single source of truth (like a constant) or testing for synced behavior.
https://lukeplant.me.uk/blog/posts/keeping-things-in-sync-derive-vs-test/
Python Modern Practices
https://www.stuartellis.name/articles/python-modern-practices/
Flask, Django, or FastAPI?
https://www.reddit.com/r/Python/comments/1dxcdiy/flask_django_or_fastapi/
composio
Composio equips agents with well-crafted tools empowering them to tackle complex tasks.
https://github.com/ComposioHQ/composio
Python programming for Nintendo 8 bits
https://github.com/gutomaia/pyNES
Is there a way to host python projects for really free?
https://www.reddit.com/r/learnpython/comments/1dxfucj/is_there_a_way_to_host_python_projects_for_really/
PyPI Scout
Find Python packages on PyPI with natural language queries.
https://pypiscout.com/
Metatype
Declarative API development platform. Build backend components with WASM, Typescript and Python, no matter where and how your (legacy) systems are.
https://github.com/metatypedev/metatype
All Set! Looking Under the Hood of Python's Set Data Structure
Learn everything about hash tables, collision handling, and performance optimization.
https://blog.codingconfessions.com/p/cpython-set-implementation
PostHog / posthog
🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://github.com/PostHog/posthog
A simplified Python simulation of diffusion
https://www.thepythoncodingstack.com/p/python-diffusion-simulation-demo-turtle
Are generator-coroutines really the answer?
The video delves into generator co-routines in Python, explaining the distinctions between generators, functions, and generator instances, and the protocols and roles of collections.abc in defining generators. It highlights the advantages of lazy computation with generators, efficient control and data flow management, and addresses challenges in chaining operations and modeling complex p...
https://www.youtube.com/watch?v=Knth0LhQnC0
Secrets of the ChatGPT Linux system
Have you noticed that ChatGPT sometimes writes out Python code and somehow executes it? How does that work? What kind of environment is it using? Can we co-opt it for our own ends? Let's find out!
https://incoherency.co.uk/blog/stories/chatgpt-linux.html
A Guide to Python's Weak References Using weakref Module
Chances are that you never touched and maybe haven't even heard about Python's weakref module. While it might not be commonly used in your code, it's fundamental to the inner workings of many libraries, frameworks and even Python itself. So, in this article we will explore what it is, how it is helpful, and how you could incorporate it into your code as well.
https://martinheinz.dev/blog/112
GraphRAG
A modular graph-based Retrieval-Augmented Generation (RAG) system by Microsoft.
https://github.com/microsoft/graphrag
Kivy – a cross platform Python UI framework
https://kivy.org
Pretzel
Modern, open-source Jupyter alternative.
https://github.com/pretzelai/pretzelai
cambrian
A Fully Open, Vision-Centric Exploration of Multimodal LLMs.
https://github.com/cambrian-mllm/cambrian
How to use Vue with Django (including Auth)
We'll set up a Vue.js frontend + a Django backend. Strong foundations for your production app. We'll also add auth Simple and robust. No tokens, no DRF, no JWT.
https://www.youtube.com/watch?v=fUpvQd_5cnA
API integration Course – Modern Python with FastAPI
This video provides a comprehensive overview of building event-driven applications using FastAPI, covering topics from basic setup to advanced features like real-time translation and sentiment analysis. It demonstrates the integration of various technologies and APIs, emphasizing practical implementation, troubleshooting, and optimization techniques for creating functional web applicatio...
https://www.youtube.com/watch?v=rkPIftzu1pQ
Is there an alternative to Jupyter Notebook?
https://www.reddit.com/r/learnpython/comments/1dx78zc/is_there_an_alternative_to_jupyter_notebook/
I'm a Python Backend Developer, How to Create a Modern and Fast Frontend?
https://www.reddit.com/r/Python/comments/1dwf2sh/im_a_python_backend_developer_how_to_create_a/
Python Hub Weekly Digest for 2024-07-07
https://pythonhub.dev/digest/2024-07-07/
Python toolkit for quantitative finance
https://github.com/goldmansachs/gs-quant
Frappe HR
Open Source, modern, and easy-to-use HR and Payroll Software for all organizations
https://github.com/frappe/hrms
My Python code is a neural network
https://blog.gabornyeki.com/2024-07-my-python-code-is-a-neural-network/
xorbitsai / inference
Replace OpenAI GPT with another LLM in your app by changing a single line of code. Xinference gives you the freedom to use any LLM you need. With Xinference, you're empowered to run inference with any open-source language models, speech recognition models, and multimodal models, whether in the cloud, on-premises, or even on your laptop.
https://github.com/xorbitsai/inference
Run Python code in the browser
Execute you code online with the latest version of the interpreter.
https://www.pynerds.com/compiler/
anthropics / anthropic-sdk-python
https://github.com/anthropics/anthropic-sdk-python