2065 private links
🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton. - mahmoud/boltons
This collection of examples discussing the question of the intrinsic security characteristics of programming languages. Through illustrations and discussions, it advocates for a different vision of well-known mechanisms and is intended to provide some food for thoughts regarding languages and development tools, as well as recommendations regarding the education of developers or evaluators for secure software.
Voici un module Python bien pratique pour injecter les entêtes HTTP de sécurité, avec des valeurs par défaut et strictes qui font bien le travail (cf HSTS, COEP, COOP, CSP, Cache-Control, Server, Permissions-Policy, Referrer-Policy, X-Content-Type-Options, X-Frame-Options, et custom).
Et il prend en charge quasiment tous les framework web actuels !
J'avais besoin de l'heure Unix/Posix, et il s'avère que time.time() est la fonction plus efficiente.
🎓 Path to a free self-taught education in Computer Science!
Histoire intéressante de la traque un bug CPU.
Et voilà, Python dans ton navigateur.
Magnifique !
This repo provides material for recreating the famous paper by Jean-Pierre Luminet (1979), simulating the first image of a black hole.
Un linter pour détecter les anti-patterns liés aux performances de votre code Python.
Sous le coude.
Plyer is a platform-independent Python wrapper for platform-dependent APIs
Gaphas is the diagramming widget library for Python.
Transfert de données via les ultrasons !
À voir si ça peut aider.
Oh, je découvre un usage utile de ICU (que je n'avais pas avant, faute de bien connaitre le projet).
=> https://github.com/BoboTiG/ebook-reader-dict/issues/155
Code :
from icu import Collator, Locale
collator = Collator.createInstance(Locale.getFrance())
# or collator = Collator.createInstance(Locale("fr_FR.UTF-8"))
words = sorted(words, key=collator.getSortKey)Et hop, toutes les vidéos sont en ligne !
Plus j'utilise pytest et plus je suis émerveillé !