Learning Machine Learning and Data Science? Let’s Learn Together!
I’m currently diving into the exciting world of machine learning and data science. If you’re someone who’s also learning or interested in starting, let’s team up!
We can:
Share resources and tips
Work on projects together
Help each other with challenges
Doesn’t matter if you’re a complete beginner or already have some experience. Let’s make this journey more fun and collaborative. Drop a comment or DM me if you’re in!
/r/Python
https://redd.it/1kr8cvg
I’m currently diving into the exciting world of machine learning and data science. If you’re someone who’s also learning or interested in starting, let’s team up!
We can:
Share resources and tips
Work on projects together
Help each other with challenges
Doesn’t matter if you’re a complete beginner or already have some experience. Let’s make this journey more fun and collaborative. Drop a comment or DM me if you’re in!
/r/Python
https://redd.it/1kr8cvg
Reddit
From the Python community on Reddit: Learning Machine Learning and Data Science? Let’s Learn Together!
Posted by Rockykumarmahato - 29 votes and 13 comments
Updated from 3.x to 5.2, now I'm getting "Obj matching query does not exist"
I'm using Django in a non-Django project purely to make my unit tests easier. I've defined all my models like this:
class Bar(models.Model):
internaltype = models.TextField(...)
...
class Meta:
managed = False
dbtable = 'myschema\".\"bar'
class Foo(models.Model):
...
bar = models.ForeignKey('Bar', models.DONOTHING, dbcolumn='bar', blank=True, null=True)
class Meta:
managed = False
dbtable = 'myschema\".\"foo'
This looks funky, but it was working perfectly fine on Django 3.2. It allowed me to write tests like this:
def testfoo(self):
/r/django
https://redd.it/1krjrck
I'm using Django in a non-Django project purely to make my unit tests easier. I've defined all my models like this:
class Bar(models.Model):
internaltype = models.TextField(...)
...
class Meta:
managed = False
dbtable = 'myschema\".\"bar'
class Foo(models.Model):
...
bar = models.ForeignKey('Bar', models.DONOTHING, dbcolumn='bar', blank=True, null=True)
class Meta:
managed = False
dbtable = 'myschema\".\"foo'
This looks funky, but it was working perfectly fine on Django 3.2. It allowed me to write tests like this:
def testfoo(self):
/r/django
https://redd.it/1krjrck
Reddit
From the django community on Reddit
Explore this post and more from the django community
Speeding up testing with cursor
I have been building in django since before cursor / co-pilot days. The speed I can now develop and deploy is insane compared to the "old" days. The only area that still feels slow and clunky is writing test scripts. Even when I write really long contexts and attach endless files, the output is pretty crap. What am I missing? All tips and tricks much appreciated
/r/django
https://redd.it/1krajqu
I have been building in django since before cursor / co-pilot days. The speed I can now develop and deploy is insane compared to the "old" days. The only area that still feels slow and clunky is writing test scripts. Even when I write really long contexts and attach endless files, the output is pretty crap. What am I missing? All tips and tricks much appreciated
/r/django
https://redd.it/1krajqu
Reddit
From the django community on Reddit
Explore this post and more from the django community
I'm Building With Flask. It's Pretty Good.
I just wanted to share my experience building with Flask. I only remember using it from tutorials at my High School, so I only knew the basics of what it did.
Now a few years into college with a plan to freelance. I wanted to make a simple app that would help me get potential clients because I thought it would be fun to develop and I was too lazy to go through the process of finding clients. I usually use django in these projects, but I figured it would be much simpler developing with Flask and I gave it a try.
It turns out it was much easier than I thought. While things aren't as straightforward with django, implementing things felt much more simple. I'm almost done with my app, but I'm likely going to add more features to it as I develop it.
TLDR ; Made project with Flask, Flask cool, Flask simple
/r/flask
https://redd.it/1kr84wc
I just wanted to share my experience building with Flask. I only remember using it from tutorials at my High School, so I only knew the basics of what it did.
Now a few years into college with a plan to freelance. I wanted to make a simple app that would help me get potential clients because I thought it would be fun to develop and I was too lazy to go through the process of finding clients. I usually use django in these projects, but I figured it would be much simpler developing with Flask and I gave it a try.
It turns out it was much easier than I thought. While things aren't as straightforward with django, implementing things felt much more simple. I'm almost done with my app, but I'm likely going to add more features to it as I develop it.
TLDR ; Made project with Flask, Flask cool, Flask simple
/r/flask
https://redd.it/1kr84wc
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Dynamic Forms builder for admins
Hi! It's my first time developing a personal project using Flask and MySQL to manage medical records for patients, and I'm using HTML, CSS with Bootstrap for the frontend. Here's what I thought:
* An administrator creates dynamic forms with custom fields and makes them available to the doctors. Then, the doctors can use these forms for their patients in the future. For example: Create a new form → question 1 title → type of answer (number, text, date, etc.) → add as many questions as needed → save the form → it becomes available for doctors to use.
* Doctors will be able to select which form to use for each patient.
* When a patient returns, doctors should be able to **edit** the records associated with that form.
I already have the database tables (I can share them if that helps you understand the structure).
I’ve seen some React projects that look interesting, but I’ve never used React before. That’s why I’d prefer to stick with Flask if it’s the best option for now.
What do you recommend? Is there a plugin for Flask or another technology I should consider?
Thank you!
/r/flask
https://redd.it/1kr3kze
Hi! It's my first time developing a personal project using Flask and MySQL to manage medical records for patients, and I'm using HTML, CSS with Bootstrap for the frontend. Here's what I thought:
* An administrator creates dynamic forms with custom fields and makes them available to the doctors. Then, the doctors can use these forms for their patients in the future. For example: Create a new form → question 1 title → type of answer (number, text, date, etc.) → add as many questions as needed → save the form → it becomes available for doctors to use.
* Doctors will be able to select which form to use for each patient.
* When a patient returns, doctors should be able to **edit** the records associated with that form.
I already have the database tables (I can share them if that helps you understand the structure).
I’ve seen some React projects that look interesting, but I’ve never used React before. That’s why I’d prefer to stick with Flask if it’s the best option for now.
What do you recommend? Is there a plugin for Flask or another technology I should consider?
Thank you!
/r/flask
https://redd.it/1kr3kze
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Wednesday Daily Thread: Beginner questions
# Weekly Thread: Beginner Questions 🐍
Welcome to our Beginner Questions thread! Whether you're new to Python or just looking to clarify some basics, this is the thread for you.
## How it Works:
1. Ask Anything: Feel free to ask any Python-related question. There are no bad questions here!
2. Community Support: Get answers and advice from the community.
3. Resource Sharing: Discover tutorials, articles, and beginner-friendly resources.
## Guidelines:
This thread is specifically for beginner questions. For more advanced queries, check out our [Advanced Questions Thread](#advanced-questions-thread-link).
## Recommended Resources:
If you don't receive a response, consider exploring r/LearnPython or join the Python Discord Server for quicker assistance.
## Example Questions:
1. What is the difference between a list and a tuple?
2. How do I read a CSV file in Python?
3. What are Python decorators and how do I use them?
4. How do I install a Python package using pip?
5. What is a virtual environment and why should I use one?
Let's help each other learn Python! 🌟
/r/Python
https://redd.it/1krk3ef
# Weekly Thread: Beginner Questions 🐍
Welcome to our Beginner Questions thread! Whether you're new to Python or just looking to clarify some basics, this is the thread for you.
## How it Works:
1. Ask Anything: Feel free to ask any Python-related question. There are no bad questions here!
2. Community Support: Get answers and advice from the community.
3. Resource Sharing: Discover tutorials, articles, and beginner-friendly resources.
## Guidelines:
This thread is specifically for beginner questions. For more advanced queries, check out our [Advanced Questions Thread](#advanced-questions-thread-link).
## Recommended Resources:
If you don't receive a response, consider exploring r/LearnPython or join the Python Discord Server for quicker assistance.
## Example Questions:
1. What is the difference between a list and a tuple?
2. How do I read a CSV file in Python?
3. What are Python decorators and how do I use them?
4. How do I install a Python package using pip?
5. What is a virtual environment and why should I use one?
Let's help each other learn Python! 🌟
/r/Python
https://redd.it/1krk3ef
Discord
Join the Python Discord Server!
We're a large community focused around the Python programming language. We believe that anyone can learn to code. | 412982 members
Why even use Flask when FastAPI exists?
Why still use Flask when FastAPI can do everything Flask does and more with less effort?
FastAPI gives you modern Python features by default: async support without hacks, automatic request validation using type hints, and OpenAPI documentation generated instantly. You don’t need to reach for third-party libraries to get input validation, serialization, or proper HTTP error handling they're first-class citizens. You get data parsing, input constraints, and clear API contracts with almost no boilerplate.
Flask, on the other hand, makes you build all of that yourself. It’s flexible, yes, but that flexibility often means reinventing wheels that FastAPI gives you for free. Want JSON schema validation in Flask? You choose and integrate a library. Want async? Be careful Flask's async support is still evolving and lacks the maturity of FastAPI’s. Want type safety and editor support? Good luck.
So for new projects, what’s the argument in favor of Flask? Legacy familiarity? A massive plugin ecosystem that you now have to glue together yourself? Isn’t it time we stop treating Flask’s simplicity as a strength when it just leads to more work?
If you’re still choosing Flask in 2025, what’s the compelling reason? What does it actually do better?
/r/flask
https://redd.it/1kr317a
Why still use Flask when FastAPI can do everything Flask does and more with less effort?
FastAPI gives you modern Python features by default: async support without hacks, automatic request validation using type hints, and OpenAPI documentation generated instantly. You don’t need to reach for third-party libraries to get input validation, serialization, or proper HTTP error handling they're first-class citizens. You get data parsing, input constraints, and clear API contracts with almost no boilerplate.
Flask, on the other hand, makes you build all of that yourself. It’s flexible, yes, but that flexibility often means reinventing wheels that FastAPI gives you for free. Want JSON schema validation in Flask? You choose and integrate a library. Want async? Be careful Flask's async support is still evolving and lacks the maturity of FastAPI’s. Want type safety and editor support? Good luck.
So for new projects, what’s the argument in favor of Flask? Legacy familiarity? A massive plugin ecosystem that you now have to glue together yourself? Isn’t it time we stop treating Flask’s simplicity as a strength when it just leads to more work?
If you’re still choosing Flask in 2025, what’s the compelling reason? What does it actually do better?
/r/flask
https://redd.it/1kr317a
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Modern Python Boilerplate - good package basic structure
*TL;DR: Python Boilerplate repo for fast package building with all best practices*
Hello,
I wanted to share a small repository I made named “Modern Python Boilerplate”. I created it because I saw in multiple projects including in professional environnement, the lack of good structure and practice, leading to ugly code or even non-functional, environnement mess…
* **What My Project Does**
The goal is to provide a python repository setup that provides all the best good-practices tool available and pre-configure them. It makes it easy to build and publish python package !
**The link is here** [**https://github.com/lambda-science/modern-python-boilerplate**](https://github.com/lambda-science/modern-python-boilerplate)
* **Comparison** (A brief comparison explaining how it differs from existing alternatives.)
It include modern python management (structure, packaging, version and deps w/ UV), modern CI (listing, formatting, type checking, testing, coverage, pre-commit hooks w/ Ruff/Ty), documentation (automatic API Reference building and publishing on Github/Gitlab w/ Mkdocs) and running (basic Dockerfile, Makefile, DevContainer tested on Pycharm, module running as a terminal command…)
* **Target Audience** (e.g., Is it meant for production, just a toy project, etc.)
Anyone building anything in Python that is starting a new project or try to modernize an existing one
Don’t hesitate to share feedback or comments on this, what could be improved.
I heard for example that some people
/r/Python
https://redd.it/1krsxut
*TL;DR: Python Boilerplate repo for fast package building with all best practices*
Hello,
I wanted to share a small repository I made named “Modern Python Boilerplate”. I created it because I saw in multiple projects including in professional environnement, the lack of good structure and practice, leading to ugly code or even non-functional, environnement mess…
* **What My Project Does**
The goal is to provide a python repository setup that provides all the best good-practices tool available and pre-configure them. It makes it easy to build and publish python package !
**The link is here** [**https://github.com/lambda-science/modern-python-boilerplate**](https://github.com/lambda-science/modern-python-boilerplate)
* **Comparison** (A brief comparison explaining how it differs from existing alternatives.)
It include modern python management (structure, packaging, version and deps w/ UV), modern CI (listing, formatting, type checking, testing, coverage, pre-commit hooks w/ Ruff/Ty), documentation (automatic API Reference building and publishing on Github/Gitlab w/ Mkdocs) and running (basic Dockerfile, Makefile, DevContainer tested on Pycharm, module running as a terminal command…)
* **Target Audience** (e.g., Is it meant for production, just a toy project, etc.)
Anyone building anything in Python that is starting a new project or try to modernize an existing one
Don’t hesitate to share feedback or comments on this, what could be improved.
I heard for example that some people
/r/Python
https://redd.it/1krsxut
Meet OctaProbe - Yet another security assessment tool
Hey guys, I made this tool for my final year computer science project!
Built entirely using Python, and Streamlit
What My Project Does:
Enables even a layman to use advanced security toolset, like generating file checksums, verifying file integrity, chat with a tailored AI assistant, interact with external APIs, perform security scanning on networked devices, etc.
Target Audience:
Designed for students, computer security enthusiasts and cybersecurity analysts
Check out the presentation on Youtube: https://youtu.be/r6W2UaIsYzw?si=EzCQ3B71sSZpZT14
Link to source: https://github.com/NONAN23x/Octaprobe.git
Try out the demo app: https://octaprobe.streamlit.app/
/r/Python
https://redd.it/1ks0gs4
Hey guys, I made this tool for my final year computer science project!
Built entirely using Python, and Streamlit
What My Project Does:
Enables even a layman to use advanced security toolset, like generating file checksums, verifying file integrity, chat with a tailored AI assistant, interact with external APIs, perform security scanning on networked devices, etc.
Target Audience:
Designed for students, computer security enthusiasts and cybersecurity analysts
Check out the presentation on Youtube: https://youtu.be/r6W2UaIsYzw?si=EzCQ3B71sSZpZT14
Link to source: https://github.com/NONAN23x/Octaprobe.git
Try out the demo app: https://octaprobe.streamlit.app/
/r/Python
https://redd.it/1ks0gs4
YouTube
OctaProbe Cinematic Trailer
Divide, Secure, Conquer | Meet OctaProbe
Yet Another Security Assessment Tool.
GitHub: https://github.com/NONAN23x/Octaprobe
This video demonstrates and presents some of the capabilities of the tool: OctaProbe.
Octaprobe is your go-to security assessment…
Yet Another Security Assessment Tool.
GitHub: https://github.com/NONAN23x/Octaprobe
This video demonstrates and presents some of the capabilities of the tool: OctaProbe.
Octaprobe is your go-to security assessment…
JupyterLab 4.4 and Notebook 7.4 are available!
https://blog.jupyter.org/jupyterlab-4-4-and-notebook-7-4-are-available-aca2782d4f3d
/r/IPython
https://redd.it/1ks16zy
https://blog.jupyter.org/jupyterlab-4-4-and-notebook-7-4-are-available-aca2782d4f3d
/r/IPython
https://redd.it/1ks16zy
Medium
JupyterLab 4.4 and Notebook 7.4 are available!
JupyterLab 4.4 has been released! This new minor release of JupyterLab includes many new features and bug fixes.
Django Admin/YouNameIt for frontend development?
Hi all,
As sysadmin and freelancer I am trying to find something that makes my life easier in the development of applications while having a nice look and feel for the application's frontend but also flexible to fullfill any project requirement.
Despite I know angular, I want to keep myself as far as possible from any "pure frontend framework" (react, angular, svelte, vue, etc).
I had a look to django unfold, jazzmin, jet, grapelly, adminlte, and some others but even when they usually fit most of the standard application usages, seems there is a consensous that use them as the frontend of your applications a very bad idea (eventhough I am using carefully the standard user/group/perms to restrict usage).
There is anything out there like those admin/templates that can be used confidently as a framework for my applications and help me improve my delivery times?
As an extra I would like to understand what are those good reasons why them are not recommended for frontend usage.
/r/django
https://redd.it/1ks1skr
Hi all,
As sysadmin and freelancer I am trying to find something that makes my life easier in the development of applications while having a nice look and feel for the application's frontend but also flexible to fullfill any project requirement.
Despite I know angular, I want to keep myself as far as possible from any "pure frontend framework" (react, angular, svelte, vue, etc).
I had a look to django unfold, jazzmin, jet, grapelly, adminlte, and some others but even when they usually fit most of the standard application usages, seems there is a consensous that use them as the frontend of your applications a very bad idea (eventhough I am using carefully the standard user/group/perms to restrict usage).
There is anything out there like those admin/templates that can be used confidently as a framework for my applications and help me improve my delivery times?
As an extra I would like to understand what are those good reasons why them are not recommended for frontend usage.
/r/django
https://redd.it/1ks1skr
Reddit
From the django community on Reddit
Explore this post and more from the django community
Just launched Davia — like Lovable, but wired straight into your Python FastAPI backend
Hello,
I wanted to share a project I've working on that's called davia ai. I created it because I build all kinds of things with Python : functions, algorithms, bits of logic that do something useful. But then comes the hard part as a Python dev: letting other people actually use them - creating a frontend.
* **What My Project Does**
davia empowers developers to transform their Python applications—especially AI agents and internal tools—into interactive web apps with a dev mode on your local machine made for Python folks like us. The package integrates seamlessly with FastAPI, so all your existing endpoints, middleware, and practices still apply.
**The link is here** [https://github.com/davialabs/davia](https://github.com/davialabs/davia)
* **Comparison** (A brief comparison explaining how it differs from existing alternatives.)
**Streamlit / Gradio:** Great for quick ML demos but limited in flexibility—Davia gives you real FastAPI power with just as much ease.
**Flask / Django:** Powerful but heavy; Davia offers a lighter, faster path from Python script to full app without boilerplate.
* **Target Audience** (e.g., Is it meant for production, just a toy project, etc.)
Anyone building in Python that wants to create an appealing frontend.
Would love your feedbacks or comments on this, what could be improved.
Best,
/r/Python
https://redd.it/1ks1gck
Hello,
I wanted to share a project I've working on that's called davia ai. I created it because I build all kinds of things with Python : functions, algorithms, bits of logic that do something useful. But then comes the hard part as a Python dev: letting other people actually use them - creating a frontend.
* **What My Project Does**
davia empowers developers to transform their Python applications—especially AI agents and internal tools—into interactive web apps with a dev mode on your local machine made for Python folks like us. The package integrates seamlessly with FastAPI, so all your existing endpoints, middleware, and practices still apply.
**The link is here** [https://github.com/davialabs/davia](https://github.com/davialabs/davia)
* **Comparison** (A brief comparison explaining how it differs from existing alternatives.)
**Streamlit / Gradio:** Great for quick ML demos but limited in flexibility—Davia gives you real FastAPI power with just as much ease.
**Flask / Django:** Powerful but heavy; Davia offers a lighter, faster path from Python script to full app without boilerplate.
* **Target Audience** (e.g., Is it meant for production, just a toy project, etc.)
Anyone building in Python that wants to create an appealing frontend.
Would love your feedbacks or comments on this, what could be improved.
Best,
/r/Python
https://redd.it/1ks1gck
GitHub
GitHub - davialabs/davia: Interactive, editable docs designed for coding agents
Interactive, editable docs designed for coding agents - davialabs/davia
I published my first official Python package RIDE-CLI that lets you analyze your CSV in the terminal
Hey everyone,
Recently, I published my first-ever Python package, and it's open source. It's called
### What my project does
- Menu Driven Interactive Interface: User-friendly terminal interface for data analysis
- Data Loading: Support for CSV, Excel, and Parquet files
- Data Exploration: Comprehensive statistical analysis and visualization
- Data Preprocessing: Missing value imputation, feature scaling, encoding
- AutoML: Automatic model selection and evaluation
- Visualization: Terminal-based histogram and scatter plots
- Export Options: Save processed data in multiple formats
### Why Did I create it?
In 2023, I took a statistical investigation class in my university and part of the course was to test multiple CSV files to basic info such as metadata, Descriptive stats, Summary stats, and perform Data Preprocessing for further analysis. I was tired of writing redundant code that's when I decided to write the code where I can just plug the csv files and get all the info displayed directly to me from the terminal. Suddenly most of my classmates wanted to use the same code. That's when I decided to write a package where I can use terminal flags to interact with the
/r/Python
https://redd.it/1kri32f
Hey everyone,
Recently, I published my first-ever Python package, and it's open source. It's called
ride-cli - command-line tool for data analysis that lets you perform data preprocessing, exploration, and machine learning without writing any code.### What my project does
- Menu Driven Interactive Interface: User-friendly terminal interface for data analysis
- Data Loading: Support for CSV, Excel, and Parquet files
- Data Exploration: Comprehensive statistical analysis and visualization
- Data Preprocessing: Missing value imputation, feature scaling, encoding
- AutoML: Automatic model selection and evaluation
- Visualization: Terminal-based histogram and scatter plots
- Export Options: Save processed data in multiple formats
### Why Did I create it?
In 2023, I took a statistical investigation class in my university and part of the course was to test multiple CSV files to basic info such as metadata, Descriptive stats, Summary stats, and perform Data Preprocessing for further analysis. I was tired of writing redundant code that's when I decided to write the code where I can just plug the csv files and get all the info displayed directly to me from the terminal. Suddenly most of my classmates wanted to use the same code. That's when I decided to write a package where I can use terminal flags to interact with the
/r/Python
https://redd.it/1kri32f
Reddit
From the Python community on Reddit: I published my first official Python package RIDE-CLI that lets you analyze your CSV in the…
Explore this post and more from the Python 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/1ksd1ba
# 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/1ksd1ba
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Flask app gives HTTP 403
Flask app gives HTTP 403 Forbidden on localhost (127.0.0.1:5000) – why?
I'm running a simple Flask app on my Mac using:
bashKopiérRedigerpython app.py
It starts normally, no errors in terminal. But when I open `http://127.0.0.1:5000` in my browser (Chrome or Safari), I get:
403 Forbidden – You don’t have permission to view this page.
I've disabled macOS firewall and checked that Bitdefender is not blocking anything. The app uses
Why would a local Flask app return a 403 error like this? What else could block access to localhost?
/r/flask
https://redd.it/1ks2l81
Flask app gives HTTP 403 Forbidden on localhost (127.0.0.1:5000) – why?
I'm running a simple Flask app on my Mac using:
bashKopiérRedigerpython app.py
It starts normally, no errors in terminal. But when I open `http://127.0.0.1:5000` in my browser (Chrome or Safari), I get:
403 Forbidden – You don’t have permission to view this page.
I've disabled macOS firewall and checked that Bitdefender is not blocking anything. The app uses
app.run(debug=True) and has worked before.Why would a local Flask app return a 403 error like this? What else could block access to localhost?
/r/flask
https://redd.it/1ks2l81
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
GitHub - lucasrcezimbra/ninja-api-key: API Key authentication for Django Ninja
https://github.com/lucasrcezimbra/ninja-api-key
/r/django
https://redd.it/1ks9ur2
https://github.com/lucasrcezimbra/ninja-api-key
/r/django
https://redd.it/1ks9ur2
GitHub
GitHub - lucasrcezimbra/ninja-api-key: API Key authentication for Django Ninja
API Key authentication for Django Ninja. Contribute to lucasrcezimbra/ninja-api-key development by creating an account on GitHub.
D Google already out with a Text- Diffusion Model
Not sure if anyone was able to give it a test but Google released Gemeni Diffusion, I wonder how different it is from traditional (can't believe we're calling them that now) transformer based LLMs, especially when it comes to reasoning. Here's the announcement:
https://blog.google/technology/google-deepmind/gemini-diffusion/
/r/MachineLearning
https://redd.it/1ksdn9b
Not sure if anyone was able to give it a test but Google released Gemeni Diffusion, I wonder how different it is from traditional (can't believe we're calling them that now) transformer based LLMs, especially when it comes to reasoning. Here's the announcement:
https://blog.google/technology/google-deepmind/gemini-diffusion/
/r/MachineLearning
https://redd.it/1ksdn9b
Google
Gemini Diffusion is our new experimental research model.
We’re always working on new approaches to improve our models, including making them more efficient and performant. Our latest research model, Gemini Diffusion, is a stat…
doc2dict: parse documents into dictionaries fast
What my project does
Converts html and pdf files into dictionaries preserving the human visible hierarchy. For example, here's an excerpt from Microsoft's 10-K.
"37": {
"title": "PART I",
"standardizedtitle": "parti",
"class": "part",
"contents": {
"38": {
"title": "ITEM 1. BUSINESS",
"standardizedtitle": "item1",
"class": "item",
"contents": {
"39": {
"title": "GENERAL",
/r/Python
https://redd.it/1ksgnmb
What my project does
Converts html and pdf files into dictionaries preserving the human visible hierarchy. For example, here's an excerpt from Microsoft's 10-K.
"37": {
"title": "PART I",
"standardizedtitle": "parti",
"class": "part",
"contents": {
"38": {
"title": "ITEM 1. BUSINESS",
"standardizedtitle": "item1",
"class": "item",
"contents": {
"39": {
"title": "GENERAL",
/r/Python
https://redd.it/1ksgnmb
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Computer for app development
Appreciating any recommendation/insights on buying a computer that is suitable for developing an app. This is a new area for me. I tried using Dell XPS with 16 GB RAM and WSL2. It was not workable. At one point, I was able to install a Android virtual device (AVD) on the Android Emulator using Android Studio, but it was way too slow to do anything. My app won't even load up. My computer does meet the recommended specs for such task, at least based on my research. Not sure the problem was on my setup or the computer. Has anyone used MacBook with 16GB RAM to do something similar? Want to get a computer that will work. Thanks.
/r/flask
https://redd.it/1krzeul
Appreciating any recommendation/insights on buying a computer that is suitable for developing an app. This is a new area for me. I tried using Dell XPS with 16 GB RAM and WSL2. It was not workable. At one point, I was able to install a Android virtual device (AVD) on the Android Emulator using Android Studio, but it was way too slow to do anything. My app won't even load up. My computer does meet the recommended specs for such task, at least based on my research. Not sure the problem was on my setup or the computer. Has anyone used MacBook with 16GB RAM to do something similar? Want to get a computer that will work. Thanks.
/r/flask
https://redd.it/1krzeul
Reddit
From the flask community on Reddit
Explore this post and more from the flask community