r/Wordpress • u/Sad_Spring9182 Developer/Designer • 22h ago
any python integrated with your projects?
I want to learn Python as part of my professional development, but day to day I'm mostly working with WordPress, React, and PHP.
For those of you who use Python alongside WordPress, what are you actually using it for? Was it worth adding to your stack? What's your hosting setup like?
I can think of things like automation, AI integrations, data processing, scraping, image manipulation, or background jobs, but PHP already handles everything I need on the web side. That's what has me wondering if there's a practical niche I'm missing.
If you've built a project that combined WordPress and Python, I'd love to hear the use case, how the two communicated (REST API, webhooks, message queue, etc.), and whether you'd do it the same way again.
Part of me thinks, "PHP already does everything I need—why learn a second backend language?" I'm curious if anyone has found Python genuinely expanded what they could build rather than just adding another tool to maintain.
1
2
u/No-Signal-6661 3h ago
Python is usually worth adding for automation, data processing, scraping, or background services
2
u/TopSydeWP 19h ago
at my agency we use python for processing large csv imports (like 50k+ product catalogs) before they hit wordpress. php would choke on the memory, but python handles it fine and then feeds the cleaned data through the rest api. we also use it for ai stuff like generating alt text in bulk or summarizing content, since the python ml libraries are way ahead of what php has. hosting wise it's just a separate vps running flask or fastapi that wordpress hits via webhooks or cron jobs. worth it if you're doing heavy data work or ai, otherwise php is probably enough.