TGViewer
Channel Public Channel
Python notes

Python notes

@python_development_notes

Subscribers
513
Photos
0
Videos
0
Links
213

Showing posts older than #179 · Back to latest

Older Posts 20 shown
Post #178 11.6K
Delve into the world of asynchronous programming in Python with a focus on asyncio protocols, understanding how they enable efficient and scalable network applications. This article offers insights into building responsive and concurrent systems using asyncio.
https://jacobpadilla.com/articles/asyncio-protocols
Jacob Padilla Making a Simple HTTP Server with Asyncio Protocols Learn how to build a fast, minimal HTTP server using asyncio.Protocol, complete with routing, parsing, and response handling from scratch!
  • 👍 2
Post #176 13.6K
Discover a method for statically checking Python dictionaries to ensure they contain all the required keys, improving code reliability and preventing runtime errors. This blog post provides a solution for enhancing the robustness of your Python projects.
https://lukeplant.me.uk/blog/posts/statically-checking-python-dicts-for-completeness/
Luke Plant's home page Statically checking Python dicts for completeness A Pythonic way to ensure that your statically-defined dicts are complete, with full source code.
  • ❤ 1
Post #174 14.3K
Post #172 15.3K
Post #166 16.6K
Dive into the world of Python logging and discover how to effectively track and debug your applications. This guide provides a comprehensive overview of Python's logging module, empowering you to implement robust logging strategies for improved code maintainability and troubleshooting.

https://www.dash0.com/guides/logging-in-python
Dash0 Python Logging Module: A Complete Guide · Dash0 Build productiongrade Python logging with structured JSON automatic context propagation and requestlevel correlation across services
  • ❤ 1
Post #164 16.4K
Unlock the secrets hidden within your passport by learning how to read its NFC chip using Linux. This guide reveals the tools and techniques needed to access the data stored on your passport, offering a glimpse into the technology that secures your identity.

https://shkspr.mobi/blog/2025/06/reading-nfc-passport-chips-in-linux/
Terence Eden’s Blog Reading NFC Passport Chips in Linux For boring and totally not nefarious reasons, I want to read all the data contained in my passport's NFC chip using Linux. After a long and annoying search, I settled on roeften's pypassport. I can now read all the passport information, including biometrics.…
  • 👍 2
Post #162 19.3K
This guide walks you through building a modern web application by integrating FastAPI on the backend with Svelte on the frontend, offering a step-by-step approach to creating a full-stack project with asynchronous APIs and reactive user interfaces.

https://testdriven.io/blog/fastapi-svelte/
testdriven.io Building a Real-time Dashboard with FastAPI and Svelte Learn how to build a real-time analytics dashboard using FastAPI and Svelte with server-sent events.
Post #160 18K
Explore how to reliably compare different types of iterables in Python with this concise article, which demonstrates practical techniques for checking equality between lists, tuples, and even iterator-based objects. Learn why direct equality checks may fail and how converting iterables to lists can ensure accurate comparisons.

https://www.pythonmorsels.com/iterable-equality/
Pythonmorsels Checking whether iterables are equal in Python You can check whether iterables contain the same elements in Python with equality checks, type conversions, sets, Counter, or looping helpers.
Post #159 18.3K
Tim Kamanin demonstrates how to leverage Django’s perms context variable to conditionally render UI elements based on user permissions . This lesson shows how to check the wagtailadmin.access_admin permission within templates to display or hide an Admin panel link .

https://timonweb.com/django/checking-current-user-permissions-in-django-templates/
timonweb.com Checking Current User Permissions in Django Templates Checking Current User Permissions in Django Templates.
  • 👍 2
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →