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
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/1ojkvx8
Reinventing the wheel?

I’ve been using Python for 2 years and I’m now doing some email outreach and other marketing activities that include website visitor tracking.

Is it a crazy idea to build a Python / Flask / Django app like some of the better known marketing automation apps? single tenant not multi-tenant

Are there some building blocks or repositories that take me some or all of the way?

Interested in sending emails via Google mail with tracking of opens and clicks. Track website pages and landing pages. Assist with scoring visitors to identify engagement.

Crazy or a good challenge?
Appreciate a reality check.

/r/Python
https://redd.it/1ojv8h5
PyCalc Pro v1.0 – My Python CLI Calculator for Math Nerds

PyCalc Pro v1.0 is a command-line Python calculator that handles advanced math (trig, logs, factorials), arithmetic & geometric sequences, and number theory functions like prime checks, GCD, and LCM. It features a modular menu system for easy navigation.

Target Audience:
Students, hobbyists, and Python learners who want a CLI calculator to explore math concepts. It is designed as a learning and experimentation tool rather than for daily accounting.

Comparison:
Unlike basic Python scripts or generic calculator apps, PyCalc Pro combines advanced math, sequences, and number theory functions in one modular interface, making it more feature-rich and educational than standard alternatives.

Installation:

1. git clone `https://github.com/lw-xiong/pycalc-pro`
2. pip install -r requirements.txt
3. python `main.py`

Feedback and feature ideas are welcome.

/r/Python
https://redd.it/1ojz871
How to deal with money?

Yeah spend it lol, no but seriously hear me out.

I want to do internal money calculations with 4 decimal places to prevent rounding errors. But when I do so the Django admin shows numbers like 25.0000. do I need to make display functions for all of them that round the value and add a currency like € or $?

Is there a best practice?

/r/django
https://redd.it/1ojy7vt
Trying to use cascading deletes in SQLAlchemy with a many-to-many relationship between two tables, would like some help

For the site I've been building, to manage permissions I've been using a role-based where we have the class/table User representing individual users, UserRole (which only contains id and name columns), and UserRoleOwnership to manage the who has what roles, in what I believe (I started learning SQL two months ago, may be wrong) is described as a many-to-many relationship? So the ownership table has three columns: id (not really relevant here, auto increments), user_uuid, and role_id. The latter two are declared as foreign keys, referencing User.uuid and Role.id respectively. This has been working fine, until while I was writing more thorough tests I discovered, of course, if a User's record/row is deleted, all of their role ownership records still exist in the database. I tried looking into if there was a way to automatically delete the User's associated ownership records, and found the ondelete option for mapped_column as well as the cascade option on relationship, which seemed like they would help, but I keep running into issues.

Here's the definition of UserRoleOwnership:

class UserRoleOwnership(DBModel):
id: Mappedint = mappedcolumn(primarykey=True)
useruuid: Mapped[UUID] = mappedcolumn(ForeignKey('user.uuid', ondelete='CASCADE'))


/r/flask
https://redd.it/1okbqg7
R We found LRMs look great…until the problems get harder (AACL 2025)

Hi there! I'm excited to share this project on characterizing reasoning capabilities of Large Reasoning Models (LLMs incentivized with "thinking").

Our paper: "Reasoning Models Reason Well, Until They Don't"

What it’s about: We look at large reasoning models (LRMs) and try to answer the question of "how do they generalize when reasoning complexity is steadily scaled up?"

Short answer: They’re solid in the easy/mid range, then fall off a cliff once complexity crosses a threshold. We use graph reasoning and deductive reasoning as a testbed, then we try to reconcile the results with real world graph distributions.

Details:

Built a dataset/generator (DeepRD) to generate queries of specified complexity (no limit to samples or complexity). Generates both symbolic and 'proof shaped' queries.
We hope this helps for future work in reasoning training+evaluation!
Tested graph connectivity + natural-language proof planning.
Saw sharp drop-offs once complexity passes a certain point—generalization doesn’t magically appear with current LRMs.
Compared against complexity in real-world graphs/proofs: most day-to-day cases are “in range,” but the long tail is risky.
Provide some in depth analysis on error modes

Why it matters: Benchmarks with limited complexity can make models look more general than they are. The drop in performance can be quite

/r/MachineLearning
https://redd.it/1okdq0s
Friday Daily Thread: r/Python Meta and Free-Talk Fridays

# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️

Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!

## How it Works:

1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.

## Guidelines:

All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.

## Example Topics:

1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.

Let's keep the conversation going. Happy discussing! 🌟

/r/Python
https://redd.it/1okfus7
Can you break our pickle sandbox? Blog + exploit challenge inside

I've been working on a different approach to pickle security with a friend.
We wrote up a blog post about it and built a challenge to test if it actually holds up. The basic idea: we intercept and block the dangerous operations at the interpreter level during deserialization (RCE, file access, network calls, etc.). Still experimental, but we tested it against 32+ real vulnerabilities and got <0.8% performance overhead.
Blog post with all the technical details: https://iyehuda.substack.com/p/we-may-have-finally-fixed-pythons
Challenge site (try to escape): https://pickleescape.xyz
Curious what you all think - especially interested in feedback if you've dealt with pickle issues before or know of edge cases we might have missed.

/r/Python
https://redd.it/1ok548a
D Monthly Who's Hiring and Who wants to be Hired?

For Job Postings please use this template

>Hiring: [Location\], Salary:[\], [Remote | Relocation\], [Full Time | Contract | Part Time\] and [Brief overview, what you're looking for\]

For Those looking for jobs please use this template

>Want to be Hired: [Location\], Salary Expectation:[\], [Remote | Relocation\], [Full Time | Contract | Part Time\] Resume: [Link to resume\] and [Brief overview, what you're looking for\]

&#x200B;

Please remember that this community is geared towards those with experience.

/r/MachineLearning
https://redd.it/1okj2rw
R FastJAM: a Fast Joint Alignment Model for Images (NeurIPS 2025)

Hi everyone!

I'm excited to share our NeurIPS 2025 paper "FastJAM: a Fast Joint Alignment Model for Images".

Authors: Omri Hirsch*, Ron Shapira Weber*, Shira Ifergane, Oren Freifeld.

FastJAM is a lightweight graph-based framework for joint image alignment that runs in seconds rather than minutes or hours (for previous works).

Example of FastJAM Joint alignment results:

https://preview.redd.it/nile4xo2m8yf1.jpg?width=1183&format=pjpg&auto=webp&s=9329c8ef0c5dfdafe7f138281ff704028cb0508e

FastJAM reformulates the joint alignment problem using sparse keypoints and graph neural networks (GNNs). By propagating correspondence information across images, FastJAM predicts consistent transformations for an entire collection of images, achieving a large speedup in runtime and better or comparable results across all datasets.

FastJAM GNN Architecture:

https://preview.redd.it/vscp7qdam8yf1.png?width=1302&format=png&auto=webp&s=be944c251ae1faa8b2b1586ebebd7be1ce36e3e3

🌐Project Page

📄Paper

💻GitHub

/r/MachineLearning
https://redd.it/1ojx3wc
Authentication in Django - Your Opinions

Hello,

I'm on a constant learning path with Django, I want some recommendations from you.

Currently I'm working on a project, to mainly showcase that I can master Authentication in Django.

I implemented Session-based authentication, Oauth2 and JWT Authentication.

I want to know what can I add to this project, to enhance my skills ?

ANY info is helpful.

/r/django
https://redd.it/1okpqcu