What am I doing wrong in this Test Case ?
https://preview.redd.it/7n1fqp0klfef1.jpg?width=1954&format=pjpg&auto=webp&s=fe8dfceea937e4b522bfb5f2b21fe3b01c138c97
https://preview.redd.it/36ci7whtlfef1.png?width=1532&format=png&auto=webp&s=f9892e99e3b4a5e7ded799eb46c82bc4ea4b2d9e
https://preview.redd.it/i9hdg14bmfef1.png?width=1738&format=png&auto=webp&s=f5a129ea781ddefb2bb4066171c8e0ef0ffb508d
How do I validate if response contains created data? I'm getting this error.
/r/django
https://redd.it/1m6evh4
https://preview.redd.it/7n1fqp0klfef1.jpg?width=1954&format=pjpg&auto=webp&s=fe8dfceea937e4b522bfb5f2b21fe3b01c138c97
https://preview.redd.it/36ci7whtlfef1.png?width=1532&format=png&auto=webp&s=f9892e99e3b4a5e7ded799eb46c82bc4ea4b2d9e
https://preview.redd.it/i9hdg14bmfef1.png?width=1738&format=png&auto=webp&s=f5a129ea781ddefb2bb4066171c8e0ef0ffb508d
How do I validate if response contains created data? I'm getting this error.
/r/django
https://redd.it/1m6evh4
Just launched a Flask + AI project that auto-generates interactive checklists — would love UI Feeback
https://listacks.com
/r/flask
https://redd.it/1m667rs
https://listacks.com
/r/flask
https://redd.it/1m667rs
Listacks
Home
Listacks helps you pack smarter with curated checklists for college, apartments, and travel.
Created a daily reflection journaling site based on my years in therapy
http://myinnerscope.com
/r/flask
https://redd.it/1m5syxi
http://myinnerscope.com
/r/flask
https://redd.it/1m5syxi
My Inner Scope
Daily Journaling & Self-Reflection App - Mindful Writing | My Inner Scope - My Inner Scope
Daily journaling app for self-reflection and mindful writing. Discover thought patterns, track personal growth, and develop self-awareness through daily diary entries.
Lumocards-One: Information System
Dear Pythonistas!
I'm releasing this prototype I made in Python called Lumocards-One.
It's a terminal application you can use to organize notes and projects and journal entries. See the YouTube video to get an idea of whether you could benefit from this. Happy programming all!
YouTube Preview of Lumocards-One
YouTube Installation and Features Video
Github Project, with install instructions
What My Project Does
It allows you to create and organize cards, create an agenda file for today, display your Google calendar, and manage Journal entries. Also includes a Pomodoro timer and search features.
Target Audience
It's meant for Open Source community and as a prototype all computer users who enjoy text-based applications.
Comparison
It's similar to other note taking apps, but it has more features and better animations than other programs I've seen/encountered.
/r/Python
https://redd.it/1m6yuj0
Dear Pythonistas!
I'm releasing this prototype I made in Python called Lumocards-One.
It's a terminal application you can use to organize notes and projects and journal entries. See the YouTube video to get an idea of whether you could benefit from this. Happy programming all!
YouTube Preview of Lumocards-One
YouTube Installation and Features Video
Github Project, with install instructions
What My Project Does
It allows you to create and organize cards, create an agenda file for today, display your Google calendar, and manage Journal entries. Also includes a Pomodoro timer and search features.
Target Audience
It's meant for Open Source community and as a prototype all computer users who enjoy text-based applications.
Comparison
It's similar to other note taking apps, but it has more features and better animations than other programs I've seen/encountered.
/r/Python
https://redd.it/1m6yuj0
YouTube
0042 – Lumocards-One: Preview
Lumocards-One preview of features to give users an idea of what it does.
Lo-fi, text-based software to organize information, projects, events, and journal entries.
Installation using README on Github: https://github.com/ariedallas/Lumocards-One/blob/main/README.md
Lo-fi, text-based software to organize information, projects, events, and journal entries.
Installation using README on Github: https://github.com/ariedallas/Lumocards-One/blob/main/README.md
Showcase Time tracker built with Python + CustomTkinter - lives in system tray & logs to Excel
What My Project Does
A simple time tracking app - no login, no installation, that helps to track time for a task and logs data to Excel. Handles pauses, multi day tasks, system freezes.
Target Audience
For developers, freelancers, students, and anyone who wants to track work without complex setups or distractions.
>Open-source and available here:
🔗 GitHub: a-k-14/time\_keeper
Key Features:
Lives in the system tray to keep your taskbar clean
Tracks task time and logs data to an Excel file
Works offline, very lightweight (\~41 MB)
No installation required
Why
I’m an Accountant by profession, but I’ve always had an interest in programming. I finally took the initiative to begin shifting toward the development/engineering side.
While trying to balance learning and work, I often wondered where my time was going and which tasks were worth continuing or delegating so that I can squeeze more time to learn. I looked for a simple time tracking app, but most were bloated or confusing.
So I built Time Keeper \- a minimal, no-fuss time tracker using Python and CustomTkinter.
Would love your feedback :)
/r/Python
https://redd.it/1m6fgwk
What My Project Does
A simple time tracking app - no login, no installation, that helps to track time for a task and logs data to Excel. Handles pauses, multi day tasks, system freezes.
Target Audience
For developers, freelancers, students, and anyone who wants to track work without complex setups or distractions.
>Open-source and available here:
🔗 GitHub: a-k-14/time\_keeper
Key Features:
Lives in the system tray to keep your taskbar clean
Tracks task time and logs data to an Excel file
Works offline, very lightweight (\~41 MB)
No installation required
Why
I’m an Accountant by profession, but I’ve always had an interest in programming. I finally took the initiative to begin shifting toward the development/engineering side.
While trying to balance learning and work, I often wondered where my time was going and which tasks were worth continuing or delegating so that I can squeeze more time to learn. I looked for a simple time tracking app, but most were bloated or confusing.
So I built Time Keeper \- a minimal, no-fuss time tracker using Python and CustomTkinter.
Would love your feedback :)
/r/Python
https://redd.it/1m6fgwk
GitHub
GitHub - a-k-14/time_keeper
Contribute to a-k-14/time_keeper development by creating an account on GitHub.
Django or Flash for backend
"I'm interested in using Python for backend development, and I’ve noticed that Django and Flask are the two most popular frameworks. For those who have worked with either (or both), what has your experience been like? Which one would you recommend and why?
/r/Python
https://redd.it/1m76i1b
"I'm interested in using Python for backend development, and I’ve noticed that Django and Flask are the two most popular frameworks. For those who have worked with either (or both), what has your experience been like? Which one would you recommend and why?
/r/Python
https://redd.it/1m76i1b
Reddit
From the Python community on Reddit: [ Removed by moderator ]
Posted by sajad-baster - 7 votes and 17 comments
Looking for a Django course that teaches like Tony Alicea teaches JavaScript (in-depth, from the ground up)
Hi everyone,
I'm currently learning React through Tony Alicea's JavaScript course, and I really love his teaching style. He doesn't just show you what to do — he explains why things work, diving into the inner workings of the language (execution context, closures, hoisting, call stack, etc.).
Now, I'm learning Django, and I'm trying to find a course that teaches it in that same deep, conceptual way — where you actually understand how Django works under the hood, not just how to build an app by following steps.
Here’s what I’m specifically looking for in a Django course:
Explains the architecture and internals of Django — request/response cycle, middleware, URL resolution, template engine, ORM mechanics, etc.
Helps you think like Django, not just use it
Covers Django REST Framework for building APIs (I plan to use React on the frontend)
Bonus: touches on auth, customization, and possibly deployment
What I’ve tried so far:
Corey Schafer’s YouTube tutorials – Solid explanations and pacing, but the series feels incomplete and stops short of advanced topics.
Jose Salvatierra’s Django Bootcamp (Udemy) – Good if you want to learn how to use Django, but doesn’t go into how Django works internally or why it’s built that way.
JustDjango Pro – Haven’t tried yet; looks promising
/r/django
https://redd.it/1m6y03l
Hi everyone,
I'm currently learning React through Tony Alicea's JavaScript course, and I really love his teaching style. He doesn't just show you what to do — he explains why things work, diving into the inner workings of the language (execution context, closures, hoisting, call stack, etc.).
Now, I'm learning Django, and I'm trying to find a course that teaches it in that same deep, conceptual way — where you actually understand how Django works under the hood, not just how to build an app by following steps.
Here’s what I’m specifically looking for in a Django course:
Explains the architecture and internals of Django — request/response cycle, middleware, URL resolution, template engine, ORM mechanics, etc.
Helps you think like Django, not just use it
Covers Django REST Framework for building APIs (I plan to use React on the frontend)
Bonus: touches on auth, customization, and possibly deployment
What I’ve tried so far:
Corey Schafer’s YouTube tutorials – Solid explanations and pacing, but the series feels incomplete and stops short of advanced topics.
Jose Salvatierra’s Django Bootcamp (Udemy) – Good if you want to learn how to use Django, but doesn’t go into how Django works internally or why it’s built that way.
JustDjango Pro – Haven’t tried yet; looks promising
/r/django
https://redd.it/1m6y03l
Reddit
From the django community on Reddit
Explore this post and more from the django community
How do you work with 3rd party django apps?
While it is a great oppurtunity to use one of the many availbale 3rd part django apps, there obviously potential pitfails in using them.
For example, I'm currently thinking about to integrate django-cryptography, but it's last significant contributions are around 2 years ago with 4 contributors stated in the repo. I would say there is potential security/compatibility risk - if not now, then in the future - especially in such topics as cryptography.
How do you handle the integration of external django apps? On which parameters and attributes of an app do you look? What are cutoffs you use to decide against an external app?
/r/django
https://redd.it/1m754ty
While it is a great oppurtunity to use one of the many availbale 3rd part django apps, there obviously potential pitfails in using them.
For example, I'm currently thinking about to integrate django-cryptography, but it's last significant contributions are around 2 years ago with 4 contributors stated in the repo. I would say there is potential security/compatibility risk - if not now, then in the future - especially in such topics as cryptography.
How do you handle the integration of external django apps? On which parameters and attributes of an app do you look? What are cutoffs you use to decide against an external app?
/r/django
https://redd.it/1m754ty
GitHub
GitHub - georgemarshall/django-cryptography: Easily encrypt data in Django
Easily encrypt data in Django. Contribute to georgemarshall/django-cryptography development by creating an account on GitHub.
Issues with collectstatic when moving to an external storage
I am moving to external storage (Blackblaze B2 Cloud which is compatible with Amazon S3).
It should have been very simple, but even though Blackblaze settings were correct and testing of uploading files were successful) - collectstatic have the static files copied to the local folder and not to the external storage.
I spent many hours with ChatGPT and at the end the solution was:
1. To create a custom storage backend which will override the django storage
2. To put the calls for it at the end settings.py
Now it works fine, but it doesn't seem like a very elegant nor straight forward solution.
Did anyone experience similar issues and find a better solution?
Thanks
/r/django
https://redd.it/1m770wm
I am moving to external storage (Blackblaze B2 Cloud which is compatible with Amazon S3).
It should have been very simple, but even though Blackblaze settings were correct and testing of uploading files were successful) - collectstatic have the static files copied to the local folder and not to the external storage.
I spent many hours with ChatGPT and at the end the solution was:
1. To create a custom storage backend which will override the django storage
2. To put the calls for it at the end settings.py
Now it works fine, but it doesn't seem like a very elegant nor straight forward solution.
Did anyone experience similar issues and find a better solution?
Thanks
/r/django
https://redd.it/1m770wm
Reddit
From the django community on Reddit
Explore this post and more from the django community
Celery Beat stops sending tasks after 2 successful runs
I’m running Celery Beat in Docker with a Django app. I redeploy everything with:
Celery Beat starts fine. I have an hourly task (dashboard-hourly) scheduled. It runs at, say, 17:00 and 18:00, and I see the expected logs like:
But after that, nothing. No more task sent at 19:00, and not even the usual "beat: Waking up in ..." messages in the logs. It just goes silent. The container is still "Up" and doesn't crash, but it's like the Beat loop is frozen.
I already tried:
Setting
Running with
Logs confirm that Beat is waking up every 30s... until it stops
Anyone run into this ? Any ideas why Beat would silently freeze after a few successful runs ?
/r/django
https://redd.it/1m7ilos
I’m running Celery Beat in Docker with a Django app. I redeploy everything with:
docker compose -f docker/docker-compose.yml up -d --buildCelery Beat starts fine. I have an hourly task (dashboard-hourly) scheduled. It runs at, say, 17:00 and 18:00, and I see the expected logs like:
Scheduler: Sending due task dashboard-hourly (dashboard-hourly)dashboard-hourly sent. id->...But after that, nothing. No more task sent at 19:00, and not even the usual "beat: Waking up in ..." messages in the logs. It just goes silent. The container is still "Up" and doesn't crash, but it's like the Beat loop is frozen.
I already tried:
Setting
--max-interval=30Running with
--loglevel=debugLogs confirm that Beat is waking up every 30s... until it stops
Anyone run into this ? Any ideas why Beat would silently freeze after a few successful runs ?
/r/django
https://redd.it/1m7ilos
Reddit
From the django community on Reddit
Explore this post and more from the django community
Built a simple license API for software protection - would love feedback/contributions!
Hey everyone! 👋
I've been working on a lightweight license management API and thought the community might find it useful.
What My Project Does: This is a FastAPI-based license management system that provides:
License key generation and validation via REST API
User registration and authentication
Hardware ID binding for additional security
Admin dashboard for license management
Target Audience: This is aimed at indie developers and small teams who need basic software protection without the complexity or cost of enterprise solutions. It's production-ready for small to medium scale applications, though it could benefit from additional features and testing for larger deployments.
Comparison: Unlike commercial services like Keygen, Paddle, or Gumroad's licensing:
Self-hosted \- you control your data and don't pay per license
Lightweight \- minimal dependencies, easy to deploy
Simple \- no complex subscription models or advanced analytics
Free \- open source alternative to paid services
However, it lacks the advanced features of commercial solutions (detailed analytics, payment integration, advanced security).
GitHub: https://github.com/awalki/license\_api
Still in early stages, so would really appreciate any feedback, contributions, or suggestions! Whether it's code review, feature requests, or pointing out security issues I missed 😅
Thanks for checking it out!
/r/Python
https://redd.it/1m7cib1
Hey everyone! 👋
I've been working on a lightweight license management API and thought the community might find it useful.
What My Project Does: This is a FastAPI-based license management system that provides:
License key generation and validation via REST API
User registration and authentication
Hardware ID binding for additional security
Admin dashboard for license management
Target Audience: This is aimed at indie developers and small teams who need basic software protection without the complexity or cost of enterprise solutions. It's production-ready for small to medium scale applications, though it could benefit from additional features and testing for larger deployments.
Comparison: Unlike commercial services like Keygen, Paddle, or Gumroad's licensing:
Self-hosted \- you control your data and don't pay per license
Lightweight \- minimal dependencies, easy to deploy
Simple \- no complex subscription models or advanced analytics
Free \- open source alternative to paid services
However, it lacks the advanced features of commercial solutions (detailed analytics, payment integration, advanced security).
GitHub: https://github.com/awalki/license\_api
Still in early stages, so would really appreciate any feedback, contributions, or suggestions! Whether it's code review, feature requests, or pointing out security issues I missed 😅
Thanks for checking it out!
/r/Python
https://redd.it/1m7cib1
GitHub
GitHub - awalki/license_api: License API written in FastAPI & SQLModel & aiogram
License API written in FastAPI & SQLModel & aiogram - awalki/license_api
D - NeurIPS'2025 Reviews
Hey everyone,
NeurIPS 2025 reviews should be dropping soon (July 24th AoE), and I thought it might be a good idea to start a thread where we can share our thoughts, experiences, and reactions.
Feel free to post your initial impressions, any surprises (good or bad), questions about rebuttals, or just how you’re feeling about the process this year. Whether it’s your first submission or your tenth, you’re not alone in the rollercoaster.
Let’s keep things constructive and supportive. Good luck to all!
/r/MachineLearning
https://redd.it/1m74ugv
Hey everyone,
NeurIPS 2025 reviews should be dropping soon (July 24th AoE), and I thought it might be a good idea to start a thread where we can share our thoughts, experiences, and reactions.
Feel free to post your initial impressions, any surprises (good or bad), questions about rebuttals, or just how you’re feeling about the process this year. Whether it’s your first submission or your tenth, you’re not alone in the rollercoaster.
Let’s keep things constructive and supportive. Good luck to all!
/r/MachineLearning
https://redd.it/1m74ugv
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Thursday Daily Thread: Python Careers, Courses, and Furthering Education!
# Weekly Thread: Professional Use, Jobs, and Education 🏢
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! 🌟
/r/Python
https://redd.it/1m7pfb4
# Weekly Thread: Professional Use, Jobs, and Education 🏢
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! 🌟
/r/Python
https://redd.it/1m7pfb4
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
The Serial Scaling Hypothesis
https://arxiv.org/abs/2507.12549
/r/MachineLearning
https://redd.it/1m7jl5m
https://arxiv.org/abs/2507.12549
/r/MachineLearning
https://redd.it/1m7jl5m
arXiv.org
The Serial Scaling Hypothesis
While machine learning has advanced through massive parallelization, we identify a critical blind spot: some problems are fundamentally sequential. These "inherently serial" problems-from...
Efficient Method to handle soft delete
Hi,
Soft delete = setting is_active equal to false, instead of actually deleting the object.
In almost every model that we create we put is_active or is_deleted Boolean field.
Now as there complexity of the project increases, it gets really difficult to handle this in every view.
Specially when quering related objects sometimes we forget to handle is_active and we end up sending data which shouldn't be sent.
Sometimes we need to restore the deleted thing as well.
How to handle on_delete thing in this situation for related models.
Is there any way this can be gracefully handled like using some kind of middleware.
/r/django
https://redd.it/1m7u1o3
Hi,
Soft delete = setting is_active equal to false, instead of actually deleting the object.
In almost every model that we create we put is_active or is_deleted Boolean field.
Now as there complexity of the project increases, it gets really difficult to handle this in every view.
Specially when quering related objects sometimes we forget to handle is_active and we end up sending data which shouldn't be sent.
Sometimes we need to restore the deleted thing as well.
How to handle on_delete thing in this situation for related models.
Is there any way this can be gracefully handled like using some kind of middleware.
/r/django
https://redd.it/1m7u1o3
Reddit
From the django community on Reddit
Explore this post and more from the django community
Microsoft Defender Flagging uvx as Suspicious on Work PC
Hey folks,
I’ve been working on a project where I use uvx to launch scripts, both for MCP server execution and basic CLI usage. Everything runs smoothly on my personal machine, but I’ve hit a snag on my work computer.
Microsoft Defender is flagging any uvx command as a suspicious app, with a message warning that the program is new/recent which is blocking me from running these scripts altogether - even ones I know are safe and part of my own codebase.
Has anyone run into this before? Are there any sane workarounds on my end (e.g., whitelisting the binary locally, code signing, etc.), or am I doomed unless Defender eventually “learns” to trust uvx?
I know in the end it is limited by company policies but just wondering if there's something that I can try to circumvent it.
Any advice would be hugely appreciated. Thanks!
Project link for reference
/r/Python
https://redd.it/1m7hypm
Hey folks,
I’ve been working on a project where I use uvx to launch scripts, both for MCP server execution and basic CLI usage. Everything runs smoothly on my personal machine, but I’ve hit a snag on my work computer.
Microsoft Defender is flagging any uvx command as a suspicious app, with a message warning that the program is new/recent which is blocking me from running these scripts altogether - even ones I know are safe and part of my own codebase.
Has anyone run into this before? Are there any sane workarounds on my end (e.g., whitelisting the binary locally, code signing, etc.), or am I doomed unless Defender eventually “learns” to trust uvx?
I know in the end it is limited by company policies but just wondering if there's something that I can try to circumvent it.
Any advice would be hugely appreciated. Thanks!
Project link for reference
/r/Python
https://redd.it/1m7hypm
GitHub
GitHub - BrunoV21/CodeTide: Like a tide, your codebase evolves - and CodeTide helps you move with it, intelligently.
Like a tide, your codebase evolves - and CodeTide helps you move with it, intelligently. - BrunoV21/CodeTide
Scalar product with lists as coordinates
Hello guys,
I have quite theoretical question. I have an exercise to make scalar product out of:
a = [(1, 2), (3, 4), (5, 6)]
b = [(7, 8), (9, 10), (11, 12)]
So from my perspective that would be:
`def scalar_product(x, y):`
`return [sum(sum(i * j for i, j in zip(m, n)) for m, n in zip(x, y))]`
But i am curious, does things like that happen in real programming? Or should i present it as:
def scalar_product(x, y):
return [sum(i * j for i, j in zip(m, n)) for m, n in zip(x, y)]?
/r/Python
https://redd.it/1m7zw86
Hello guys,
I have quite theoretical question. I have an exercise to make scalar product out of:
a = [(1, 2), (3, 4), (5, 6)]
b = [(7, 8), (9, 10), (11, 12)]
So from my perspective that would be:
`def scalar_product(x, y):`
`return [sum(sum(i * j for i, j in zip(m, n)) for m, n in zip(x, y))]`
But i am curious, does things like that happen in real programming? Or should i present it as:
def scalar_product(x, y):
return [sum(i * j for i, j in zip(m, n)) for m, n in zip(x, y)]?
/r/Python
https://redd.it/1m7zw86
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Does it have a name? Weird spiral shape I made with the turtle module in Python
Hi, I accidentally made this geometric shape in Python and it looked really familiar, so I was wondering if it had a name or something
Thx :-)
Source code: https://pastebin.com/8T6tKEGK
The shape: https://imgur.com/a/1cmgWYt
/r/Python
https://redd.it/1m81n93
Hi, I accidentally made this geometric shape in Python and it looked really familiar, so I was wondering if it had a name or something
Thx :-)
Source code: https://pastebin.com/8T6tKEGK
The shape: https://imgur.com/a/1cmgWYt
/r/Python
https://redd.it/1m81n93
Pastebin
spiral_thing - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Flask-Nova: A New Flask Extension for Zero-Boilerplate APIs with Auto Docs & Type Safety
Hey r/flask,
As much as we love Flask for its simplicity and flexibility, let's be real: building modern APIs with authentication, validation, and proper documentation can become a repetitive grind. I kept finding myself writing the same boilerplate code project after project.
That's why I'm excited to share **Flask-Nova** – a new extension for Flask designed to drastically accelerate API development!
# What is Flask-Nova?
Flask-Nova is a modern extension that helps you build APIs faster by baking in essential features like:
Automatic OpenAPI/Swagger docs (`/docs`): Get interactive API documentation with zero extra effort. No more hand-written docs.
Type-safe input models: Define your request data using Pydantic-style models, ensuring automatic validation and cleaner code.
Decorator-based routing: Define your API endpoints with simple, elegant decorators – say goodbye to verbose boilerplate.
Built-in HTTPException: Handle API errors cleanly and consistently with semantic HTTP status codes.
Status helpers: Use intuitive constants like `status.CREATED`, `status.BAD_REQUEST`, etc.
Extensible and Pythonic design: Built with Flask developers in mind, it feels natural and easy to extend.
Compatible with native Flask: Seamlessly integrates into your existing Flask applications.
# Why should you check it
/r/flask
https://redd.it/1m81swl
Hey r/flask,
As much as we love Flask for its simplicity and flexibility, let's be real: building modern APIs with authentication, validation, and proper documentation can become a repetitive grind. I kept finding myself writing the same boilerplate code project after project.
That's why I'm excited to share **Flask-Nova** – a new extension for Flask designed to drastically accelerate API development!
# What is Flask-Nova?
Flask-Nova is a modern extension that helps you build APIs faster by baking in essential features like:
Automatic OpenAPI/Swagger docs (`/docs`): Get interactive API documentation with zero extra effort. No more hand-written docs.
Type-safe input models: Define your request data using Pydantic-style models, ensuring automatic validation and cleaner code.
Decorator-based routing: Define your API endpoints with simple, elegant decorators – say goodbye to verbose boilerplate.
Built-in HTTPException: Handle API errors cleanly and consistently with semantic HTTP status codes.
Status helpers: Use intuitive constants like `status.CREATED`, `status.BAD_REQUEST`, etc.
Depend() for Dependency Injection: Write cleaner, more modular, and testable code by easily injecting dependencies into your route handlers.Extensible and Pythonic design: Built with Flask developers in mind, it feels natural and easy to extend.
Compatible with native Flask: Seamlessly integrates into your existing Flask applications.
# Why should you check it
/r/flask
https://redd.it/1m81swl
GitHub
GitHub - manitreasure1/flasknova: Modern Flask API framework with FastAPI-style routing, validation, OpenAPI docs, and plug-and…
Modern Flask API framework with FastAPI-style routing, validation, OpenAPI docs, and plug-and-play auth. - manitreasure1/flasknova