appsec.fyi · Sources

realpython.com

12 curated AppSec resources from realpython.com across 2 topics on appsec.fyi.

realpython.com

Resources curated from this publisher and indexed across appsec.fyi topic pages. Last item added: 2025-11-09.

Date Added Resource Excerpt
2025-11-09 2025Exploring HTTPS With PythonPythonTutorial on building Python HTTPS applications, covering HTTP fundamentals, the role of TLS/SSL in securing communications, analyzing network traffic, applying cryptography, and understanding Public Key Infrastructure (PKI). It guides users through creating their own Certificate Authority and building a secure Python HTTPS server using Flask, including identifying common warnings and errors.
2025-09-29 2025Using Google Login With FlaskAuthNLibrary for integrating Google OAuth 2 and OpenID Connect into Flask applications, enabling users to log in with their Google identity instead of creating new accounts. This course guides you through building a Flask web application, managing user sessions with Flask-Login, and understanding the underlying OAuth 2 and OIDC protocols.
2025-08-14 2025Click and Python: Build Extensible and Composable CLI Apps – Real PythonPythonLibrary for building extensible and composable Python command-line interfaces. It offers a more flexible and intuitive alternative to `argparse`, leveraging decorators to easily add arguments, options, and subcommands. Click handles type-aware input processing and automatically generates usage and help pages, streamlining CLI development.
2025-08-14 2025How to Launch an HTTP Server in One Line of Python Code – Real PythonPythonLibrary for launching a basic HTTP server with a single Python command. Utilize the `http.server` module to serve static files from any directory, specifying ports like 8000 or 8080, and binding to specific interfaces with the `-b` option. Restrict access by binding to `127.0.0.42` or use administrative privileges with `sudo` to serve on port 80. The `-d` option allows serving content from an alternative directory, bypassing potential import conflicts.
2024-10-15 2024Using Flask-Login for User Management with Flask – Real PythonAuthNLearning Path that guides Python developers through building complete Flask applications, covering foundational skills in HTML, CSS, and Jinja templating. It progresses to creating scalable Flask web applications with databases, developing REST APIs using Flask, Connexion, and SQLAlchemy, and integrating JavaScript front ends. The path also includes tutorials on adding logging and notification messages, and deploying Flask applications to the web using Heroku.
2024-09-06 2024Discover Flask, Part 2 – Creating a Login Page – Real PythonAuthNLearning Path: This resource guides Python developers through building Flask web applications, covering foundational HTML, CSS, and Jinja templating. It progresses to creating scalable applications, adding logging, integrating databases with SQLAlchemy, and developing REST APIs using Flask and Connexion, with a specific mention of testing via Swagger UI. The path also includes frontend integration with JavaScript and deployment using Heroku.
2023-11-17 2023Using Google Login With Flask (Overview)AuthNTutorial on integrating Google Login with Flask, enabling users to authenticate using their Google identity. This approach simplifies user management, enhancing security compared to traditional username and password systems. The tutorial guides learners through creating a Flask application, setting up Google client credentials, and leveraging Flask-Login for session management, while also clarifying OAuth 2 and OpenID Connect (OIDC) concepts.
2023-11-09 2023How to Download Files From URLs With PythonPythonTutorial on downloading files from URLs using Python, covering the built-in `urllib` module and the popular `requests` library. It demonstrates using `urlretrieve()` for simple downloads and `requests.get()` for more advanced interactions. The guide also touches on efficient handling of large files through streaming, parallel downloads with `ThreadPoolExecutor` and `aiohttp`, and extracting metadata from HTTP headers for downloaded content, like the `Content-Type` and `Content-Length` of a World Bank CSV file.
2023-11-07 2023Using the bpython Enhanced REPLPythonLibrary for enhancing the Python Read-Evaluate-Print Loop (REPL). This course teaches installation and usage of bpython, a more programmer-friendly alternative to the standard Python REPL. It covers boosting productivity with bpython's features, configuring color themes, using keyboard shortcuts, and contributing to the open-source project on GitHub. Familiarity with Python basics and the standard REPL is recommended.
2023-09-20 2023Episode 99: OAuth 2 and Authentication Choices for Your Python ProjectAuthNPythonTalk on OAuth 2 and authentication choices for Python projects. Features Dan Moore from FusionAuth discussing system setup, device grants, social login, and privacy. Includes a spotlight on a course for implementing Google Login with Flask, covering OAuth 2, OpenID Connect, and session management. Mentions RFC 6749 and RFC 6750 as key resources.
2023-08-24 2023The subprocess Module: Wrapping Programs With PythonPythonLibrary for running shell commands and managing external processes in Python. It enables executing commands like `ls` or `dir`, launching applications, and handling input/output streams. The library offers tools for error handling and inter-process communication, making it a flexible option for integrating command-line operations into Python projects. Key functions include `subprocess.run()`, `subprocess.call()`, and `subprocess.Popen()`, differentiating execution methods and output handling.
2023-08-05 2023Socket Programming in Python Part 1: Handling ConnectionsPythonSocket Programming in Python Part 1: Handling Connections https://ift.tt/2Q3W4zm