I Made AI Powered Bulk Background Remover
What My Project Does
A desktop tool that removes backgrounds from multiple images in bulk using the
Target Audience
Ideal for individuals or small businesses needing fast, unlimited, and offline background removal.
Comparison
Unlike most online tools, it’s completely free, offline, and has no usage limits. (This is exactly why I did this project)
Github
/r/Python
https://redd.it/1kclan0
What My Project Does
A desktop tool that removes backgrounds from multiple images in bulk using the
rembg library.Target Audience
Ideal for individuals or small businesses needing fast, unlimited, and offline background removal.
Comparison
Unlike most online tools, it’s completely free, offline, and has no usage limits. (This is exactly why I did this project)
Github
/r/Python
https://redd.it/1kclan0
GitHub
GitHub - verlorengest/BGTANK: Bulk Background Remover
Bulk Background Remover. Contribute to verlorengest/BGTANK development by creating an account on GitHub.
Looking for intermediate/advanced level python courses for data analytics
I have foundational knowledge on pandas, NumPy, Matplotlib, Sci-kit learn, plotly SQL, SQLite, and PostgreSQL. Are there any courses out that that skip the basics and go straight into more complex projects? Or, do you have any other suggestions on how I can gain strengthen my skills? My goal is to become a data analyst. I am still undecided on what field/topic I am most interested in but I have good faith that I will figure it out on the way. I appreciate any wisdom you all have to share!
/r/Python
https://redd.it/1kco45y
I have foundational knowledge on pandas, NumPy, Matplotlib, Sci-kit learn, plotly SQL, SQLite, and PostgreSQL. Are there any courses out that that skip the basics and go straight into more complex projects? Or, do you have any other suggestions on how I can gain strengthen my skills? My goal is to become a data analyst. I am still undecided on what field/topic I am most interested in but I have good faith that I will figure it out on the way. I appreciate any wisdom you all have to share!
/r/Python
https://redd.it/1kco45y
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
What do you prefer Bootstrap or Tailwind?
I am from the "older" generation. We started with Bootstrap, and it worked for years without fail. The classes are easy to remember and clean.
Tailwind, on the other hand, looks really professional, modern, and sleek. I like the fonts and colours that come with the library by default, but I don't like having 3000 classes in my markup, and I am okay with writing custom CSS.
With that said, I am using Tailwind more and more now just because it looks so good without me having to add extra CSS. How about you? Django developers tend to still stick with Bootstrap or are we moving along into Tailwind?
/r/django
https://redd.it/1kcxe2x
I am from the "older" generation. We started with Bootstrap, and it worked for years without fail. The classes are easy to remember and clean.
Tailwind, on the other hand, looks really professional, modern, and sleek. I like the fonts and colours that come with the library by default, but I don't like having 3000 classes in my markup, and I am okay with writing custom CSS.
With that said, I am using Tailwind more and more now just because it looks so good without me having to add extra CSS. How about you? Django developers tend to still stick with Bootstrap or are we moving along into Tailwind?
/r/django
https://redd.it/1kcxe2x
Reddit
From the django community on Reddit
Explore this post and more from the django community
Steps to learning deployment
Currently im using DO's App Platform to run my client's app. However I want to learn to deploy an app from scratch by myself. What are the steps I need to learn? Do I use docker on a vps or go some other route?
/r/django
https://redd.it/1kcy6ny
Currently im using DO's App Platform to run my client's app. However I want to learn to deploy an app from scratch by myself. What are the steps I need to learn? Do I use docker on a vps or go some other route?
/r/django
https://redd.it/1kcy6ny
Reddit
From the django community on Reddit
Explore this post and more from the django community
Storing lists in Database (django-react-docker)
Hello,
I'm working on a react-django project, the website is for courses showcasing, each course has it's own information to display, at first I hard coded each course, and stored the data in react in a json file, and since I'm working on a multilingual website this came in handy (I've used i18n for this). Anyway but I was recommended to store the courses in a database instead, and that's what I'm trying to do.
in Django I created a model for the courses, and I connected it to react and it worked just fine, but for some of the details of the course they're written as a list, I tried to store them in the database with /n/ but it didn't work. also some paragraphs I needed to separate them or style them, it's difficult now that's it's all stored as one paragraph in DB. Any advice on how should I store them? or any advice on this matter would be much appreciated.
Now for the database at first I sticked with default django's sql, but chat gpt recommended that I use PostgreSQL (I've never used it) and use Docker for it too, I'm having trouble with Docker as well,
/r/django
https://redd.it/1kd0bjt
Hello,
I'm working on a react-django project, the website is for courses showcasing, each course has it's own information to display, at first I hard coded each course, and stored the data in react in a json file, and since I'm working on a multilingual website this came in handy (I've used i18n for this). Anyway but I was recommended to store the courses in a database instead, and that's what I'm trying to do.
in Django I created a model for the courses, and I connected it to react and it worked just fine, but for some of the details of the course they're written as a list, I tried to store them in the database with /n/ but it didn't work. also some paragraphs I needed to separate them or style them, it's difficult now that's it's all stored as one paragraph in DB. Any advice on how should I store them? or any advice on this matter would be much appreciated.
Now for the database at first I sticked with default django's sql, but chat gpt recommended that I use PostgreSQL (I've never used it) and use Docker for it too, I'm having trouble with Docker as well,
/r/django
https://redd.it/1kd0bjt
Reddit
From the django community on Reddit
Explore this post and more from the django community
ETL template with clean architecture
Hey folks 👋
I’ve put together a simple yet production-ready ETL (Extract - Transform - Load) template project that aims to go beyond the typical examples.
Link: [https://github.com/mglowinski93/EtlTemplate](https://github.com/mglowinski93/EtlTemplate)
What it offers:
* Isolated business logic
* CQRS (separate read/write models)
* Django-based API with Swagger docs
* Admin panel for exporting results
* Framework-agnostic core – you can swap Django for something else if needed
**What my it does?**
It's simple good quality showcase of ETL process.
**Target audience:**
Anyone building or experimenting with ETL pipelines in a structured, maintainable way – especially if you're tired of seeing everything shoved into one etl.py.
**Comparison:**
Most ETL templates out there skip over Domain-Driven Design (DDD) and Clean Architecture concepts. This project is a minimal example to showcase how those ideas can be applied in a real ETL setup.
Happy to hear feedback or ideas!
/r/Python
https://redd.it/1kd4aib
Hey folks 👋
I’ve put together a simple yet production-ready ETL (Extract - Transform - Load) template project that aims to go beyond the typical examples.
Link: [https://github.com/mglowinski93/EtlTemplate](https://github.com/mglowinski93/EtlTemplate)
What it offers:
* Isolated business logic
* CQRS (separate read/write models)
* Django-based API with Swagger docs
* Admin panel for exporting results
* Framework-agnostic core – you can swap Django for something else if needed
**What my it does?**
It's simple good quality showcase of ETL process.
**Target audience:**
Anyone building or experimenting with ETL pipelines in a structured, maintainable way – especially if you're tired of seeing everything shoved into one etl.py.
**Comparison:**
Most ETL templates out there skip over Domain-Driven Design (DDD) and Clean Architecture concepts. This project is a minimal example to showcase how those ideas can be applied in a real ETL setup.
Happy to hear feedback or ideas!
/r/Python
https://redd.it/1kd4aib
GitHub
GitHub - mglowinski93/EtlTemplate: Template for Extract-Transform-Load (ETL).
Template for Extract-Transform-Load (ETL). Contribute to mglowinski93/EtlTemplate development by creating an account on GitHub.
Programmatically navigate between directories in the file browser pane (JupyterLab)
Hello.
I would like to know if there is a way to programmatically change the folder shown in the file browser pane in JupyterLab?
For context.
I have a directory A and B both of which share a parent 5 folders up.
My notebook that I run is in directory A (and so the file browser pane will be showing the contents of directory A) and as part of the code it produces files that are saved in directory B. I would like there to be a quick way for the users of the notebook to quickly jump to the results folder (directory B) without having to navigate folder by folder to the results. Ideally with a click of a button.
Thank you in advance.
/r/IPython
https://redd.it/1kd6j86
Hello.
I would like to know if there is a way to programmatically change the folder shown in the file browser pane in JupyterLab?
For context.
I have a directory A and B both of which share a parent 5 folders up.
My notebook that I run is in directory A (and so the file browser pane will be showing the contents of directory A) and as part of the code it produces files that are saved in directory B. I would like there to be a quick way for the users of the notebook to quickly jump to the results folder (directory B) without having to navigate folder by folder to the results. Ideally with a click of a button.
Thank you in advance.
/r/IPython
https://redd.it/1kd6j86
Reddit
From the IPython community on Reddit
Explore this post and more from the IPython community
How to Deploy Django Project with tailwind css styling on Render
So , when I locally want to test, first i build Tailwind CSS using the command
The issue I am facing is that I have successfully deployed it on render but the styling is not being applied . What I tried was to use gunicorn to run it on port locally, and tried this
But the error is that tailwind is an unknown command. Can you guys help me? I know there
/r/django
https://redd.it/1kctslf
So , when I locally want to test, first i build Tailwind CSS using the command
python `manage.py` tailwind start When Tailwind is built, then on parallel I run python `manage.py` runserver . And that's how I get all the styling of Tailwind classes The issue I am facing is that I have successfully deployed it on render but the styling is not being applied . What I tried was to use gunicorn to run it on port locally, and tried this
: import os from django.core.wsgi import get_wsgi_application from `django.core.management` import call_command try: call_command('tailwind', 'start') except Exception as e: print(f"Tailwind build failed: {e}") os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'wcp.settings') application = get_wsgi_application() import os from django.core.wsgi import get_wsgi_application from `django.core.management` import call_command try: call_command('tailwind', 'start') except Exception as e: print(f"Tailwind build failed: {e}") os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myproject.settings') application = get_wsgi_application()But the error is that tailwind is an unknown command. Can you guys help me? I know there
/r/django
https://redd.it/1kctslf
Is there a way to do this
Hello guys hope you are all doing well, i am working on an app that automate the process of cv creation because i am tired on updating my cv by hand each time to match a specific job description , espicially that for a lot of jobs i need to change the template i am using completely , and not only this but probably some freinds gonna use it too. Anyways here how it work , the user chose the templates he want , a form is then submited to the user where he fills his data , a prview of the template is generated then the user can download it if he want , my question is do i need to create a form and a view for each template manually or does anyone have an idea how to make this process dynamic . I hope i explained this well english isn t my first language and thank you in advance :)
/r/django
https://redd.it/1kcv3kn
Hello guys hope you are all doing well, i am working on an app that automate the process of cv creation because i am tired on updating my cv by hand each time to match a specific job description , espicially that for a lot of jobs i need to change the template i am using completely , and not only this but probably some freinds gonna use it too. Anyways here how it work , the user chose the templates he want , a form is then submited to the user where he fills his data , a prview of the template is generated then the user can download it if he want , my question is do i need to create a form and a view for each template manually or does anyone have an idea how to make this process dynamic . I hope i explained this well english isn t my first language and thank you in advance :)
/r/django
https://redd.it/1kcv3kn
Reddit
From the django community on Reddit
Explore this post and more from the django community
D Self-Promotion Thread
Please post your personal projects, startups, product placements, collaboration needs, blogs etc.
Please mention the payment and pricing requirements for products and services.
Please do not post link shorteners, link aggregator websites , or auto-subscribe links.
\--
Any abuse of trust will lead to bans.
Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
\--
Meta: This is an experiment. If the community doesnt like this, we will cancel it. This is to encourage those in the community to promote their work by not spamming the main threads.
/r/MachineLearning
https://redd.it/1kcq3du
Please post your personal projects, startups, product placements, collaboration needs, blogs etc.
Please mention the payment and pricing requirements for products and services.
Please do not post link shorteners, link aggregator websites , or auto-subscribe links.
\--
Any abuse of trust will lead to bans.
Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
\--
Meta: This is an experiment. If the community doesnt like this, we will cancel it. This is to encourage those in the community to promote their work by not spamming the main threads.
/r/MachineLearning
https://redd.it/1kcq3du
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Saturday Daily Thread: Resource Request and Sharing! Daily Thread
# Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1kdfo8x
# Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1kdfo8x
Amazon
Fluent Python: Clear, Concise, and Effective Programming
Fluent Python: Clear, Concise, and Effective Programming [Ramalho, Luciano] on Amazon.com. *FREE* shipping on qualifying offers. Fluent Python: Clear, Concise, and Effective Programming
I built a PySpark data validation framework to replace PyDeequ — feedback welcome
Hey everyone,
I’d like to share a project I’ve been working on: [**SparkDQ**](https://github.com/sparkdq-community/sparkdq) — an open-source framework for validating data in PySpark.
**What it does:**
SparkDQ helps you validate your data — both at the row level and aggregate level — directly inside your Spark pipelines.
It supports Python-native and declarative configs (e.g. YAML, JSON, or external sources like DynamoDB), with built-in support for fail-fast and quarantine-based validation strategies.
**Target audience:**
This is built for data engineers and analysts working with Spark in production. Whether you're building ETL pipelines or preparing data for ML, SparkDQ is designed to give you full control over your data quality logic — without relying on heavy wrappers.
**Comparison:**
* Fully written in Python
* Row-level visibility with structured error metadata
* Plugin architecture for custom checks
* Zero heavy dependencies (just PySpark + Pydantic)
* Clean separation of valid and invalid data — with built-in handling for quarantining bad records
If you’ve used PyDeequ or struggled with validating Spark data in a Pythonic way, I’d love your feedback — on naming, structure, design, anything.
* ⭐ [GitHub Repo – SparkDQ](https://github.com/sparkdq-community/sparkdq)
* ✍️ [Medium article – Why I moved beyond PyDeequ](https://medium.com/aws-tip/goodbye-pydeequ-time-to-upgrade-your-data-quality-stack-d86fe9cdc5be)
Thanks for reading!
/r/Python
https://redd.it/1kdgumc
Hey everyone,
I’d like to share a project I’ve been working on: [**SparkDQ**](https://github.com/sparkdq-community/sparkdq) — an open-source framework for validating data in PySpark.
**What it does:**
SparkDQ helps you validate your data — both at the row level and aggregate level — directly inside your Spark pipelines.
It supports Python-native and declarative configs (e.g. YAML, JSON, or external sources like DynamoDB), with built-in support for fail-fast and quarantine-based validation strategies.
**Target audience:**
This is built for data engineers and analysts working with Spark in production. Whether you're building ETL pipelines or preparing data for ML, SparkDQ is designed to give you full control over your data quality logic — without relying on heavy wrappers.
**Comparison:**
* Fully written in Python
* Row-level visibility with structured error metadata
* Plugin architecture for custom checks
* Zero heavy dependencies (just PySpark + Pydantic)
* Clean separation of valid and invalid data — with built-in handling for quarantining bad records
If you’ve used PyDeequ or struggled with validating Spark data in a Pythonic way, I’d love your feedback — on naming, structure, design, anything.
* ⭐ [GitHub Repo – SparkDQ](https://github.com/sparkdq-community/sparkdq)
* ✍️ [Medium article – Why I moved beyond PyDeequ](https://medium.com/aws-tip/goodbye-pydeequ-time-to-upgrade-your-data-quality-stack-d86fe9cdc5be)
Thanks for reading!
/r/Python
https://redd.it/1kdgumc
GitHub
GitHub - sparkdq-community/sparkdq: A declarative PySpark framework for row- and aggregate-level data quality validation.
A declarative PySpark framework for row- and aggregate-level data quality validation. - sparkdq-community/sparkdq
Learned the Basics, Now I’m Broke, HELP
Hey everyone,
I'm a university student who recently completed the basics of Python (I feel pretty confident with the language now), and I also learned C through my university coursework. Since I need a bit of side income to support myself, I started looking into freelancing opportunities. After doing some research, Django seemed like a solid option—it's Python-based, powerful, and in demand.
I started a Django course and was making decent progress, but then my finals came up, and I had to put everything on hold. Now that my exams are over, I have around 15–20 free days before things pick up again, and I'm wondering—should I continue with Django and try to build something that could help me earn a little through freelancing (on platforms like Fiverr or LinkedIn)? Or is there something else that might get me to my goal faster?
Just to clarify—I'm not chasing big money. Even a small side income would be helpful right now while I continue learning and growing. Long-term, my dream is to pursue a master's in Machine Learning and become an ML engineer. I have a huge passion for AI and ML, and I want to build a strong foundation while also being practical
/r/djangolearning
https://redd.it/1kd585m
Hey everyone,
I'm a university student who recently completed the basics of Python (I feel pretty confident with the language now), and I also learned C through my university coursework. Since I need a bit of side income to support myself, I started looking into freelancing opportunities. After doing some research, Django seemed like a solid option—it's Python-based, powerful, and in demand.
I started a Django course and was making decent progress, but then my finals came up, and I had to put everything on hold. Now that my exams are over, I have around 15–20 free days before things pick up again, and I'm wondering—should I continue with Django and try to build something that could help me earn a little through freelancing (on platforms like Fiverr or LinkedIn)? Or is there something else that might get me to my goal faster?
Just to clarify—I'm not chasing big money. Even a small side income would be helpful right now while I continue learning and growing. Long-term, my dream is to pursue a master's in Machine Learning and become an ML engineer. I have a huge passion for AI and ML, and I want to build a strong foundation while also being practical
/r/djangolearning
https://redd.it/1kd585m
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
Flask-Admin error when showing foreign keys: alueError: not enough values to unpack (expected 4, got 3)
Flask 3.1.0
Flask-Admin 1.6.1
Python 3.13.3
I'm trying to use Flask-Admin for CRUD on a table with a foreign key, but when I try to create or edit a row I get the error traceback:
File "...\.venv\Lib\site-packages\wtforms\widgets\core.py", line 374, in call
val, label, selected, renderkw = choice
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 4, got 3)
Here is some minimal example code that replicates the issue:
from flask import Flask, redirect, urlfor
from flasksqlalchemy import SQLAlchemy
from flaskadmin import Admin
from flaskadmin.contrib.sqla import ModelView
## CONFIG
app = Flask(name)
app.config['SQLALCHEMYDATABASEURI'] = 'sqlite:///:memory:'
db = SQLAlchemy(app)
admin = Admin(app)
## MODELS
class Manufacturer(db.Model):
id = db.Column(db.Integer, primarykey=True)
name = db.Column(db.String(25))
location = db.Column(db.String(25))
drinks
/r/flask
https://redd.it/1kdj92t
Flask 3.1.0
Flask-Admin 1.6.1
Python 3.13.3
I'm trying to use Flask-Admin for CRUD on a table with a foreign key, but when I try to create or edit a row I get the error traceback:
File "...\.venv\Lib\site-packages\wtforms\widgets\core.py", line 374, in call
val, label, selected, renderkw = choice
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 4, got 3)
Here is some minimal example code that replicates the issue:
from flask import Flask, redirect, urlfor
from flasksqlalchemy import SQLAlchemy
from flaskadmin import Admin
from flaskadmin.contrib.sqla import ModelView
## CONFIG
app = Flask(name)
app.config['SQLALCHEMYDATABASEURI'] = 'sqlite:///:memory:'
db = SQLAlchemy(app)
admin = Admin(app)
## MODELS
class Manufacturer(db.Model):
id = db.Column(db.Integer, primarykey=True)
name = db.Column(db.String(25))
location = db.Column(db.String(25))
drinks
/r/flask
https://redd.it/1kdj92t
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
PgQueuer – PostgreSQL-native job & schedule queue, gathering ideas for 1.0 🎯
### What My Project Does
PgQueuer converts any PostgreSQL database into a durable background-job and cron scheduler. It relies on **LISTEN/NOTIFY** for real-time worker wake-ups and `FOR UPDATE SKIP LOCKED` for high-concurrency locking, so you don’t need Redis, RabbitMQ, Celery, or any extra broker.
Everything—jobs, schedules, retries, statistics—lives as rows you can query.
**Highlights since my last post**
* Cron-style recurring jobs (`* * * * *`) with automatic `next_run`
* Heartbeat API to re-queue tasks that die mid-run
* Async **and** sync drivers (asyncpg & psycopg v3) plus a one-command CLI for install / upgrade / live dashboard
* Pluggable executors with back-off helpers
* Zero-downtime schema migrations (`pgqueuer upgrade`)
Source & docs → **https://github.com/janbjorge/pgqueuer**
---
### Target Audience
* Teams already running PostgreSQL who want *one fewer* moving part in production
* Python devs who love `async/await` but need sync compatibility
* Apps on Heroku/Fly.io/Railway or serverless platforms where running Redis isn’t practical
---
### How PgQueuer Stands Out
* **Single-service architecture** – everything runs inside the DB you already use
* **SQL-backed durability** – jobs are ACID rows you can inspect and JOIN
* **Extensible** – swap in your own executor, customise retries, stream metrics from the stats table
---
### I’d Love Your Feedback 🙏
I’m drafting the
/r/Python
https://redd.it/1kd6ci0
### What My Project Does
PgQueuer converts any PostgreSQL database into a durable background-job and cron scheduler. It relies on **LISTEN/NOTIFY** for real-time worker wake-ups and `FOR UPDATE SKIP LOCKED` for high-concurrency locking, so you don’t need Redis, RabbitMQ, Celery, or any extra broker.
Everything—jobs, schedules, retries, statistics—lives as rows you can query.
**Highlights since my last post**
* Cron-style recurring jobs (`* * * * *`) with automatic `next_run`
* Heartbeat API to re-queue tasks that die mid-run
* Async **and** sync drivers (asyncpg & psycopg v3) plus a one-command CLI for install / upgrade / live dashboard
* Pluggable executors with back-off helpers
* Zero-downtime schema migrations (`pgqueuer upgrade`)
Source & docs → **https://github.com/janbjorge/pgqueuer**
---
### Target Audience
* Teams already running PostgreSQL who want *one fewer* moving part in production
* Python devs who love `async/await` but need sync compatibility
* Apps on Heroku/Fly.io/Railway or serverless platforms where running Redis isn’t practical
---
### How PgQueuer Stands Out
* **Single-service architecture** – everything runs inside the DB you already use
* **SQL-backed durability** – jobs are ACID rows you can inspect and JOIN
* **Extensible** – swap in your own executor, customise retries, stream metrics from the stats table
---
### I’d Love Your Feedback 🙏
I’m drafting the
/r/Python
https://redd.it/1kd6ci0
AtlasServer-Core — Soon for Django (currently Flask/FastAPI)
Hello Django learners! I’m working on AtlasServer-Core, an open-core admin panel currently supporting Flask & FastAPI, with Django support on the roadmap.
Current features
🔹 Lifecycle: create, start, stop, delete apps
🔹 Ngrok tunnels for public previews
🔹 Basic auth & roles
🔹 Live logging interface
Feel free to explore the code or file issues to guide our Django integration: 👉 https://github.com/AtlasServer-Core/AtlasServer-Core
Thanks for checking it out—your input will help shape the Django support!
/r/djangolearning
https://redd.it/1kdc6xi
Hello Django learners! I’m working on AtlasServer-Core, an open-core admin panel currently supporting Flask & FastAPI, with Django support on the roadmap.
Current features
🔹 Lifecycle: create, start, stop, delete apps
🔹 Ngrok tunnels for public previews
🔹 Basic auth & roles
🔹 Live logging interface
Feel free to explore the code or file issues to guide our Django integration: 👉 https://github.com/AtlasServer-Core/AtlasServer-Core
Thanks for checking it out—your input will help shape the Django support!
/r/djangolearning
https://redd.it/1kdc6xi
GitHub
GitHub - AtlasServer-Core/AtlasServer-Core: 💻 Fast deploy. No cloud. Just code.
💻 Fast deploy. No cloud. Just code. Contribute to AtlasServer-Core/AtlasServer-Core development by creating an account on GitHub.
🚀 FlaskGuard – Plug-and-Play Firewall for Flask Apps (Open Source)
Hey Flask devs! 👋
I just released **FlaskGuard**, a plug-and-play firewall library for Flask applications. It protects your app from common web vulnerabilities like SQL injection, XSS, path traversal, and more. 🛡️
---
### **What My Project Does:**
FlaskGuard analyzes incoming HTTP requests in real-time and blocks malicious patterns such as SQL injection, XSS, path traversal, command injection, and more. It's designed to act as a security layer for any Flask web app with minimal setup required.
---
### **Target Audience:**
This project is meant for **Flask developers** who are building production-ready applications and want a lightweight but effective first line of defense against common web threats. Whether you're running a small API or a larger web service, FlaskGuard can help secure it.
---
### **Comparison:**
Unlike more complex full-stack WAFs or security middleware that require external setups (like ModSecurity), **FlaskGuard** is built purely in Python, installs via `pip`, and integrates directly with Flask. It requires zero configuration to get started but is fully extensible for advanced users.
---
### **🔒 Features:**
- Detects and blocks malicious requests.
- ⚙️ Configurable rules and whitelisting.
- 🧩 Seamless Flask integration.
- 📄 Logging with color-coded output for quick threat analysis.
- 🧠 Supports detection of common vulnerabilities.
---
### **📦 Installation:**
From PyPI:
```bash
pip install safe-flask
```
From GitHub:
```bash
pip install git+https://github.com/CodeGuardianSOF/FlaskGuard.git
```
---
### **📚 Example Usage:**
```python
from
/r/Python
https://redd.it/1kdq1zy
Hey Flask devs! 👋
I just released **FlaskGuard**, a plug-and-play firewall library for Flask applications. It protects your app from common web vulnerabilities like SQL injection, XSS, path traversal, and more. 🛡️
---
### **What My Project Does:**
FlaskGuard analyzes incoming HTTP requests in real-time and blocks malicious patterns such as SQL injection, XSS, path traversal, command injection, and more. It's designed to act as a security layer for any Flask web app with minimal setup required.
---
### **Target Audience:**
This project is meant for **Flask developers** who are building production-ready applications and want a lightweight but effective first line of defense against common web threats. Whether you're running a small API or a larger web service, FlaskGuard can help secure it.
---
### **Comparison:**
Unlike more complex full-stack WAFs or security middleware that require external setups (like ModSecurity), **FlaskGuard** is built purely in Python, installs via `pip`, and integrates directly with Flask. It requires zero configuration to get started but is fully extensible for advanced users.
---
### **🔒 Features:**
- Detects and blocks malicious requests.
- ⚙️ Configurable rules and whitelisting.
- 🧩 Seamless Flask integration.
- 📄 Logging with color-coded output for quick threat analysis.
- 🧠 Supports detection of common vulnerabilities.
---
### **📦 Installation:**
From PyPI:
```bash
pip install safe-flask
```
From GitHub:
```bash
pip install git+https://github.com/CodeGuardianSOF/FlaskGuard.git
```
---
### **📚 Example Usage:**
```python
from
/r/Python
https://redd.it/1kdq1zy
Reddit
🚀 FlaskGuard – Plug-and-Play Firewall for Flask Apps (Open Source) : r/Python
18 votes, 10 comments. 1.4M subscribers in the Python community. The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language.
---
If you have questions or are…
---
If you have questions or are…
How go about with modular monolithic architecture
# Hello guys, hope you're doing good
I'm working on an ecommerce site project using fastapi and next-js, so I would like some insides and advice on the architecture. Firstly I was thinking to go with microservice architecture, but I was overwhelmed by it's complexity, so I made some research and found out people suggesting that better to start with modular monolithic, which emphasizes dividing each component into a separate module, but
Couple concerns here:
Communication between modules: If anyone have already build a project using a similar approach then how should modules communicate in a decoupled manner, some have suggested using an even bus instead of rabbitMQ since the architecture is still a monolith.
A simple scenario here, I have a notification module and a user module, so when a new user creates an account the notification should be able to receive the email and sends it in the background.
I've seen how popular this architecture is .NET Ecosystem.
Thank you in advance
/r/Python
https://redd.it/1kdroea
# Hello guys, hope you're doing good
I'm working on an ecommerce site project using fastapi and next-js, so I would like some insides and advice on the architecture. Firstly I was thinking to go with microservice architecture, but I was overwhelmed by it's complexity, so I made some research and found out people suggesting that better to start with modular monolithic, which emphasizes dividing each component into a separate module, but
Couple concerns here:
Communication between modules: If anyone have already build a project using a similar approach then how should modules communicate in a decoupled manner, some have suggested using an even bus instead of rabbitMQ since the architecture is still a monolith.
A simple scenario here, I have a notification module and a user module, so when a new user creates an account the notification should be able to receive the email and sends it in the background.
I've seen how popular this architecture is .NET Ecosystem.
Thank you in advance
/r/Python
https://redd.it/1kdroea
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
How to shut down a Flask app without killing the process it's in?
I have a separate process to run my Flask app. I'm currently shutting it down by making it so that when a request is made to the
def shutdownserver():
"""Helper function for shutdown route"""
print("Shutting down Flask server...")
pid = os.getpid()
assert pid == PID
os.kill(pid, signal.SIGINT)
@bp.route("/shutdown")
def shutdown():
"""Shutdown the Flask app by mimicking CTRL+C"""
shutdownserver()
return "OK", 200
but I want to have the Python thread the app's running in do some stuff, then close itself with
app=createapp()
if name=="main":
try:
app.run(debug=True, usereloader=False)
/r/flask
https://redd.it/1ke1e5h
I have a separate process to run my Flask app. I'm currently shutting it down by making it so that when a request is made to the
/shutdown route, it runs os.kill(os.getpid(), signal.SIGINT like:def shutdownserver():
"""Helper function for shutdown route"""
print("Shutting down Flask server...")
pid = os.getpid()
assert pid == PID
os.kill(pid, signal.SIGINT)
@bp.route("/shutdown")
def shutdown():
"""Shutdown the Flask app by mimicking CTRL+C"""
shutdownserver()
return "OK", 200
but I want to have the Python thread the app's running in do some stuff, then close itself with
sys.exit(0) so that it can be picked up by a listener in another app. So, in the `run.py` file, it would look like:app=createapp()
if name=="main":
try:
app.run(debug=True, usereloader=False)
/r/flask
https://redd.it/1ke1e5h
Reddit
From the flask community on Reddit
Explore this post and more from the flask community