• #376 Every dunder method in a Python Lockbox

  • Mar 26 2024
  • Length: 32 mins
  • Podcast
#376 Every dunder method in a Python Lockbox cover art

#376 Every dunder method in a Python Lockbox

  • Summary

  • Topics covered in this episode: 🤖 On Robots.txtniquestsEvery dunder method in PythonLockboxExtrasJokeWatch on YouTube About the show Sponsored by ScoutAPM: pythonbytes.fm/scout Connect with the hosts Michael: @mkennedy@fosstodon.orgBrian: @brianokken@fosstodon.orgShow: @pythonbytes@fosstodon.org Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Tuesdays at 11am PT. Older video versions available there too. Brian #1: 🤖 On Robots.txt Jeff Triplett“In theory, this file helps control what search engines and AI scrapers are allowed to visit, but I need more confidence in its effectiveness in the post-AI apocalyptic world.”Resources to get started Block the Bots that Feed “AI” Models by Scraping Your WebsiteGo ahead and block AI web crawlersDark VisitorsDjango Add robots.txt to a Django websiteHow to add a robots.txt to your Django siteHugo Hugo robots.txtPodcast questions: Should content creators block AI from our work?Should’t we set up a standard way to do this?I still haven’t found a way to block GitHub repositories. Is there a way?Licensing is one thing (not easy), but I don’t think any bots respect any protocol for repos. Michael #2: niquests Requests but with HTTP/3, HTTP/2, Multiplexed Connections, System CAs, Certificate Revocation, DNS over HTTPS / TLS / QUIC or UDP, Async, DNSSEC, and (much) pain removed!Niquests is a simple, yet elegant, HTTP library. It is a drop-in replacement for Requests, which is under feature freeze.See why you should switch: Read about 10 reasons why Brian #3: Every dunder method in Python Trey HunnerSure, there’s __repr__(), __str__(), and __init__(), but how about dunder methods for: Equality and hashabilityOrderabilityType conversions and formattingContext managersContainers and collectionsCallabilityArithmetic operators… and so much more … even a cheat sheet. Michael #4: Lockbox Lockbox is a forward proxy for making third party API calls.Why? Automation or workflow platforms like Zapier and IFTTT allow "webhook" actions for interacting with third party APIs.They require you to provide your third party API keys so they can act on your behalf. You are trusting them to keep your API keys safe, and that they do not misuse them.How Lockbox helps: When a workflow platform needs to make a third party API call on your behalf, it makes a Lockbox API call instead. Lockbox makes the call to the third party API, and returns the result to the workflow platform. Extras Brian: Django: Join the community on Mastodon - Adam JohnsonNo maintenance intended - Sent in from Kim van Wyk Michael: US sues Apple Good video on pluses and minusesThe hot water just the day before [and this one]https://9to5mac.com/2024/03/25/app-store-proposals-rejected/ PyPI Support Specialist jobVS Code AMA, please submit your question here PyData Eindhoven 2024 has a date and open CFP Joke: Windows Certified
    Show more Show less

What listeners say about #376 Every dunder method in a Python Lockbox

Average Customer Ratings

Reviews - Please select the tabs below to change the source of reviews.