Are there any actual use cases of Python in Excel?
I’m trying to understand how useful it really is/ having not really touched it at all, I imagine someone versed in Python could optimize some of their workflow were they forced to work in excel. But given the fundamental processing limitations of excel I can’t imagine how scalable this is. Has anyone had practical experience using the Python - excel plugin to accomplish things easier than you could in either excel or Python alone and if so, what?
/r/Python
https://redd.it/1hylc50
I’m trying to understand how useful it really is/ having not really touched it at all, I imagine someone versed in Python could optimize some of their workflow were they forced to work in excel. But given the fundamental processing limitations of excel I can’t imagine how scalable this is. Has anyone had practical experience using the Python - excel plugin to accomplish things easier than you could in either excel or Python alone and if so, what?
/r/Python
https://redd.it/1hylc50
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Long time listener, first time caller
I have been using Django for the last few years and always wanted to check flask out.
2 days ago i started playing around with it.... I love it.
Compared to Django development has been so fast and way more flexible (which can be good and bad)
I have built a basic app with user auth and org level and test deployed using mongodb, gunicorn, docker on google cloud run all within a day basically
Great job devs 👍
Sorry for the useless post but thought id share my experience
/r/flask
https://redd.it/1hxu65g
I have been using Django for the last few years and always wanted to check flask out.
2 days ago i started playing around with it.... I love it.
Compared to Django development has been so fast and way more flexible (which can be good and bad)
I have built a basic app with user auth and org level and test deployed using mongodb, gunicorn, docker on google cloud run all within a day basically
Great job devs 👍
Sorry for the useless post but thought id share my experience
/r/flask
https://redd.it/1hxu65g
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Open source Contribution
Can anyone guide me through the steps of contributing to Django?
/r/django
https://redd.it/1hyw6nv
Can anyone guide me through the steps of contributing to Django?
/r/django
https://redd.it/1hyw6nv
Reddit
From the django community on Reddit
Explore this post and more from the django community
PyGAD 3.4.0 Released: Python library for optimization using the genetic algorithm.
PyGAD is a Python library for solving general-purpose optimization problems using the genetic algorithm.
GitHub repository: https://github.com/ahmedfgad/GeneticAlgorithmPython
Documentation: https://pygad.readthedocs.io
Quick release notes:
1. The
2. The
3. Created a new method called
4. The
5. While making prediction using the
6. The
7. More bug fixes.
/r/Python
https://redd.it/1hyxjqi
PyGAD is a Python library for solving general-purpose optimization problems using the genetic algorithm.
GitHub repository: https://github.com/ahmedfgad/GeneticAlgorithmPython
Documentation: https://pygad.readthedocs.io
Quick release notes:
1. The
delay_after_gen parameter is removed from the `pygad.GA` class constructor. 2. The
plot_pareto_front_curve() method added to the pygad.visualize.plot.Plot class to visualize the Pareto front for multi-objective problems. 3. Created a new method called
unique_float_gene_from_range() inside the pygad.helper.unique.Unique class to find a unique floating-point number from a range.4. The
Matplotlib library is only imported when a method inside the pygad/visualize/plot.py script is used. 5. While making prediction using the
pygad.torchga.predict() function, no gradients are calculated.6. The
gene_type parameter of the pygad.helper.unique.Unique.unique_int_gene_from_range() method accepts the type of the current gene only instead of the full gene_type list.7. More bug fixes.
/r/Python
https://redd.it/1hyxjqi
GitHub
GitHub - ahmedfgad/GeneticAlgorithmPython: Source code of PyGAD, a Python 3 library for building the genetic algorithm and training…
Source code of PyGAD, a Python 3 library for building the genetic algorithm and training machine learning algorithms (Keras & PyTorch). - ahmedfgad/GeneticAlgorithmPython
Docker + uv - virtual environments
# Why?
uv uses an existing virtual environment(.venv) or creates one if it doesn't exist. But, using a Python virtual environment inside a Docker container is generally unnecessary and can even be counterproductive. As a container itself provides an isolated environment and does not need further isolation using virtual environments. When you create a Docker image, it includes its own filesystem, libraries, and dependencies. Using a virtual environment in container adds unneeded steps and unnecessary complexity. You'd need to create and activate the virtual environment during container startup. We can avoid this.
# How?
we can use uv for package installation in Docker without a virtual environment using "--system" flag
uv pip install --system <package>
uv pip install --system -r requirements.txt
NOTE: "uv run" and **"uv add"**NOTE: "uv run" and "uv add" commands will create virtual environment(.venv), if it doesn't exist. So, you will not be using those command inside the container. But, use them with in your local development virtual environment.
RUN uv add gunicorn ❌
CMD "uv", "run", "app.py" ❌
Instead use only "uv pip install --system" and simple "python" commands
RUN uv pip
/r/django
https://redd.it/1hz0s59
# Why?
uv uses an existing virtual environment(.venv) or creates one if it doesn't exist. But, using a Python virtual environment inside a Docker container is generally unnecessary and can even be counterproductive. As a container itself provides an isolated environment and does not need further isolation using virtual environments. When you create a Docker image, it includes its own filesystem, libraries, and dependencies. Using a virtual environment in container adds unneeded steps and unnecessary complexity. You'd need to create and activate the virtual environment during container startup. We can avoid this.
# How?
we can use uv for package installation in Docker without a virtual environment using "--system" flag
uv pip install --system <package>
uv pip install --system -r requirements.txt
NOTE: "uv run" and **"uv add"**NOTE: "uv run" and "uv add" commands will create virtual environment(.venv), if it doesn't exist. So, you will not be using those command inside the container. But, use them with in your local development virtual environment.
RUN uv add gunicorn ❌
CMD "uv", "run", "app.py" ❌
Instead use only "uv pip install --system" and simple "python" commands
RUN uv pip
/r/django
https://redd.it/1hz0s59
docs.astral.sh
uv
uv is an extremely fast Python package and project manager, written in Rust.
API request logging built for privacy and performance (works with Flask)
https://apitally.io/blog/request-log-release-announcement
/r/flask
https://redd.it/1hy2jag
https://apitally.io/blog/request-log-release-announcement
/r/flask
https://redd.it/1hy2jag
apitally.io
API request logging built for privacy and performance - Apitally Blog
Introducing the new request logging feature in Apitally that connects API metrics & insights with the ability to drill down and inspect individual requests.
This media is not supported in your browser
VIEW IN TELEGRAM
[P] Built a Snake game with a Diffusion model as the game engine. It runs in near real-time 🤖 It predicts next frame based on user input and current frames.
/r/MachineLearning
https://redd.it/1hz1l2j
/r/MachineLearning
https://redd.it/1hz1l2j
I built a django based crowdfunding platform - Fundly 🎊
Hey everyone! I wanted to share a crowdfunding platform I built using Django 5 and Bootstrap. It's a versatile platform that can be used for any type of fundraising campaigns - from creative projects to personal causes.
GitHub: https://github.com/manjurulhoque/fundly
Key Features:
🔐 User Management:
User registration & authentication
Profile management with avatars
Account settings & password management
💰 Campaign Management:
Create & manage fundraising campaigns
Rich text editor for descriptions
Campaign categorization & status tracking
Progress tracking & image uploads
Social sharing functionality
💳 Donation System:
Anonymous donation option
Donation tracking & statistics
Donation comments
📊 Dashboard Features:
User campaign dashboard
Campaign statistics
Donation history
Performance metrics
Admin dashboard with full CRUD
🔍 Search & Discovery:
Category-based browsing
Search functionality
Featured campaigns
Recent campaigns showcase
Campaign filtering
Tech Stack:
Backend: Python 3.x, Django 5.x, SQLite
Frontend: Bootstrap 4, jQuery, Font Awesome
Additional: TinyMCE Editor, Chartjs
The platform is fully responsive and includes features like campaign progress tracking, member management, and detailed analytics. Perfect for anyone looking to start their own crowdfunding website!
Would love to hear your thoughts and feedback! Feel free to check out the repo, star it if you like it, or contribute if you're interested.
/r/django
https://redd.it/1hz4w6c
Hey everyone! I wanted to share a crowdfunding platform I built using Django 5 and Bootstrap. It's a versatile platform that can be used for any type of fundraising campaigns - from creative projects to personal causes.
GitHub: https://github.com/manjurulhoque/fundly
Key Features:
🔐 User Management:
User registration & authentication
Profile management with avatars
Account settings & password management
💰 Campaign Management:
Create & manage fundraising campaigns
Rich text editor for descriptions
Campaign categorization & status tracking
Progress tracking & image uploads
Social sharing functionality
💳 Donation System:
Anonymous donation option
Donation tracking & statistics
Donation comments
📊 Dashboard Features:
User campaign dashboard
Campaign statistics
Donation history
Performance metrics
Admin dashboard with full CRUD
🔍 Search & Discovery:
Category-based browsing
Search functionality
Featured campaigns
Recent campaigns showcase
Campaign filtering
Tech Stack:
Backend: Python 3.x, Django 5.x, SQLite
Frontend: Bootstrap 4, jQuery, Font Awesome
Additional: TinyMCE Editor, Chartjs
The platform is fully responsive and includes features like campaign progress tracking, member management, and detailed analytics. Perfect for anyone looking to start their own crowdfunding website!
Would love to hear your thoughts and feedback! Feel free to check out the repo, star it if you like it, or contribute if you're interested.
/r/django
https://redd.it/1hz4w6c
GitHub
GitHub - manjurulhoque/fundly: A Django-based crowdfunding platform focused on healthcare campaigns. Users can create fundraising…
A Django-based crowdfunding platform focused on healthcare campaigns. Users can create fundraising initiatives, manage donations, and track progress in real-time. Features include secure payment pr...
Sunday Daily Thread: What's everyone working on this week?
# Weekly Thread: What's Everyone Working On This Week? 🛠️
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
## How it Works:
1. Show & Tell: Share your current projects, completed works, or future ideas.
2. Discuss: Get feedback, find collaborators, or just chat about your project.
3. Inspire: Your project might inspire someone else, just as you might get inspired here.
## Guidelines:
Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
## Example Shares:
1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
2. Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
/r/Python
https://redd.it/1hz9oaq
# Weekly Thread: What's Everyone Working On This Week? 🛠️
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
## How it Works:
1. Show & Tell: Share your current projects, completed works, or future ideas.
2. Discuss: Get feedback, find collaborators, or just chat about your project.
3. Inspire: Your project might inspire someone else, just as you might get inspired here.
## Guidelines:
Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
## Example Shares:
1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
2. Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
/r/Python
https://redd.it/1hz9oaq
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Building My First Ecommerce with Django
I wanted to share my journey building a custom ecommerce site for a client. While I have experience creating enterprise tools and APIs for inventory management and ecommerce integrations (like Shopify), this project was unique because the client specifically wanted a fully custom-built platform tailored to their needs. It’s my first time creating a complete ecommerce site with Django, and the learning experience has been incredible.
The project, [GetVases](https://www.getvases.com), is an online boutique for selling vases. It needed to be visually appealing, user-friendly, and reliable. Balancing these requirements while diving into features like payment integration and stock management was both exciting and challenging.
# Technical Challenges
1. **Integrating Payments with Stripe**: Secure payment processing was a priority for the client. I initially started with PayPal, but its confusing documentation and webhook handling led to weeks of frustration. Switching to Stripe was a game-changer:
* I used the `stripe` library to handle payment requests.
* Webhooks were set up to update order statuses in real time.
* I’m still refining security measures for these endpoints—any best practices you can share?
2. **Real-Time Stock Management**: The client required dynamic inventory updates as customers placed orders. I implemented this using Django
/r/django
https://redd.it/1hz7xgd
I wanted to share my journey building a custom ecommerce site for a client. While I have experience creating enterprise tools and APIs for inventory management and ecommerce integrations (like Shopify), this project was unique because the client specifically wanted a fully custom-built platform tailored to their needs. It’s my first time creating a complete ecommerce site with Django, and the learning experience has been incredible.
The project, [GetVases](https://www.getvases.com), is an online boutique for selling vases. It needed to be visually appealing, user-friendly, and reliable. Balancing these requirements while diving into features like payment integration and stock management was both exciting and challenging.
# Technical Challenges
1. **Integrating Payments with Stripe**: Secure payment processing was a priority for the client. I initially started with PayPal, but its confusing documentation and webhook handling led to weeks of frustration. Switching to Stripe was a game-changer:
* I used the `stripe` library to handle payment requests.
* Webhooks were set up to update order statuses in real time.
* I’m still refining security measures for these endpoints—any best practices you can share?
2. **Real-Time Stock Management**: The client required dynamic inventory updates as customers placed orders. I implemented this using Django
/r/django
https://redd.it/1hz7xgd
Getvases
GetVases - Mid-Century Inspired 3D Vessels
Artisanal 3D printed vessels with mid-century modern soul
Django + htmx
Hello is there people making theirs own saas web apps with django + htmx if yes how is the experience is it as fast as going with a js framework like next js , nuxt js ..
i m struggling to choose to learn python + django or going for react + next js to build my own saas apps
Thnks for the feedback
/r/django
https://redd.it/1hzal6h
Hello is there people making theirs own saas web apps with django + htmx if yes how is the experience is it as fast as going with a js framework like next js , nuxt js ..
i m struggling to choose to learn python + django or going for react + next js to build my own saas apps
Thnks for the feedback
/r/django
https://redd.it/1hzal6h
Reddit
From the django community on Reddit
Explore this post and more from the django community
MongoDB with Django, WHY?
Has anybody here ever needed to use MongoDB with Django? I'm curious to know why there is such a demand for MongoDB in the Django community, considering that Django's ORM is deeply tied to a relational structure. Why the push for Mongo?
And by "demand," I mean enough people want this for me to notice.
The top recommendations I keep seeing are terrible.
1. Use **Pymongo** - This is bad because you loose a lot of Django features such as the built-in ORM, Auth, etc
2. **Djongo** - This is NOT a valid solution. Only works with Django 3.0.5 and does not really work. Also, it has not been maintained for several years.
/r/django
https://redd.it/1hz5iby
Has anybody here ever needed to use MongoDB with Django? I'm curious to know why there is such a demand for MongoDB in the Django community, considering that Django's ORM is deeply tied to a relational structure. Why the push for Mongo?
And by "demand," I mean enough people want this for me to notice.
The top recommendations I keep seeing are terrible.
1. Use **Pymongo** - This is bad because you loose a lot of Django features such as the built-in ORM, Auth, etc
2. **Djongo** - This is NOT a valid solution. Only works with Django 3.0.5 and does not really work. Also, it has not been maintained for several years.
/r/django
https://redd.it/1hz5iby
Reddit
From the django community on Reddit
Explore this post and more from the django community
Train an LLM from Scratch
# What My Project Does
I created an end-to-end LLM training project, from downloading the training dataset to generating text with the trained model. It currently supports the PILE dataset, a diverse data for LLM training. You can limit the dataset size, customize the default transformer architecture and training configuration, and more.
This is what my 13 million parameter-trained LLM output looks like, trained on a Colab T4 GPU:
In ***1978, The park was returned to the factory-plate that the public share to the lower of the electronic fence that follow from the Station's cities. The Canal of ancient Western nations were confined to the city spot. The villages were directly linked to cities in China that revolt that the US budget and in Odambinais is uncertain and fortune established in rural areas.
# Target audience
This project is for students and researchers who want to learn how tiny LLMs work by building one themselves. It's good for people who want to change how the model is built or train it on regular GPUs.
# Comparison
Instead of just using existing AI tools, this project lets you see all the steps of making an LLM. You get more control over how it works.
/r/Python
https://redd.it/1hzg5fh
# What My Project Does
I created an end-to-end LLM training project, from downloading the training dataset to generating text with the trained model. It currently supports the PILE dataset, a diverse data for LLM training. You can limit the dataset size, customize the default transformer architecture and training configuration, and more.
This is what my 13 million parameter-trained LLM output looks like, trained on a Colab T4 GPU:
In ***1978, The park was returned to the factory-plate that the public share to the lower of the electronic fence that follow from the Station's cities. The Canal of ancient Western nations were confined to the city spot. The villages were directly linked to cities in China that revolt that the US budget and in Odambinais is uncertain and fortune established in rural areas.
# Target audience
This project is for students and researchers who want to learn how tiny LLMs work by building one themselves. It's good for people who want to change how the model is built or train it on regular GPUs.
# Comparison
Instead of just using existing AI tools, this project lets you see all the steps of making an LLM. You get more control over how it works.
/r/Python
https://redd.it/1hzg5fh
Reddit
From the Python community on Reddit: Train an LLM from Scratch
Explore this post and more from the Python community
D Have transformers won in Computer Vision?
Hi,
Transformers have reigned supreme in Natural Language Processing applications, both written and spoken, since BERT and GPT-1 came out in 2018.
For Computer Vision, last I checked it was starting to gain momentum in 2020 with An Image is Worth 16x16 Words but the sentiment then was "Yeah transformers might be good for CV, for now I'll keep using my resnets"
Has this changed in 2025? Are Vision Transformers the preferred backbone for Computer Visions?
Put another way, if you were to start a new project from scratch to do image classification (medical diagnosis, etc), how would you approach it in terms of architecture and training objective?
I'm mainly an NLP guy so pardon my lack of exposure to CV problems in industry.
/r/MachineLearning
https://redd.it/1hzn0gg
Hi,
Transformers have reigned supreme in Natural Language Processing applications, both written and spoken, since BERT and GPT-1 came out in 2018.
For Computer Vision, last I checked it was starting to gain momentum in 2020 with An Image is Worth 16x16 Words but the sentiment then was "Yeah transformers might be good for CV, for now I'll keep using my resnets"
Has this changed in 2025? Are Vision Transformers the preferred backbone for Computer Visions?
Put another way, if you were to start a new project from scratch to do image classification (medical diagnosis, etc), how would you approach it in terms of architecture and training objective?
I'm mainly an NLP guy so pardon my lack of exposure to CV problems in industry.
/r/MachineLearning
https://redd.it/1hzn0gg
arXiv.org
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
While the Transformer architecture has become the de-facto standard for natural language processing tasks, its applications to computer vision remain limited. In vision, attention is either...
This is a "Fantasy Investment" game - built on Flask/AlpineJS/TailwindCSS
https://redd.it/1hzhc5e
@pythondaily
https://redd.it/1hzhc5e
@pythondaily
Reddit
From the flask community on Reddit: This is a "Fantasy Investment" game - built on Flask/AlpineJS/TailwindCSS
Explore this post and more from the flask community