Python Hub

76.3K posts

Python Hub banner
Python Hub

Python Hub

@PythonHub

News & links about Python programming. Support: https://t.co/z5ihtHB4jY Suggest a Link: https://t.co/gOWyInLqhy

Entrou em Mayıs 2012
3 Seguindo153.7K Seguidores
Tweet fixado
Python Hub
Python Hub@PythonHub·
Subscribe to the Weekly Digest to receive an emails with a selection of popular Articles, Projects, and Reddit Discussions. The digest comes out on Mondays. No spam or advertising. pythonhub.dev/digest/
English
26
29
87
0
Python Hub
Python Hub@PythonHub·
code-graph-rag Code-Graph-RAG builds knowledge graphs from multi-language codebases and enables AI-powered querying and editing. It uses Tree-sitter to parse ASTs across 11 languages, stores structural data in Memgraph, and translates natural language questions into Cypher graph queries. Unlike vector-based RAG, it preserves exact code relationships: call chains, inheritance hierarchies, and module dep... github.com/vitali87/code-…
English
1
5
16
737
Python Hub
Python Hub@PythonHub·
Deprecate confusing APIs like “os.path.commonprefix()” The article argues that confusing APIs like Python’s os.path.commonprefix() should be deprecated because their misleading naming and placement cause developers to misuse them and introduce security vulnerabilities. It shows how decades of confusion around this function led to real path-traversal bugs and concludes that unsafe or misleading APIs should be replaced by clearer alternatives ... sethmlarson.dev/deprecate-conf…
English
0
0
2
652
Python Hub
Python Hub@PythonHub·
Custom Data Structures in E-Graphs The post explores how Egglog’s e-graph framework can be extended with custom container data structures to represent algebraic structures (like multisets) more efficiently and reduce expression blow-up during rewriting. It shows that by embedding structural invariants into the data representation and using higher-order functions, you can express powerful rewrite rules without explosive gr... uwplse.org/2026/02/24/egg…
English
0
0
5
745
Python Hub
Python Hub@PythonHub·
You’ve Been Underusing Dataclasses (These Tricks Are Wild) The video demonstrates seven powerful, lesser-known techniques using Python dataclasses, including automatic class registration, lightweight validation, cached derived values, and context manager patterns. It also shows practical uses such as CLI generation and explains advanced features like InitVar, highlighting how dataclasses can enable cleaner and more expressive Python designs. youtube.com/watch?v=Y9_h7e…
YouTube video
YouTube
English
0
0
4
1.2K
Python Hub
Python Hub@PythonHub·
Validating data with pointblank in python One of the most common tasks of any organization is reviewing data to ensure that it is accurate and does not contain errors. Commonly, this is done by producing graphs or summary information like a median or mean and confirming that it looks reasonable. Pointblank is a newer tool that allows you to really dig into a dataset and task assumptions in a robust and reproducible manner. markpitblado.me/blog/validatin…
English
0
0
4
757
Python Hub
Python Hub@PythonHub·
Designing for Model Swaps When LLM providers ship breaking changes, a poor architecture turns a config tweak into a 400-line PR. This post introduces seam-driven design - five narrow interfaces (provider, prompt, tools, config, observability) each independently swappable - illustrated with a working FastAPI + LangChain reference app, a practical checklist, and two hands-on drills readers can run immediate garybake.com/seams1.html
English
0
0
2
739
Python Hub
Python Hub@PythonHub·
Resume-Tailor The Resume Tailor is a small tool used to quickly and automatically tailor your resume to a job description. This allows you to have the best odds of getting your resume into the hands of actual humans. github.com/farmerTheodor/…
English
0
1
4
880
Python Hub
Python Hub@PythonHub·
python-apple-fm-sdk Python bindings for access to the on-device model at the core of Apple Intelligence through the Foundation Models framework. github.com/apple/python-a…
English
0
0
5
653
Python Hub
Python Hub@PythonHub·
FastAPI error handling: types, methods, and best practices Learn FastAPI error handling with different types, methods, and best practices. Build robust APIs using custom exception handlers and practical examples. honeybadger.io/blog/fastapi-e…
English
0
0
4
579
Python Hub
Python Hub@PythonHub·
Using tox to Test a Django App Across Multiple Django Versions The article shows how to use tox to test a Django app across multiple Python and Django versions by creating isolated environments that install specific dependency combinations and run the same test suite. By defining a version matrix in tox.ini, developers can automatically verify compatibility across many Django releases and catch packaging or environment issues before users encounter them. djangotricks.com/blog/2026/02/u…
English
0
0
1
620
Python Hub
Python Hub@PythonHub·
MicroGPT explained interactively Walk through Karpathy's 200-line GPT from scratch. Tokenize names into integers, watch softmax convert scores to probabilities, step through backpropagation on a computation graph, explore attention heatmaps, and see a tiny model learn to generate plausible names. growingswe.com/blog/microgpt
English
0
0
6
736
Python Hub
Python Hub@PythonHub·
Formualizer The spreadsheet engine that actually evaluates formulas. Parse, evaluate, and mutate Excel workbooks from Rust, Python, or the browser. github.com/psu3d0/formual…
English
0
0
6
790
Python Hub
Python Hub@PythonHub·
hermes-agent Hermes Agent is an open-source autonomous AI agent that you install on your own server or machine, where it lives persistently, learns over time, and builds reusable skills and memory across sessions instead of resetting like typical chatbots. github.com/NousResearch/h…
English
1
1
2
634
Python Hub
Python Hub@PythonHub·
seomachine A specialized Claude Code workspace for creating long-form, SEO-optimized blog content for any business. This system helps you research, write, analyze, and optimize content that ranks well and serves your target audience. github.com/TheCraigHewitt…
English
1
0
2
572
Python Hub
Python Hub@PythonHub·
Unit testing your code’s performance, part 2: Catching speed changes Got benchmarks in CI? You can (maybe) use tests to catch performance changes even earlier. pythonspeed.com/articles/speed…
English
0
0
5
549