# flask

Published articles for flask.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Agents at Large | Tracing Illicit OpenAI Agent Activity on Hugging Face

DevFeed: [Agents at Large | Tracing Illicit OpenAI Agent Activity on Hugging Face](<https://devfeed.tech/articles/agents-at-large-tracing-illicit-openai-agent-activity-on-hugging-face-30905.md>)

Original publisher: [Read original article](<https://www.sentinelone.com/labs/agents-at-large-tracing-illicit-openai-agent-activity-on-hugging-face/>)

Author: Tom Hegel

Published: 2026-09-16T10:00:34Z

Content type: article

Language: en

Sources: [SentinelLabs - We are hunters, reversers, exploit developers, and tinkerers shedding light on the world of malware, exploits, APTs, and cybercrime across all platforms.](<https://devfeed.tech/sources/sentinellabs-we-are-hunters-reversers-exploit-developers-and-tinkerers-shedding-light-on-the-world-of-malware-exploits-apts-and-cybercrime-across-all-platforms.md>)

Topics: [Threat Research](<https://devfeed.tech/topics/threat-research.md>), [Incident response](<https://devfeed.tech/topics/incident-response.md>), [hugging face](<https://devfeed.tech/topics/hugging-face.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>), [ChatGPT](<https://devfeed.tech/topics/chatgpt.md>), [spaces](<https://devfeed.tech/topics/spaces.md>), [Flask](<https://devfeed.tech/topics/flask.md>), [OAuth](<https://devfeed.tech/topics/oauth.md>), [HTTP](<https://devfeed.tech/topics/http.md>)

Tags: [agentic-ai](<https://devfeed.tech/tags/agentic-ai.md>), [agents](<https://devfeed.tech/tags/agents.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [flask](<https://devfeed.tech/tags/flask.md>), [http](<https://devfeed.tech/tags/http.md>), [hugging-face](<https://devfeed.tech/tags/hugging-face.md>), [incident-response](<https://devfeed.tech/tags/incident-response.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [openai](<https://devfeed.tech/tags/openai.md>), [research](<https://devfeed.tech/tags/research.md>), [spaces](<https://devfeed.tech/tags/spaces.md>), [token](<https://devfeed.tech/tags/token.md>)

### AI overview

SentinelLABS traces activity associated with two Hugging Face accounts, 0Time and Nyx9, that appears to extend OpenAI's published chronology. The report describes relay-code commits, a workbook containing unexecuted-looking external probes, and a Flask-wrapped tool that could potentially provision ChatGPT identities or OAuth credentials if deployed and invoked.

### Source excerpt

Two Hugging Face accounts reveal that OpenAI's agents staged relay code, internal probes and ChatGPT account registration beyond the published timeline.

## How to Confirm Phone Number Ownership with Lookup Identity Match in Python

DevFeed: [How to Confirm Phone Number Ownership with Lookup Identity Match in Python](<https://devfeed.tech/articles/how-to-confirm-phone-number-ownership-with-lookup-identity-match-in-python-16102.md>)

Original publisher: [Read original article](<https://www.twilio.com/en-us/blog/developers/tutorials/product/confirm-phone-number-ownership-lookup-identity-match-python>)

Author: Kelley Robinson, Dylan Frankcom

Published: 2026-08-28T00:00:00Z

Content type: tutorial

Language: en

Sources: [Twilio Blog](<https://devfeed.tech/sources/twilio-blog.md>)

Topics: [API](<https://devfeed.tech/topics/api.md>), [Python](<https://devfeed.tech/topics/python.md>), [Flask](<https://devfeed.tech/topics/flask.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [account](<https://devfeed.tech/tags/account.md>), [api](<https://devfeed.tech/tags/api.md>), [checkout](<https://devfeed.tech/tags/checkout.md>), [developer-insights](<https://devfeed.tech/tags/developer-insights.md>), [fake-accounts](<https://devfeed.tech/tags/fake-accounts.md>), [flask](<https://devfeed.tech/tags/flask.md>), [fraud](<https://devfeed.tech/tags/fraud.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [python](<https://devfeed.tech/tags/python.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [validation](<https://devfeed.tech/tags/validation.md>), [verification](<https://devfeed.tech/tags/verification.md>), [verify](<https://devfeed.tech/tags/verify.md>), [zero-knowledge](<https://devfeed.tech/tags/zero-knowledge.md>)

### AI overview

This tutorial explains how to use Twilio Lookup Identity Match with Python to confirm that a person is associated with a provided phone number. It builds a simple Flask application that collects a phone number and name, then uses the API to support fraud reduction and identity verification.

### Source excerpt

Send details like name, address, or date of birth and the Identity Match API will tell you if they match a provided phone number. Reduce fraud and verify identities quickly.

## What Jobs Can You Get After Learning Python? 6 Careers and Their Salaries

DevFeed: [What Jobs Can You Get After Learning Python? 6 Careers and Their Salaries](<https://devfeed.tech/articles/what-jobs-can-you-get-after-learning-python-6-careers-and-their-salaries-23036.md>)

Original publisher: [Read original article](<https://blog.teamtreehouse.com/jobs-after-learning-python>)

Author: Kari Brooks

Published: 2026-08-10T20:00:19Z

Content type: article

Language: en

Sources: [Treehouse Blog](<https://devfeed.tech/sources/treehouse-blog.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Django](<https://devfeed.tech/topics/django.md>), [Flask](<https://devfeed.tech/topics/flask.md>), [pandas](<https://devfeed.tech/topics/pandas.md>)

Tags: [backend](<https://devfeed.tech/tags/backend.md>), [backend-development](<https://devfeed.tech/tags/backend-development.md>), [career-advice](<https://devfeed.tech/tags/career-advice.md>), [career-change](<https://devfeed.tech/tags/career-change.md>), [careers](<https://devfeed.tech/tags/careers.md>), [data-analyst](<https://devfeed.tech/tags/data-analyst.md>), [developer](<https://devfeed.tech/tags/developer.md>), [django](<https://devfeed.tech/tags/django.md>), [flask](<https://devfeed.tech/tags/flask.md>), [learn](<https://devfeed.tech/tags/learn.md>), [learn-to-code](<https://devfeed.tech/tags/learn-to-code.md>), [learning](<https://devfeed.tech/tags/learning.md>), [pandas](<https://devfeed.tech/tags/pandas.md>), [python](<https://devfeed.tech/tags/python.md>), [python-careers](<https://devfeed.tech/tags/python-careers.md>), [tech-jobs](<https://devfeed.tech/tags/tech-jobs.md>)

### AI overview

This guide describes six career paths available after learning Python, including data analysis, data science, backend development, machine learning engineering, automation engineering, and DevOps. It discusses beginner accessibility, required skills, and salary ranges from roughly $60,000 for entry-level analysts to over $180,000 for senior machine learning engineers.

### Source excerpt

Python opens doors to data, web, AI, and automation careers. Here are six real jobs you can land after learning Python, what they pay, and which ones welcome beginners. The post What Jobs Can You Get After Learning Python? 6 Careers and Their Salaries appeared first on Treehouse Blog.

## Build a Flask App with Okta for Secure OIDC Login and Authorized API Calls

DevFeed: [Build a Flask App with Okta for Secure OIDC Login and Authorized API Calls](<https://devfeed.tech/articles/build-a-flask-app-with-okta-for-secure-oidc-login-and-authorized-api-calls-15973.md>)

Original publisher: [Read original article](<https://developer.okta.com/blog/2026/07/28/flask-oauth-web-app>)

Author: Akanksha Bhasin

Published: 2026-07-28T05:00:00Z

Content type: tutorial

Language: en

Sources: [Okta Developer](<https://devfeed.tech/sources/okta-developer.md>)

Topics: [Flask](<https://devfeed.tech/topics/flask.md>), [OpenID connect (OIDC)](<https://devfeed.tech/topics/oidc.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [API](<https://devfeed.tech/topics/api.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [OAuth 2.0](<https://devfeed.tech/topics/oauth2.md>), [Python](<https://devfeed.tech/topics/python.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [flask](<https://devfeed.tech/tags/flask.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [oauth-2-0](<https://devfeed.tech/tags/oauth-2-0.md>), [oidc](<https://devfeed.tech/tags/oidc.md>), [pkce](<https://devfeed.tech/tags/pkce.md>), [python](<https://devfeed.tech/tags/python.md>), [security](<https://devfeed.tech/tags/security.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [web-app](<https://devfeed.tech/tags/web-app.md>)

### AI overview

This tutorial explains how to build a Flask dashboard that uses Okta OpenID Connect for user sign-in and OAuth 2.0 access tokens to call a protected backend API. It also covers PKCE, custom scopes, self-service registration, and validating scopes to control API responses.

### Source excerpt

Python syntax and the flexibility of the Flask microframework make it a popular choice for quickly building web applications. While Flask provides the essentials to get you started, you'll need to tackle two critical pieces yourself: secure user authentication and authorization for your backend services. After all, how do you securely sign users into your application? And once they're signed in, how does your app fetch data from a backend service that only serves authorized requests? This tutorial shows you how to solve both. You'll build a Flask dashboard app that signs users in with Okta using OpenID Connect (OIDC). Once signed in, the app uses the resulting OAuth 2.0 access token to call a separate backend API that responds only to authorized requests. In this common pattern, a web app needs to fetch data from a protected backend service. You'll use Authlib, an OIDC client library, to configure the Authorization Code flow with Proof Key for Code Exchange (PKCE) automatically. You'll also learn how to add a custom scope to the access token and validate it on the backend to control what data the API returns. Check out the complete source code on GitHub and get started without setting it up from scratch. Table of Contents Build a Flask app with OIDC authentication Create an app integration in the Okta Admin Console Enable self-service user registration Add secure user login to a Flask application with Okta Create a basic Flask web application Configure Flask environment variables Implement the OIDC authentication logic Run the Flask OAuth web app Call a protected API with OAuth scoped tokens Build a protected users API Extend the Flask app to interact with the resource server Update the Flask UI to display protected data Test the protected API integration Learn more about OAuth and OIDC Build a Flask app with OIDC authentication In this tutorial, you'll build a simple dashboard application and learn how to: Securely sign users in to view their profile information us

## WebSocket support is now available for Python Functions

DevFeed: [WebSocket support is now available for Python Functions](<https://devfeed.tech/articles/websocket-support-is-now-available-for-python-functions-1198.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/websocket-support-is-now-available-for-python-functions>)

Author: Ricardo Gonzalez

Published: 2026-07-23T00:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [WebSocket](<https://devfeed.tech/topics/websocket.md>), [Python](<https://devfeed.tech/topics/python.md>), [Vercel](<https://devfeed.tech/topics/vercel.md>), [ASGI](<https://devfeed.tech/topics/asgi.md>), [FastAPI](<https://devfeed.tech/topics/fastapi.md>), [real-time](<https://devfeed.tech/topics/real-time.md>), [Django](<https://devfeed.tech/topics/django.md>), [Flask](<https://devfeed.tech/topics/flask.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>), [Frameworks](<https://devfeed.tech/topics/frameworks.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [client](<https://devfeed.tech/topics/client.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [applications](<https://devfeed.tech/tags/applications.md>), [code](<https://devfeed.tech/tags/code.md>), [collaboration](<https://devfeed.tech/tags/collaboration.md>), [communication](<https://devfeed.tech/tags/communication.md>), [django](<https://devfeed.tech/tags/django.md>), [examples](<https://devfeed.tech/tags/examples.md>), [features](<https://devfeed.tech/tags/features.md>), [flask](<https://devfeed.tech/tags/flask.md>), [frameworks](<https://devfeed.tech/tags/frameworks.md>), [python](<https://devfeed.tech/tags/python.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [server](<https://devfeed.tech/tags/server.md>), [streaming](<https://devfeed.tech/tags/streaming.md>), [vercel](<https://devfeed.tech/tags/vercel.md>)

### AI overview

Vercel has added WebSocket support for Python applications and Functions. The feature supports bidirectional client-server communication for real-time use cases such as interactive AI streaming, chat, and multiplayer collaboration, with compatibility for ASGI and WSGI applications including FastAPI, Django, and Flask.

### Source excerpt

Vercel now supports WebSocket connections for Python applications. WebSockets enable bidirectional communication between client- and server-side code, powering real-time features like interactive AI streaming, real-time chat, and multiplayer live collaboration. Both ASGI and WSGI applications are supported, including frameworks like FastAPI, Django, and Flask. Explore the FastAPI AI Chat and Flask AI Chat examples, or read the WebSockets documentation to get started. Read more

## Some more things about Django I've been enjoying

DevFeed: [Some more things about Django I've been enjoying](<https://devfeed.tech/articles/some-more-things-about-django-i-ve-been-enjoying-21131.md>)

Original publisher: [Read original article](<https://jvns.ca/blog/2026/07/21/more-nice-django-things/>)

Author: Julia Evans

Published: 2026-07-21T00:00:00Z

Content type: opinion

Language: en

Sources: [Julia Evans](<https://devfeed.tech/sources/julia-evans.md>)

Topics: [Django](<https://devfeed.tech/topics/django.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [HTML](<https://devfeed.tech/topics/html.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Gin](<https://devfeed.tech/topics/gin.md>), [Python](<https://devfeed.tech/topics/python.md>), [Single-page application (SPA)](<https://devfeed.tech/topics/spa.md>), [Vue.js](<https://devfeed.tech/topics/vue.md>)

Tags: [backend](<https://devfeed.tech/tags/backend.md>), [database](<https://devfeed.tech/tags/database.md>), [django](<https://devfeed.tech/tags/django.md>), [flask](<https://devfeed.tech/tags/flask.md>), [go](<https://devfeed.tech/tags/go.md>), [html](<https://devfeed.tech/tags/html.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [sql](<https://devfeed.tech/tags/sql.md>), [vue](<https://devfeed.tech/tags/vue.md>)

### AI overview

The article shares the author's experience learning to build multi-page websites in a backend-focused style using Django, an SQL database, and server-rendered HTML. It discusses Django query sets and template filters, compares this approach with frontend-heavy JavaScript, Vue.js, Go, and Flask projects, and mentions some unresolved issues with Django.

### Source excerpt

Hello! I'm on a funny journey right now where I'm trying to learn how to make websites in a sort of 2010 style, where I have an SQL database and render some HTML on the backend. It's kind of an interesting journey because it doesn't necessarily feel "easy" to me to make websites in this way: I never learned how to do it in the 2000s or 2010s, and there's a lot I need to learn. So here are some Django features that make building this kind of site feel more achievable than when I was trying and failing to use Go's standard library or Flask. And I'll talk about a couple of issues with Django I've run into. why learn to make websites like it's 2010? Previously the toolkit I felt confident with for making websites was: static site generators (like for this blog) static sites that do some fun stuff with Javascript (like this sql playground) simple Vue.js single page apps with either a Lambda as a backend or a Go backend (like mess with dns) I really liked this frontend-heavy approach for these super simple applications but when I started thinking about making something with a lot of different pages (instead of literally just one page), I didn't feel so excited about the options I saw that involved a lot of frontend code. So I figured I'd try the backend. Writing a backend-focused site that uses as little JS as possible feels the same to me in a way as writing a single-page JS website that does as little on the backend as possible, even though they might seem like opposites. In both cases I'm just trying to keep as much of the logic as possible in one place. Now for some thoughts about Django! I'm enjoying query builders I learned that I can define a "query set" class in Django with a bunch of methods with different WHERE statements I might want to use while constructing a query: Here's how I use it in my view code once I've defined what all the methods mean: Events.objects.approved() .for_tab(tab) .with_festivals(tab_params.festival_slugs) .is_free(tab_params.free) .is_ou

## Announcing AWS Inspector scanner support for Chainguard Libraries

DevFeed: [Announcing AWS Inspector scanner support for Chainguard Libraries](<https://devfeed.tech/articles/announcing-aws-inspector-scanner-support-for-chainguard-libraries-12874.md>)

Original publisher: [Read original article](<https://www.chainguard.dev/unchained/announcing-aws-inspector-scanner-support-for-chainguard-libraries>)

Published: 2025-11-24T00:00:00Z

Content type: news

Language: en

Sources: [Chainguard: Unchained](<https://devfeed.tech/sources/chainguard-unchained.md>)

Topics: [chainguard libraries](<https://devfeed.tech/topics/chainguard-libraries.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [vulnerability management](<https://devfeed.tech/topics/vulnerability-management.md>), [Malware](<https://devfeed.tech/topics/malware.md>), [vulnerability](<https://devfeed.tech/topics/vulnerability.md>), [container images](<https://devfeed.tech/topics/container-images.md>), [Python](<https://devfeed.tech/topics/python.md>), [Django](<https://devfeed.tech/topics/django.md>), [Flask](<https://devfeed.tech/topics/flask.md>)

Tags: [amazon-scanner-support](<https://devfeed.tech/tags/amazon-scanner-support.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-inspector](<https://devfeed.tech/tags/aws-inspector.md>), [chainguard-aws-integration](<https://devfeed.tech/tags/chainguard-aws-integration.md>), [chainguard-libraries](<https://devfeed.tech/tags/chainguard-libraries.md>), [chainguard-libraries-for-python](<https://devfeed.tech/tags/chainguard-libraries-for-python.md>), [chainguard-libraries-for-python-aws](<https://devfeed.tech/tags/chainguard-libraries-for-python-aws.md>), [chainguard-packages](<https://devfeed.tech/tags/chainguard-packages.md>), [container-images](<https://devfeed.tech/tags/container-images.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-remediation](<https://devfeed.tech/tags/cve-remediation.md>), [django](<https://devfeed.tech/tags/django.md>), [flask](<https://devfeed.tech/tags/flask.md>), [malware](<https://devfeed.tech/tags/malware.md>), [malware-prevention](<https://devfeed.tech/tags/malware-prevention.md>), [python](<https://devfeed.tech/tags/python.md>), [security](<https://devfeed.tech/tags/security.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>), [vulnerability-management](<https://devfeed.tech/tags/vulnerability-management.md>)

### AI overview

Chainguard Libraries for Python now integrates with Amazon Inspector's enhanced scanning for Amazon ECR. The integration provides malware prevention, recognition of Chainguard-remediated CVEs, and a unified view of container and library vulnerabilities across AWS workloads.

### Source excerpt

Chainguard Libraries now integrates with AWS Inspector, bringing proactive malware prevention, CVE remediation, and vulnerability visibility across AWS workloads

## Case Study: Modernizing a High-Traffic Streaming Platform with the AHA Stack (HTMX & Alpine.js)

DevFeed: [Case Study: Modernizing a High-Traffic Streaming Platform with the AHA Stack (HTMX & Alpine.js)](<https://devfeed.tech/articles/case-study-modernizing-a-high-traffic-streaming-platform-with-the-aha-stack-htmx-alpine-js-28522.md>)

Original publisher: [Read original article](<https://blog.risingstack.com/modernizing-a-high-traffic-streaming-platform-with-the-aha-stack/>)

Author: Daniel Bencz

Published: 2025-08-29T17:02:07Z

Content type: article

Language: en

Sources: [RisingStack](<https://devfeed.tech/sources/risingstack.md>)

Topics: [htmx](<https://devfeed.tech/topics/htmx.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Flask](<https://devfeed.tech/topics/flask.md>)

Tags: [case-study](<https://devfeed.tech/tags/case-study.md>), [flask](<https://devfeed.tech/tags/flask.md>), [htmx](<https://devfeed.tech/tags/htmx.md>), [js](<https://devfeed.tech/tags/js.md>), [maintainability](<https://devfeed.tech/tags/maintainability.md>), [state-management](<https://devfeed.tech/tags/state-management.md>), [streaming](<https://devfeed.tech/tags/streaming.md>), [ux](<https://devfeed.tech/tags/ux.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

This case study describes modernizing a high-traffic streaming website for responsiveness, maintainability, business continuity, and easier developer onboarding. The existing Python Flask and Jinja site used jQuery; the team retained server-rendered architecture and adopted HTMX with Alpine.js instead of introducing a single-page application.

### Source excerpt

Our client, a leading company in the streaming industry, acquired a highly successful indie website with over 50 million unique visitors per month. The site had been built by a single developer who prioritized functionality over maintainability. While the features were mostly bug-free, the design was outdated, and the code relied on aging technologies. The [...] The post Case Study: Modernizing a High-Traffic Streaming Platform with the AHA Stack (HTMX & Alpine.js) appeared first on RisingStack Engineering.

## Build a Basic CRUD Application With Flask-PyMongo

DevFeed: [Build a Basic CRUD Application With Flask-PyMongo](<https://devfeed.tech/articles/build-a-basic-crud-application-with-flask-pymongo-21829.md>)

Original publisher: [Read original article](<https://www.thepolyglotdeveloper.com/blog/2025/04/build-a-basic-crud-application-with-flask-pymongo/>)

Author: Anaiya Raisinghani

Published: 2025-04-26T00:37:28Z

Content type: tutorial

Language: en

Sources: [Nic Raboy](<https://devfeed.tech/sources/nic-raboy.md>)

Topics: [Flask](<https://devfeed.tech/topics/flask.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [MongoDB](<https://devfeed.tech/topics/mongodb.md>), [CRUD](<https://devfeed.tech/topics/crud.md>), [Database](<https://devfeed.tech/topics/database.md>), [Library](<https://devfeed.tech/topics/library.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [code](<https://devfeed.tech/tags/code.md>), [database](<https://devfeed.tech/tags/database.md>), [flask](<https://devfeed.tech/tags/flask.md>), [framework](<https://devfeed.tech/tags/framework.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [pymongo](<https://devfeed.tech/tags/pymongo.md>), [python](<https://devfeed.tech/tags/python.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [vscode](<https://devfeed.tech/tags/vscode.md>)

### AI overview

This tutorial explains how to build a basic CRUD application with Flask-PyMongo and MongoDB. It introduces Flask, describes Flask-PyMongo's integration and configuration features, and outlines prerequisites including MongoDB Atlas, VSCode, and Python 3.10+.

### Source excerpt

In this tutorial, we will dive head first into utilizing MongoDB's Flask-PyMongo library! We will build a basic CRUD (create, read, update, delete) Flask-PyMongo application and learn about how intuit... The post Build a Basic CRUD Application With Flask-PyMongo appeared first on DEV.

## Bypassing WAFs with the phantom $Version cookie

DevFeed: [Bypassing WAFs with the phantom $Version cookie](<https://devfeed.tech/articles/bypassing-wafs-with-the-phantom-version-cookie-7669.md>)

Original publisher: [Read original article](<https://portswigger.net/research/bypassing-wafs-with-the-phantom-version-cookie>)

Author: Zakhar Fedotkin

Published: 2024-12-04T15:03:35Z

Content type: article

Language: en

Sources: [PortSwigger Research](<https://devfeed.tech/sources/portswigger-research.md>)

Topics: [Parsing](<https://devfeed.tech/topics/parsing.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Cross-origin resource sharing (CORS)](<https://devfeed.tech/topics/cors.md>), [Spring Boot](<https://devfeed.tech/topics/spring-boot.md>), [Python](<https://devfeed.tech/topics/python.md>), [Flask](<https://devfeed.tech/topics/flask.md>), [Django](<https://devfeed.tech/topics/django.md>)

Tags: [cookies](<https://devfeed.tech/tags/cookies.md>), [django](<https://devfeed.tech/tags/django.md>), [flask](<https://devfeed.tech/tags/flask.md>), [http](<https://devfeed.tech/tags/http.md>), [parsing](<https://devfeed.tech/tags/parsing.md>), [python](<https://devfeed.tech/tags/python.md>), [security](<https://devfeed.tech/tags/security.md>), [spring-boot](<https://devfeed.tech/tags/spring-boot.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

### AI overview

This article explains how differences between HTTP cookie parsers can be exploited to bypass web application firewalls. It examines legacy cookie features such as the phantom $Version attribute, quoted values, and octal escape sequences, with examples from Spring Boot, Apache Tomcat, and Python frameworks including Flask and Django.

### Source excerpt

HTTP cookies often control critical website features, but their long and convoluted history exposes them to parser discrepancy vulnerabilities. In this post, I'll explore some dangerous, lesser-known

## Looking at How Replit Agent Handles Databases

DevFeed: [Looking at How Replit Agent Handles Databases](<https://devfeed.tech/articles/looking-at-how-replit-agent-handles-databases-5516.md>)

Original publisher: [Read original article](<https://neon.com/blog/looking-at-how-replit-agent-handles-databases>)

Author: Sam Harrison

Published: 2024-11-08T17:59:23Z

Content type: article

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [Repl.it](<https://devfeed.tech/topics/replit.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Database Migration](<https://devfeed.tech/topics/database-migration.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [SQLAlchemy](<https://devfeed.tech/topics/sqlalchemy.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Object-relational mapping](<https://devfeed.tech/topics/orm.md>), [Flask](<https://devfeed.tech/topics/flask.md>), [Python](<https://devfeed.tech/topics/python.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>), [API](<https://devfeed.tech/topics/api.md>), [Front end](<https://devfeed.tech/topics/frontend.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [api](<https://devfeed.tech/tags/api.md>), [applications](<https://devfeed.tech/tags/applications.md>), [code](<https://devfeed.tech/tags/code.md>), [database-migration](<https://devfeed.tech/tags/database-migration.md>), [databases](<https://devfeed.tech/tags/databases.md>), [development](<https://devfeed.tech/tags/development.md>), [flask](<https://devfeed.tech/tags/flask.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [html](<https://devfeed.tech/tags/html.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [orm](<https://devfeed.tech/tags/orm.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [product](<https://devfeed.tech/tags/product.md>), [python](<https://devfeed.tech/tags/python.md>), [sqlalchemy](<https://devfeed.tech/tags/sqlalchemy.md>), [web](<https://devfeed.tech/tags/web.md>), [web-applications](<https://devfeed.tech/tags/web-applications.md>)

### AI overview

This article examines how Replit Agent uses natural-language prompts and AI to build and evolve a full-stack TODO application. It focuses on coordinating Flask, SQLAlchemy, Alembic migrations, and a managed Neon PostgreSQL database while updating the API, schema, and frontend together.

### Source excerpt

Replit Agent is a powerful tool within the Replit development environment that allows you to offload coding tasks using natural language and AI. By interacting with the Replit Agent, you can generate code, create applications, and modify existing features simply by asking for wha...

## How to secure Python Flask applications

DevFeed: [How to secure Python Flask applications](<https://devfeed.tech/articles/how-to-secure-python-flask-applications-8079.md>)

Original publisher: [Read original article](<https://snyk.io/blog/secure-python-flask-applications/>)

Author: Gourav Singh Bais

Published: 2024-05-21T05:00:00Z

Content type: article

Language: en

Sources: [Blog RSS Feed | Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

Topics: [Flask](<https://devfeed.tech/topics/flask.md>), [Python](<https://devfeed.tech/topics/python.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [ASGI](<https://devfeed.tech/topics/asgi.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [acquisition](<https://devfeed.tech/tags/acquisition.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [article](<https://devfeed.tech/tags/article.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [blog](<https://devfeed.tech/tags/blog.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [developer](<https://devfeed.tech/tags/developer.md>), [draftdotdev](<https://devfeed.tech/tags/draftdotdev.md>), [flask](<https://devfeed.tech/tags/flask.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [open-source-security](<https://devfeed.tech/tags/open-source-security.md>), [python](<https://devfeed.tech/tags/python.md>), [security-vulnerabilities](<https://devfeed.tech/tags/security-vulnerabilities.md>), [snyk-code](<https://devfeed.tech/tags/snyk-code.md>), [snyk-open-source](<https://devfeed.tech/tags/snyk-open-source.md>), [web](<https://devfeed.tech/tags/web.md>), [web-applications](<https://devfeed.tech/tags/web-applications.md>)

### AI overview

This article explains how to secure Python Flask applications. It introduces Flask and the WSGI standard, identifies common risks such as XSS, CSRF, and SQL injection, and presents insecure configuration examples alongside practices for mitigating security issues.

### Source excerpt

In this article, you'll learn about some best practices related to securing Python applications built with the Flask web application framework. You'll start by looking at some insecure configuration examples and then learn how to mitigate and fix any issues.

## Vulnerability in long deprecated OpenID authentication method in Flask AppBuilder

DevFeed: [Vulnerability in long deprecated OpenID authentication method in Flask AppBuilder](<https://devfeed.tech/articles/vulnerability-in-long-deprecated-openid-authentication-method-in-flask-appbuilder-32562.md>)

Original publisher: [Read original article](<https://airflow.apache.org/blog/fab-oid-vulnerability/>)

Author: Apache Airflow

Published: 2024-02-26T00:00:00Z

Content type: article

Language: en

Sources: [Apache Airflow Blog](<https://devfeed.tech/sources/apache-airflow-blog.md>)

Topics: [vulnerability](<https://devfeed.tech/topics/vulnerability.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [airflow](<https://devfeed.tech/topics/airflow.md>), [Flask](<https://devfeed.tech/topics/flask.md>), [openid](<https://devfeed.tech/topics/openid.md>), [deprecated](<https://devfeed.tech/topics/deprecated.md>), [OpenID connect (OIDC)](<https://devfeed.tech/topics/oidc.md>)

Tags: [airflow](<https://devfeed.tech/tags/airflow.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [deprecated](<https://devfeed.tech/tags/deprecated.md>), [flask](<https://devfeed.tech/tags/flask.md>), [openid](<https://devfeed.tech/tags/openid.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>), [version](<https://devfeed.tech/tags/version.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

### AI overview

This article describes a vulnerability in Flask AppBuilder's long-deprecated OpenID authentication method. Users with AUTH_OID configured could be exposed to identity takeover through a forged request and an attacker-controlled OpenID service. The article recommends switching authentication methods or upgrading to Apache Airflow 2.8.2, which uses Flask AppBuilder 4.3.11.

### Source excerpt

Vulnerability in long deprecated OpenID authentication method in Flask AppBuilder Recently Islam Rzayev made us aware of a vulnerability in the long deprecated OpenID authentication method in Flask AppBuilder. This vulnerability allowed a malicious user to take over the identity of any Airflow UI user by forging a specially crafted request and implementing their own OpenID service. While this is an old, deprecated and almost not used authentication method, we still took the issue seriously. This issue ONLY affects users who have AUTH_OID set in their webserver_config.py file as AUTH_TYPE. This is a very old and deprecated authentication method that is unlikely to be used by anyone. We would like to advise even the small number of our users that still use this authentication method to take an immediate action and either upgrade to Apache Airflow 2.8.2 or switch to another authentication method (or apply a workaround we provide if they cannot do either of the above immediately). Important to stress, because many of the users might get confused by the name, OpenID is NOT the same as OpenID Connect. Those are completely different protocols and while OpenID Connect (also known as OIDC) is a modern, widely used protocol, OpenID is a legacy protocol that has been deprecated more than 10 years ago and since then has been abandoned by almost everyone in the community, including all services in Flask AppBuilder example services that supported it, so it is highly unlikely someone is still using it. Due to this highly unlikely configuration the Flask AppBuilder CVE is just "Moderate" not "Critical". It affects a very small (if any) number of users and it's not likely to be a target for an attack. However, we still advise our users who still use AUTH_OID to apply remediation. This vulnerability is fixed in Flask Appbuilder 4.3.11 and Apache Airflow 2.8.2 uses that version of Flask Application Builder. We advise users who still use this authentication method to either switch to a

## Snyk Fetch the Flag CTF 2023 writeup: Protect The Environment

DevFeed: [Snyk Fetch the Flag CTF 2023 writeup: Protect The Environment](<https://devfeed.tech/articles/snyk-fetch-the-flag-ctf-2023-writeup-protect-the-environment-8131.md>)

Original publisher: [Read original article](<https://snyk.io/blog/snyk-fetch-the-flag-ctf-2023-writeup-protect-the-environment/>)

Author: John Hammond

Published: 2023-11-30T08:00:00Z

Content type: tutorial

Language: en

Sources: [Blog RSS Feed | Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

Topics: [ctf](<https://devfeed.tech/topics/ctf.md>), [Flask](<https://devfeed.tech/topics/flask.md>)

Tags: [awareness](<https://devfeed.tech/tags/awareness.md>), [blog](<https://devfeed.tech/tags/blog.md>), [ctf](<https://devfeed.tech/tags/ctf.md>), [developer](<https://devfeed.tech/tags/developer.md>), [external](<https://devfeed.tech/tags/external.md>), [flask](<https://devfeed.tech/tags/flask.md>), [security](<https://devfeed.tech/tags/security.md>), [snyk](<https://devfeed.tech/tags/snyk.md>)

### AI overview

This Snyk writeup explains the solution to the Protect The Environment challenge from the 2023 Fetch the Flag CTF. The challenge involves a hand-rolled Base64 encoding layer for paths that interferes with Flask's static-file handling and enables a file inclusion attack. The supplied article text is incomplete and omits parts of the exploitation details.

### Source excerpt

If you were at Snyk's 2023 Fetch the Flag and are looking for the answer to the Protect The Environment challenge, you've come to the right place. Let's walk through the solution together!

## GitHub OAuth in your Python Flask app

DevFeed: [GitHub OAuth in your Python Flask app](<https://devfeed.tech/articles/github-oauth-in-your-python-flask-app-468.md>)

Original publisher: [Read original article](<https://supabase.com/blog/oauth2-login-python-flask-apps>)

Author: Andrew Smith

Published: 2023-11-21T07:00:00Z

Content type: tutorial

Language: en

Sources: [Supabase Blog](<https://devfeed.tech/sources/supabase-blog.md>)

Topics: [Flask](<https://devfeed.tech/topics/flask.md>), [OAuth](<https://devfeed.tech/topics/oauth.md>), [OAuth 2.0](<https://devfeed.tech/topics/oauth2.md>), [Supabase](<https://devfeed.tech/topics/supabase.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>), [airflow](<https://devfeed.tech/topics/airflow.md>), [CadQuery](<https://devfeed.tech/topics/cadquery.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [callback](<https://devfeed.tech/tags/callback.md>), [flask](<https://devfeed.tech/tags/flask.md>), [github](<https://devfeed.tech/tags/github.md>), [guide](<https://devfeed.tech/tags/guide.md>), [integration](<https://devfeed.tech/tags/integration.md>), [jwt](<https://devfeed.tech/tags/jwt.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [oauth2](<https://devfeed.tech/tags/oauth2.md>), [python](<https://devfeed.tech/tags/python.md>), [web-app](<https://devfeed.tech/tags/web-app.md>)

### AI overview

A step-by-step guide to adding GitHub OAuth2 login to a Python Flask web app using Supabase. It covers installing the library, configuring session storage for JWTs, initializing the Supabase client, creating sign-in and callback routes, and exchanging the authorization code for a session.

### Source excerpt

A step-by-step guide on building Login with GitHub into your Python apps.

## Tapping into Tailscale's identity headers with Serve

DevFeed: [Tapping into Tailscale's identity headers with Serve](<https://devfeed.tech/articles/tapping-into-tailscale-s-identity-headers-with-serve-31210.md>)

Original publisher: [Read original article](<https://tailscale.dev/blog/id-headers-tailscale-serve-flask>)

Author: Parker Higgins, Sonia Appasamy

Published: 2023-07-20T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tailscale Community](<https://devfeed.tech/sources/tailscale-community.md>)

Topics: [tailscale](<https://devfeed.tech/topics/tailscale.md>), [proxy](<https://devfeed.tech/topics/proxy.md>)

Tags: [content](<https://devfeed.tech/tags/content.md>), [flask](<https://devfeed.tech/tags/flask.md>), [funnel](<https://devfeed.tech/tags/funnel.md>), [headers](<https://devfeed.tech/tags/headers.md>), [identity](<https://devfeed.tech/tags/identity.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [python](<https://devfeed.tech/tags/python.md>), [serve](<https://devfeed.tech/tags/serve.md>), [tailscale](<https://devfeed.tech/tags/tailscale.md>), [tailscale-serve](<https://devfeed.tech/tags/tailscale-serve.md>)

### AI overview

This tutorial explains how to use identity headers from Tailscale Serve when proxying requests, allowing an application to change the content it serves.

### Source excerpt

When you use Tailscale serve to proxy requests, you can use its identity headers to change what content you serve.

## Using GraphQL with Python - A Complete Guide

DevFeed: [Using GraphQL with Python - A Complete Guide](<https://devfeed.tech/articles/using-graphql-with-python-a-complete-guide-23257.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/complete-api-guide>)

Author: Shadid Haque

Published: 2021-05-11T14:10:54Z

Content type: tutorial

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [GraphQL](<https://devfeed.tech/topics/graphql.md>), [Python](<https://devfeed.tech/topics/python.md>), [Flask](<https://devfeed.tech/topics/flask.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [API](<https://devfeed.tech/topics/api.md>), [SQLAlchemy](<https://devfeed.tech/topics/sqlalchemy.md>), [Cross-origin resource sharing (CORS)](<https://devfeed.tech/topics/cors.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [extension](<https://devfeed.tech/tags/extension.md>), [flask](<https://devfeed.tech/tags/flask.md>), [graphos](<https://devfeed.tech/tags/graphos.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [python](<https://devfeed.tech/tags/python.md>), [sql](<https://devfeed.tech/tags/sql.md>), [sqlalchemy](<https://devfeed.tech/tags/sqlalchemy.md>)

### AI overview

This tutorial explains how to build a GraphQL API with Python, Flask, and Ariadne. It covers setting up a Flask web server, implementing GraphQL, composing a schema, and performing queries and mutations, with dependencies including Flask-SQLAlchemy and Flask-Cors.

### Source excerpt

We recently released an updated Python tutorial post using Strawberry and GraphOS. You can check it out here! Known for its ease of use and simplicity, Python is one of the most beloved general-purpose programming languages. And GraphQL, a declarative query language for APIs and server runtimes, pairs quite nicely with Python. Unfortunately, there are very few comprehensive learning materials out there that give you a step-by-step breakdown of how to use GraphQL with Python.

## Using Spacy for Part of Speech Tagging

DevFeed: [Using Spacy for Part of Speech Tagging](<https://devfeed.tech/articles/using-spacy-for-part-of-speech-tagging-28236.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/python/2020/06/24/using-spacy-for-part-of-speech-tagging.html>)

Author: Fuzzygroup

Published: 2020-06-24T00:00:00Z

Content type: tutorial

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [spaCy](<https://devfeed.tech/topics/spacy.md>), [Natural language processing](<https://devfeed.tech/topics/nlp.md>), [Parsing](<https://devfeed.tech/topics/parsing.md>), [Python](<https://devfeed.tech/topics/python.md>), [Code](<https://devfeed.tech/topics/code.md>), [API](<https://devfeed.tech/topics/api.md>), [Flask](<https://devfeed.tech/topics/flask.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Rails](<https://devfeed.tech/topics/rails.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [code](<https://devfeed.tech/tags/code.md>), [flask](<https://devfeed.tech/tags/flask.md>), [json](<https://devfeed.tech/tags/json.md>), [nlp](<https://devfeed.tech/tags/nlp.md>), [parsing](<https://devfeed.tech/tags/parsing.md>), [python](<https://devfeed.tech/tags/python.md>), [rails](<https://devfeed.tech/tags/rails.md>), [spacy](<https://devfeed.tech/tags/spacy.md>), [speech](<https://devfeed.tech/tags/speech.md>)

### AI overview

This tutorial demonstrates using spaCy, a Python natural language processing tool, for part-of-speech tagging. It covers installation, loading the English model, processing a sentence, and printing each word's part-of-speech tag and explanation. The article also considers exposing the functionality through a Flask API that returns JSON.

### Source excerpt

Part of speech tagging is a classic NLP (natural language parsing) where you give a sentence of sentence fragment to a bit of software and ask it to tell you the parts of speech. If this sounds like a 7th Grade English exercise, well, you aren't wrong ... I'm experimenting with this for an upcoming user interface where I'm hoping to use NLP techniques to lessen the amount of manual data entry. I chose to use Spacy, a Python NLP tool, for this. Here's an example of the output from Spacy: Input: ADL - Make the ansible create all the queues Output: ... ADL PROPN NNP noun, proper singular - PUNCT : punctuation mark, colon or ellipsis Make VERB VB verb, base form the DET DT determiner ansible ADJ JJ adjective create NOUN NN noun, singular or mass all DET PDT predeterminer the DET DT determiner queues NOUN NNS noun, plural I've done this type of stuff in the past using tools like Princeton's WordNET but Spacy makes this even easier that ever before. Here's all it took: pip3 install spacy python3 -m spacy download en_core_web_sm Here's the accompanying Python code. This code does two things. It starts by defining a Spacy document based on the sentence and then it iterates over the words in the sentence and gives the word tags and explanation. >>> import spacy >>> sp = spacy.load('en_core_web_sm') >>> sen = sp("ADL - Make the ansible create all the queues") >>> for word in sen: ... print(f'{word.text:{12}} {word.pos_:{10}} {word.tag_:{8}} {spacy.explain(word.tag_)}') ... ADL PROPN NNP noun, proper singular - PUNCT : punctuation mark, colon or ellipsis Make VERB VB verb, base form the DET DT determiner ansible ADJ JJ adjective create NOUN NN noun, singular or mass all DET PDT predeterminer the DET DT determiner queues NOUN NNS noun, plural I'm contemplating this for a system built in Rails and it isn't hard to envision setting up a simple Flask API that front ends a Spacy installation that does just this much and returns the result as a JSON structure. Spacy - very, very much

## Announcing Troubleshooting Monolambdas with Express.js and Flask

DevFeed: [Announcing Troubleshooting Monolambdas with Express.js and Flask](<https://devfeed.tech/articles/announcing-troubleshooting-monolambdas-with-express-js-and-flask-14069.md>)

Original publisher: [Read original article](<https://www.serverless.com/blog/announcing-troubleshooting-monolambdas>)

Author: Fernando Medina Corey

Published: 2020-03-31T00:00:00Z

Content type: release

Language: en

Sources: [Serverless Blog](<https://devfeed.tech/sources/serverless-blog.md>)

Topics: [Express](<https://devfeed.tech/topics/express.md>), [Flask](<https://devfeed.tech/topics/flask.md>), [monitor](<https://devfeed.tech/topics/monitor.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [cloud-computing](<https://devfeed.tech/tags/cloud-computing.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [express](<https://devfeed.tech/tags/express.md>), [faas](<https://devfeed.tech/tags/faas.md>), [flask](<https://devfeed.tech/tags/flask.md>), [framework](<https://devfeed.tech/tags/framework.md>), [function-as-a-service](<https://devfeed.tech/tags/function-as-a-service.md>), [infrastructure-as-code](<https://devfeed.tech/tags/infrastructure-as-code.md>), [monitor](<https://devfeed.tech/tags/monitor.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [serverless-architecture](<https://devfeed.tech/tags/serverless-architecture.md>), [serverless-framework](<https://devfeed.tech/tags/serverless-framework.md>), [troubleshooting](<https://devfeed.tech/tags/troubleshooting.md>)

### AI overview

Serverless Framework Pro now supports automatic monitoring and troubleshooting for monolambdas built with Express.js and Flask.

### Source excerpt

You can now automatically monitor and troubleshoot monolambdas like Express.js and Flask with the Serverless Framework Pro!

## Deploying A Flask based REST API to AWS Lambda (Serverless) using Zappa

DevFeed: [Deploying A Flask based REST API to AWS Lambda (Serverless) using Zappa](<https://devfeed.tech/articles/deploying-a-flask-based-rest-api-to-aws-lambda-serverless-using-zappa-26284.md>)

Original publisher: [Read original article](<https://masnun.com/deploying-flask-based-rest-api-aws-lambda-serverless-using-zappa/>)

Author: masnun

Published: 2017-11-24T15:41:25Z

Content type: tutorial

Language: en

Sources: [Abu Ashraf Masnun](<https://devfeed.tech/sources/abu-ashraf-masnun.md>)

Topics: [AWS Lambda](<https://devfeed.tech/topics/aws-lambda.md>), [Python](<https://devfeed.tech/topics/python.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [Flask](<https://devfeed.tech/topics/flask.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Amazon API Gateway](<https://devfeed.tech/topics/amazon-api-gateway.md>), [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>)

Tags: [api-gateway](<https://devfeed.tech/tags/api-gateway.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [cli](<https://devfeed.tech/tags/cli.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [django](<https://devfeed.tech/tags/django.md>), [flask](<https://devfeed.tech/tags/flask.md>), [lambda](<https://devfeed.tech/tags/lambda.md>), [python](<https://devfeed.tech/tags/python.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [run](<https://devfeed.tech/tags/run.md>), [s3](<https://devfeed.tech/tags/s3.md>), [serverless](<https://devfeed.tech/tags/serverless.md>)

### AI overview

A tutorial on deploying a Flask-based REST API to AWS Lambda with Zappa. It explains how Zappa automates configuration for API Gateway and S3 and supports deploying WSGI applications, then begins covering Flask setup and AWS credentials.

### Source excerpt

I have heard about AWS Lambda and all the cool things happening in the serverless world. I have also deployed Go functions using the Apex framework for serverless deployment. But recently I have started working on some Python projects again and decided to see how well the Python community is adapting to the serverless era. [...] The post Deploying A Flask based REST API to AWS Lambda (Serverless) using Zappa appeared first on Abu Ashraf Masnun.

## Build a Python REST API with Serverless, Lambda, and DynamoDB

DevFeed: [Build a Python REST API with Serverless, Lambda, and DynamoDB](<https://devfeed.tech/articles/build-a-python-rest-api-with-serverless-lambda-and-dynamodb-14186.md>)

Original publisher: [Read original article](<https://www.serverless.com/blog/flask-python-rest-api-serverless-lambda-dynamodb>)

Author: Alex DeBrie

Published: 2017-11-16T00:00:00Z

Content type: tutorial

Language: en

Sources: [Serverless Blog](<https://devfeed.tech/sources/serverless-blog.md>)

Topics: [Serverless](<https://devfeed.tech/topics/serverless.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [Python](<https://devfeed.tech/topics/python.md>), [Flask](<https://devfeed.tech/topics/flask.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [cloud-computing](<https://devfeed.tech/tags/cloud-computing.md>), [dynamodb](<https://devfeed.tech/tags/dynamodb.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [faas](<https://devfeed.tech/tags/faas.md>), [flask](<https://devfeed.tech/tags/flask.md>), [framework](<https://devfeed.tech/tags/framework.md>), [function-as-a-service](<https://devfeed.tech/tags/function-as-a-service.md>), [infrastructure-as-code](<https://devfeed.tech/tags/infrastructure-as-code.md>), [lambda](<https://devfeed.tech/tags/lambda.md>), [python](<https://devfeed.tech/tags/python.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [serverless-architecture](<https://devfeed.tech/tags/serverless-architecture.md>), [serverless-framework](<https://devfeed.tech/tags/serverless-framework.md>)

### AI overview

A tutorial on building and deploying a Python REST API with Serverless, Lambda, and DynamoDB, using the Flask web framework.

### Source excerpt

Deploy a Serverless REST API in minutes using the popular Flask web framework

## Using Word2Vec to Power a Recommendation Engine

DevFeed: [Using Word2Vec to Power a Recommendation Engine](<https://devfeed.tech/articles/using-word2vec-to-power-a-recommendation-engine-15944.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/using-word2vec-to-power-a-recommendation-engine>)

Author: Nicole Mitchell

Published: 2017-08-31T17:12:47Z

Content type: article

Language: en

Sources: [Square Corner Blog RSS Feed](<https://devfeed.tech/sources/square-corner-blog-rss-feed.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Flask](<https://devfeed.tech/topics/flask.md>), [data](<https://devfeed.tech/topics/data.md>), [App](<https://devfeed.tech/topics/app.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>)

Tags: [data](<https://devfeed.tech/tags/data.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [demo](<https://devfeed.tech/tags/demo.md>), [flask](<https://devfeed.tech/tags/flask.md>), [python](<https://devfeed.tech/tags/python.md>), [visualization](<https://devfeed.tech/tags/visualization.md>)

### AI overview

Square interns describe an Intern Hack Week project that used Word2Vec and transaction data to explore a recommendation engine for food and beverage sellers. The prototype aimed to provide neighborhood-specific pricing and menu-item insights, and was implemented as a Python Flask app with D3 visualizations for demonstration purposes.

### Source excerpt

By Nicole Mitchell & Joy Wang

## Building Microservices in Python and Flask (GitHub Project Included)

DevFeed: [Building Microservices in Python and Flask (GitHub Project Included)](<https://devfeed.tech/articles/building-microservices-in-python-and-flask-github-project-included-24958.md>)

Original publisher: [Read original article](<https://codeahoy.com/2016/07/10/writing-microservices-in-python-using-flask/>)

Author: umer

Published: 2016-07-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [Code Ahoy - Articles](<https://devfeed.tech/sources/code-ahoy-articles.md>)

Topics: [Microservice](<https://devfeed.tech/topics/microservice.md>), [Flask](<https://devfeed.tech/topics/flask.md>), [Python](<https://devfeed.tech/topics/python.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>), [Code](<https://devfeed.tech/topics/code.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [building](<https://devfeed.tech/tags/building.md>), [code](<https://devfeed.tech/tags/code.md>), [flask](<https://devfeed.tech/tags/flask.md>), [github](<https://devfeed.tech/tags/github.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [python](<https://devfeed.tech/tags/python.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [services](<https://devfeed.tech/tags/services.md>)

### AI overview

A tutorial on building microservices in Python with Flask. It uses a fictional Cinema 3 project to demonstrate separate movie, show-time, booking, and user services that communicate through a REST API, with service discovery discussed as a real-world technique.

### Source excerpt

After years of building applications and platforms using the Service Oriented Architecture, I became very interested in microservices last year. So much so that I chose the job offer based on the sole fact that it was providing me an opportunity to design and develop microservices on the AWS platform. I'll share the pros and cons of microservices in a later post. In this post, we'll see how to build microservices in Python using a light-weight framework called Flask. Unlike other web frameworks (e.g. Rails,) Flask is very flexible and doesn't force you to adopt a specific layout style for your projects. It's light-weight because it doesn't require users to use particular tools or libraries. For example, Flask doesn't come with any database access libraries. You will use extensions to add the functionality that you want. Cinema 3 I have created a fictional project called Cinema 3 that demonstrates the use of microservices using Python and Flask. In this hypothetical project, we have a few microservices working together to allow users to find movies and books tickets online. The microservices which make up the project are: Movies: Manages information related to movies e.g. title, rating, etc. Show Times: Provides show times for movies. Bookings: Handles online booking. Users: Manages user accounts for our project. The microservices talk to each other using REST API. How do they know the address (host:port) of other services? In this example, each microservice runs on a separate port so we could identify them. In real-world projects, people use more advanced techniques such as service discovery (either server or client side; consul is a popular tool that people use for this purpose.) Sample Code on GitHub Here's a link to the project on GitHub. The source code itself is pretty simple as this is just an example to give you a basic understanding of building microservices using Flask. If you have any comments or question about the project, please let me know in the commen

## Composible Architecture: A real-world example.

DevFeed: [Composible Architecture: A real-world example.](<https://devfeed.tech/articles/composible-architecture-a-real-world-example-32111.md>)

Original publisher: [Read original article](<https://adambard.com/blog/composible-architecture-a-real-world-example/>)

Published: 2016-03-27T00:00:00Z

Content type: article

Language: en

Sources: [Adam Bard](<https://devfeed.tech/sources/adam-bard.md>)

Topics: [Flask](<https://devfeed.tech/topics/flask.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [Library](<https://devfeed.tech/topics/library.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [JSON](<https://devfeed.tech/topics/json.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [flask](<https://devfeed.tech/tags/flask.md>), [json](<https://devfeed.tech/tags/json.md>), [library](<https://devfeed.tech/tags/library.md>), [real-world](<https://devfeed.tech/tags/real-world.md>), [rest-api](<https://devfeed.tech/tags/rest-api.md>), [routing](<https://devfeed.tech/tags/routing.md>)

### AI overview

A technical discussion of composable architecture in a Flask-Restful REST API, focusing on reqparse validation and the use of reusable validator functions to keep special-case handling out of general-purpose parsing code.

### Source excerpt

I am the primary maintainer of a significant REST API written using Flask-Restful. Flask-Restful is a pretty full-featured library for creating REST frameworks with Flask. It features everything you need to manage routing to class-based resources, a library for marshalling objects to JSON format, and reqparse, an argparse-inspired library for writing input parsers.

[Next page](<https://devfeed.tech/tags/flask.md?cursor=WyIyMDE2LTAzLTI3VDAwOjAwOjAwKzAwOjAwIiwgIjc0MDc0ZGIyLWM3NzYtNDE4YS05MjBjLWU2YThhZmJjODMyMCJd>)