Python Daily
2.57K subscribers
1.48K photos
53 videos
2 files
38.9K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
Side Project Fintrack - Self-Hostable Budget & Expense Tracker Built with Django + React (Vite)

Hey guys 👋

I recently built and launched a self-hostable budget & expense tracker to help manage personal finances while retaining full data ownership. It’s designed to be simple, lightweight, and privacy-respecting and perfect for self-hosting.

🔗 Live demo / Hosted version: https://app.sannty.in

Github: https://github.com/AshishKapoor/fintrack

🛠 Tech stack:

Backend: Django + Django REST Framework

Frontend: React (Vite)

Fully API-driven & mobile-responsive

🧩 Key features:

Track income, expenses, and budgets

Intuitive dashboard

Self-hosting ready with minimal setup

💡 I built this for people (like myself) who want a simple, open alternative to big finance apps — without giving up their data. I was not liking the existing app called Actual much it appeared dated. This is work in progress.

Would love any feedback — UX/UI suggestions, missing features, deployment experiences, or anything else that comes to mind!

Also, happily open sourced it! 🤝

/r/djangolearning
https://redd.it/1ktna78
[Flask] Built My Own IT Support PSA App — Feedback & Contributors Welcome

Hi Flask community –

I’ve been developing a lightweight PSA (Professional Services Automation) app using Flask and Python for my MSP. It’s open source and designed to be self-hostable or run locally.

GitHub Repo**:** [https://github.com/abean94/Ticket-and-Project-Management](https://github.com/abean94/Ticket-and-Project-Management)

The backend is all Flask, SQLAlchemy, Flask-WTF, Flask-Login, and a bit of Google Calendar API integration. The core app handles:

Helpdesk ticketing with priority/status
Project + phase management (inspired by ConnectWise)
Time logging via ticket notes + calendar sync
Billing review/invoice prep
Admin roles, CRUD for companies/clients
Excel export for tickets & projects

**Why I'm Posting:**

I’ve reached a point where:

* I know it needs improvement (especially UI and billing logic).
* I don’t have the time I want to keep iterating alone.
* Some sections (especially frontend/UI) were ChatGPT-assisted, and could really use a dev with stronger frontend chops.

**Things That Need Work:**

* No email-to-ticket support (manual entry only).
* The UI/UX is functional but plain.
* Billing logic could be refactored and made more modular.
* There's no built-in knowledge base yet.

If you're experienced with Flask or just want to explore a real-world app, I’d love your feedback or contributions. Let’s build something that works for solo tech shops and lean MSPs.

Thanks for checking it out!

/r/flask
https://redd.it/1ktos9m
Using @atomic on saving multiple forms

Hello guys,

I'm writing a project that uses inline and model formsets heavily (6 formsets in total). I wrote a simple repository to ask my question, this is not my orijinal project. In this code, do I need to wrap this section with `@atomic` ? https://github.com/skenci/nested\_formset\_project/blob/main/demoapp/views.py#L50-L89

/r/django
https://redd.it/1ktlnbi
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/1ktybrg
Ruff users, what rules are using and what are you ignoring?

Im genuinely curios what rules you are enforcing on your code and what ones you choose to ignore. or are you just living like a zealot with the:

select = 'ALL'

ignore =

/r/Python
https://redd.it/1kttfst
I built a custom flow to add Stripe payments to your Flask app in under 1 hour - would love feedback

/r/flask
https://redd.it/1ktq89a
Flask-Login session works but React frontend gets 401 Unauthorized on protected routes despite successful login

/r/flask
https://redd.it/1ktdm0h
Would you use a platform that ranks lesser-known, fast-growing open-source projects?

Lately I've been trying to come up with an idea and actually build it out, different ideas coming and going, finally found one that feels like something people would actually use, at least in my head. I'd love to hear what you guys think about it though.

The idea is basically a site that ranks promising open-source projects that aren't yet viral. Think of it as a "Product Hunt for devs who haven’t gone mainstream yet" — updated regularly based solely on GitHub activity like stars, forks, PRs, and watchers.

The goal is to help people discover interesting, useful repos before they blow up, a place to support underdog builders, contributors, or even join in early.

Would you find something like this useful?
What would make it more valuable to you as a dev?

/r/Python
https://redd.it/1ku1axp
New to Django? Here’s a Step-by-Step Tutorial I Made for You (Free + PythonAnywhere Deployment)

Hey everyone,

I’ve always wanted to give back to the community that helped me get started, and today I finally did it.

I just published a **step-by-step Django tutorial** in Google Docs that takes you from **absolute zero** all the way to **deploying your first project on PythonAnywhere** \- completely free.

I still remember learning Django 9 years ago. I jumped into the official tutorial, but I didn’t understand much, it was literally the first thing I tried to do in college after learning Python 😅. It was confusing, and I had no idea what was going on.

So I created the guide I wish I had back then **super beginner-friendly** and written in plain language.

It covers:

* Setting up your environment
* Creating your first Django app
* Understanding URLs, views, templates, and models
* Building a basic CRUD app (Templates/Static)
* Deploying for free using PythonAnywhere

📄Here's the [https://docs.google.com/document/d/14xH0bQytKg49le6MdbnsaGj5bSpfnmPfO7ThAe25-lk/edit?usp=sharing](https://docs.google.com/document/d/14xH0bQytKg49le6MdbnsaGj5bSpfnmPfO7ThAe25-lk/edit?usp=sharing)

Please feel free to **read, follow along, or share with someone just starting out**.

💬 **If there’s something you don’t understand, or if anything seems off or outdated, drop a comment here or in the doc I’ll be happy to answer and help.**

Enjoy building, and good luck on your journey! 🚀 Feel to free to

/r/django
https://redd.it/1ktzksg
Which useful Python libraries did you learn on the job, which you may otherwise not have discovered?

I feel like one of the benefits of using Python at work (or any other language for that matter), is the shared pool of knowledge and experience you get exposed to within your team. I have found that reading colleagues' code and taking advice their advice has introduced me to some useful tools that I probably wouldn't have discovered through self-learning alone. For example, Pydantic and DuckDB, among several others.

Just curious to hear if anyone has experienced anything similar, and what libraries or tools you now swear by?

/r/Python
https://redd.it/1ku6th8
[R] The Gamechanger of Performer Attention Mechanism

/r/MachineLearning
https://redd.it/1ku5n68
Best Cloud Storage for Managing and Editing Word, Excel, and PDF Documents in a Python Web App?

Hi all,

I'm building a document upload system in Python for my web app where users can upload, view, and edit documents like Word, Excel, and PDF files.

I’m trying to decide which cloud storage solution would be best for this — AWS S3, Azure Blob Storage, Google Cloud Storage, or something else?

Also, what technologies or libraries would you recommend for viewing and editing these document types directly in the app?

Thanks in advance for your suggestions!

/r/django
https://redd.it/1ku8efk
The simplest and most affordable way to implement one-to-many video calls in Django app ?

Hey folks, Working on a Django app where I need to implement a one-to-many video call feature. I know Django Channels and Redis are options for building this out, but I’m hoping to keep it simple and avoid too much complexity.

Two key things I’m considering:

1. Simplicity – I want something easy to integrate without a lot of setup.
2. Pricing – I’m looking for something affordable (either free or reasonably priced).

Has anyone used services like Twilio, Agora, or similar that fit these criteria? Or would you recommend going the DIY route?

/r/django
https://redd.it/1ku2goa
Composer-Inspired Python Web Project Scaffolding Tool

**Overview:**
AMEN CLI is a command-line tool designed to help developers quickly scaffold modern Python web applications, inspired by the ease and structure of Composer and Laravel’s Artisan. It supports multiple frameworks, including Flask and FastAPI, with plans for Bottle and Pyramid.

**Key Features:**

* **Interactive Project Setup:** Guided prompts for framework selection, app type (webapp or API), and project naming.
* **Multiple Framework Support:** Out of the box templates for Flask and FastAPI, with extensible support for more frameworks.
* **Automatic Virtual Environment:** Instantly sets up a Python virtual environment for your project.
* **Dependency Management:** Generates a requirements.txt and installs necessary packages.
* **Structured Project Layout:** Creates a clean, maintainable directory structure with templates, static files, and tests.
* **Ready to Run:** Generated projects include a README, environment files, and a run script for immediate development.

**Workflow:**

1. Install with pip install amen-cli.
2. Run amen create and follow the interactive prompts.
3. Activate your virtual environment and start coding!

**Who is it for?**

* Python developers who want to bootstrap web projects quickly.
* Teams seeking consistency and best practices in project structure.
* Anyone looking for a Laravel/Composer-like experience in Python.

**Current Status:**
Stable for Flask and FastAPI. Bottle and Pyramid support are in progress.
Contributions are welcome!

**Links:**

* [GitHub Repository](https://github.com/taqsblaze/amen-cli/)
* [Issue Tracker](https://github.com/taqsblaze/amen-cli#issues)

/r/Python
https://redd.it/1ku81ia
[Showcase] Windows Power Toolkit

**What My Project Does**
Windows Power Toolkit is a desktop utility that brings together a set of essential Windows tools into one clean, GUI-based interface. It helps users check disk usage, mount/dismount ISO files, run basic network diagnostics (like `ping` and `ipconfig`), and view system information, all without touching the command line.

**Target Audience**
This is mainly aimed at Windows users who want quick access to system-level tools without digging through menus or running terminal commands. It’s useful for students, power users, and IT hobbyists. It’s not production software, but it’s functional and MIT licensed, so feel free to build on it.

**Comparison**
Unlike tools like PowerToys or various commercial system managers, this app is fully open source, lightweight (just Python + a few modules), and doesn’t require installation. It focuses on core utilities with a modular layout, using `ttkbootstrap` for a clean UI. Think of it as a middle ground between PowerShell scripts and a full system suite.

Built with:

* `Python`
* `ttkbootstrap`, `tkinter`
* `psutil`, `subprocess`, `platform`, `os`

GitHub:
[https://github.com/iaxivers/Windows-Power-Toolkit](https://github.com/iaxivers/Windows-Power-Toolkit)

Feedback welcome. Let me know if anything breaks or if there’s something you’d want added!

/r/Python
https://redd.it/1kugs4a
Advanced TMDB Wallpapers

As annouced some days ago, and big thanks to adelatour11 for this idea, i developed a TMDB background generator that downloands trendy movies/tvshow and creates a gif, so projectivy_launcher can load if from a REMOTE device, also giving TMDB' ID title can download and create images for every movie/tvshow you want, and convert them to gif format if specified.

6 line plot gives a more immersive description, and MULTILANGUAGE selection for every county.

If language is missing you get a prompt and a link to add it directly in TMDB, for further uses.

a save path option is included , and a gif timing option between images.

link to github project is: https://github.com/Renato-4132/advanced-tmdb-background

Special thanks go to smal82 for collaboration.

/r/Python
https://redd.it/1kugai9
Testing in Python Memes and wisdom request

Been working with data in python for several years, lately decided to dive deeper into OOP to upgrade my code. Currently writing my first tests for my side project (just a python REST API wrapper), chose PyTest. Gents and Ladies, it is hard I can tell you.

I mean for the simple classes it was fun, but when I got to the Client class that is actually using all the others it got tricky. I had to mock

Request module, so I can expect the request without it actually been sent.
The config class that "have" the api key
The factory that instantiates Pydantic models used to build the request
The models said factory "returns"
The model used to validate the response
Obviously the response.

Despite me believing my code is neat and decoupled, just when I got to write the test I realized how much coupled it actually is. Thank god for the ability to mock, so I can "create" only the parts of classes the tested method is using. Also, got me to realize that a method of 20 lines uses so much and does so much, I am partly proud, partly frustrated.

Anyway, I am mainly writing for some

/r/Python
https://redd.it/1kukqdy
Jinja UI components

There are multiple UI components for JS frameworks and libraries. Just to mention a few:-
- shadcn UI
- materialize etc

Is there any for flask(Jinja templates)?

## Context
I see JS components that I really like and would love to use them in my frontend(Jinja templates) but I always mostly have to implement them on my own.

/r/flask
https://redd.it/1kujybr
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/1kupen2