Python HubPublic posts from @[email protected]
https://mastodon.social/@pythonhub
https://files.mastodon.social/accounts/avatars/000/863/411/original/051aee40bd470ee7.pngPython Hub
https://mastodon.social/@pythonhub
Sat, 21 Mar 2026 00:15:27 +0000https://files.mastodon.social/accounts/avatars/000/863/411/original/051aee40bd470ee7.pngMastodon v4.6.0-nightly.2026-03-19https://mastodon.social/@pythonhub/116264280206463978
https://mastodon.social/@pythonhub/116264280206463978
Sat, 21 Mar 2026 00:15:27 +0000<p>Comparing Python packages for A/B test analysis (with code examples)</p><p><a href="proxy.php?url=https://e10v.me/python-packages-for-ab-test-analysis/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">e10v.me/python-packages-for-ab</span><span class="invisible">-test-analysis/</span></a></p>https://mastodon.social/@pythonhub/116262864604653048
https://mastodon.social/@pythonhub/116262864604653048
Fri, 20 Mar 2026 18:15:26 +0000<p>What Python's asyncio primitives get wrong about shared state</p><p><a href="proxy.php?url=https://www.inngest.com/blog/no-lost-updates-python-asyncio" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://www.</span><span class="ellipsis">inngest.com/blog/no-lost-updat</span><span class="invisible">es-python-asyncio</span></a></p>https://mastodon.social/@pythonhub/116261449003192353
https://mastodon.social/@pythonhub/116261449003192353
Fri, 20 Mar 2026 12:15:26 +0000<p>100 days 100 iot project with Micropython</p><p><a href="proxy.php?url=https://github.com/kritishmohapatra/100_Days_100_IoT_Projects" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/kritishmohapatra/10</span><span class="invisible">0_Days_100_IoT_Projects</span></a></p>https://mastodon.social/@pythonhub/116260505294516029
https://mastodon.social/@pythonhub/116260505294516029
Fri, 20 Mar 2026 08:15:26 +0000<p>You’ve Been Underusing Dataclasses (These Tricks Are Wild)</p><p>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.</p><p><a href="proxy.php?url=https://www.youtube.com/watch?v=Y9_h7ehjhO4" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://www.</span><span class="">youtube.com/watch?v=Y9_h7ehjhO4</span><span class="invisible"></span></a></p>https://mastodon.social/@pythonhub/116259561470275454
https://mastodon.social/@pythonhub/116259561470275454
Fri, 20 Mar 2026 04:15:24 +0000<p>Validating data with pointblank in python</p><p>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.</p><p><a href="proxy.php?url=https://www.markpitblado.me/blog/validating-data-with-pointblank-in-python" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://www.</span><span class="ellipsis">markpitblado.me/blog/validatin</span><span class="invisible">g-data-with-pointblank-in-python</span></a></p>https://mastodon.social/@pythonhub/116258617952449844
https://mastodon.social/@pythonhub/116258617952449844
Fri, 20 Mar 2026 00:15:28 +0000<p>Designing for Model Swaps</p><p>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</p><p><a href="proxy.php?url=https://garybake.com/seams1.html" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">garybake.com/seams1.html</span><span class="invisible"></span></a></p>https://mastodon.social/@pythonhub/116257674164769127
https://mastodon.social/@pythonhub/116257674164769127
Thu, 19 Mar 2026 20:15:26 +0000<p>Resume-Tailor</p><p>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.</p><p><a href="proxy.php?url=https://github.com/farmerTheodor/Resume-Tailor" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/farmerTheodor/Resum</span><span class="invisible">e-Tailor</span></a></p>https://mastodon.social/@pythonhub/116256730460231552
https://mastodon.social/@pythonhub/116256730460231552
Thu, 19 Mar 2026 16:15:27 +0000<p>python-apple-fm-sdk</p><p>Python bindings for access to the on-device model at the core of Apple Intelligence through the Foundation Models framework.</p><p><a href="proxy.php?url=https://github.com/apple/python-apple-fm-sdk" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/apple/python-apple-</span><span class="invisible">fm-sdk</span></a></p>https://mastodon.social/@pythonhub/116255786753165358
https://mastodon.social/@pythonhub/116255786753165358
Thu, 19 Mar 2026 12:15:27 +0000<p>FastAPI error handling: types, methods, and best practices</p><p>Learn FastAPI error handling with different types, methods, and best practices. Build robust APIs using custom exception handlers and practical examples.</p><p><a href="proxy.php?url=https://www.honeybadger.io/blog/fastapi-error-handling/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://www.</span><span class="ellipsis">honeybadger.io/blog/fastapi-er</span><span class="invisible">ror-handling/</span></a></p>https://mastodon.social/@pythonhub/116254843047235136
https://mastodon.social/@pythonhub/116254843047235136
Thu, 19 Mar 2026 08:15:27 +0000<p>Using tox to Test a Django App Across Multiple Django Versions</p><p>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.</p><p><a href="proxy.php?url=https://www.djangotricks.com/blog/2026/02/using-tox-to-test-a-django-app-across-multiple-django-versions/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://www.</span><span class="ellipsis">djangotricks.com/blog/2026/02/</span><span class="invisible">using-tox-to-test-a-django-app-across-multiple-django-versions/</span></a></p>https://mastodon.social/@pythonhub/116253899290654424
https://mastodon.social/@pythonhub/116253899290654424
Thu, 19 Mar 2026 04:15:26 +0000<p>MicroGPT explained interactively</p><p>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.</p><p><a href="proxy.php?url=https://growingswe.com/blog/microgpt" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">growingswe.com/blog/microgpt</span><span class="invisible"></span></a></p>https://mastodon.social/@pythonhub/116252955651472200
https://mastodon.social/@pythonhub/116252955651472200
Thu, 19 Mar 2026 00:15:28 +0000<p>Formualizer</p><p>The spreadsheet engine that actually evaluates formulas. Parse, evaluate, and mutate Excel workbooks from Rust, Python, or the browser.</p><p><a href="proxy.php?url=https://github.com/psu3d0/formualizer" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">github.com/psu3d0/formualizer</span><span class="invisible"></span></a></p>https://mastodon.social/@pythonhub/116252011875934885
https://mastodon.social/@pythonhub/116252011875934885
Wed, 18 Mar 2026 20:15:27 +0000<p>hermes-agent</p><p>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.</p><p><a href="proxy.php?url=https://github.com/NousResearch/hermes-agent" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/NousResearch/hermes</span><span class="invisible">-agent</span></a></p>https://mastodon.social/@pythonhub/116251304013799489
https://mastodon.social/@pythonhub/116251304013799489
Wed, 18 Mar 2026 17:15:26 +0000<p>seomachine</p><p>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.</p><p><a href="proxy.php?url=https://github.com/TheCraigHewitt/seomachine" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/TheCraigHewitt/seom</span><span class="invisible">achine</span></a></p>https://mastodon.social/@pythonhub/116250596355038211
https://mastodon.social/@pythonhub/116250596355038211
Wed, 18 Mar 2026 14:15:28 +0000<p>Unit testing your code’s performance, part 2: Catching speed changes</p><p>Got benchmarks in CI? You can (maybe) use tests to catch performance changes even earlier.</p><p><a href="proxy.php?url=https://pythonspeed.com/articles/speed-unit-tests/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">pythonspeed.com/articles/speed</span><span class="invisible">-unit-tests/</span></a></p>https://mastodon.social/@pythonhub/116249888503054008
https://mastodon.social/@pythonhub/116249888503054008
Wed, 18 Mar 2026 11:15:27 +0000<p>Python Hub Weekly Digest for 2026-03-15</p><p><a href="proxy.php?url=https://pythonhub.dev/digest/2026-03-15/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">pythonhub.dev/digest/2026-03-1</span><span class="invisible">5/</span></a></p>https://mastodon.social/@pythonhub/116249180806495921
https://mastodon.social/@pythonhub/116249180806495921
Wed, 18 Mar 2026 08:15:28 +0000<p>Serving Private Files with Django and S3</p><p>The article shows how to securely serve private user files stored in Amazon S3 from a Django app by keeping the bucket private and generating time-limited pre-signed URLs when a user is authorized to access a file. This approach lets S3 handle file delivery directly while Django controls access, avoiding slow proxying through the app server and making the system more scalable.</p><p><a href="proxy.php?url=https://lincolnloop.com/blog/serving-private-files-with-django-and-s3/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">lincolnloop.com/blog/serving-p</span><span class="invisible">rivate-files-with-django-and-s3/</span></a></p>https://mastodon.social/@pythonhub/116248472814947368
https://mastodon.social/@pythonhub/116248472814947368
Wed, 18 Mar 2026 05:15:25 +0000<p>MedKit</p><p>MedKit is a high-performance, unified SDK that transforms fragmented medical APIs into a single, programmable platform. It provides a clean interface for OpenFDA, PubMed, and ClinicalTrials.gov, augmented with a clinical intelligence layer and relationship mapping.</p><p><a href="proxy.php?url=https://github.com/interestng/medkit" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="">github.com/interestng/medkit</span><span class="invisible"></span></a></p>https://mastodon.social/@pythonhub/116247765148188807
https://mastodon.social/@pythonhub/116247765148188807
Wed, 18 Mar 2026 02:15:27 +0000<p>Python 3.12.13, 3.11.15 and 3.10.20 are now available!</p><p>New security releases for 3.10, 3.11 and 3.12 are now available. (As these Python versions are now in security-fix-only mode, these are source-only releases, and there is no pre-set release cadence.)</p><p><a href="proxy.php?url=https://blog.python.org/2026/03/python-31213-31115-31020/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">blog.python.org/2026/03/python</span><span class="invisible">-31213-31115-31020/</span></a></p>https://mastodon.social/@pythonhub/116247057373973975
https://mastodon.social/@pythonhub/116247057373973975
Tue, 17 Mar 2026 23:15:27 +0000<p>Update on array API adoption in scikit-learn</p><p>The article explains how scikit-learn is adopting the Python Array API standard, allowing machine-learning code to run on different array libraries (NumPy, PyTorch, CuPy) without rewriting algorithms. This enables the same scikit-learn models to automatically leverage accelerators like GPUs and improves interoperability across the scientific Python ecosystem.</p><p><a href="proxy.php?url=https://labs.quansight.org/blog/array-api-scikit-learn-2026" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">labs.quansight.org/blog/array-</span><span class="invisible">api-scikit-learn-2026</span></a></p>