r/pythoncoding • u/[deleted] • Sep 30 '15
r/pythoncoding • u/son_of_dawn • Jan 27 '15
Starting A Python Project The Right Way
r/pythoncoding • u/AutoModerator • Apr 04 '26
/r/PythonCoding monthly "What are you working on?" thread
Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!
If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.
r/pythoncoding • u/mdns-99 • Jan 11 '26
Reading CPython bytecode with dis: stack execution walkthrough (Length: 3:43)
r/pythoncoding • u/yehors • Dec 10 '25
Async web scraping framework on top of Rust
r/pythoncoding • u/AutoModerator • Nov 04 '25
/r/PythonCoding monthly "What are you working on?" thread
Share what you're working on in this thread. What's the end goal, what are design decisions you've made and how are things working out? Discussing trade-offs or other kinds of reflection are encouraged!
If you include code, we'll be more lenient with moderation in this thread: feel free to ask for help, reviews or other types of input that normally are not allowed.
r/pythoncoding • u/NorskJesus • Oct 17 '25
Cronboard - A terminal-based dashboard for managing cron jobs locally and on servers
Hello everyone!
I’m excited to introduce my new project: Cronboard.
Cronboard is a terminal application that allows you to manage and schedule cronjobs on local and remote servers. With Cronboard, you can easily add, edit, and delete cronjobs, as well as view their status.
Features
Check cron jobs
Create cron jobs with validation and human-readable feedback
Pause and resume cron jobs
Edit existing cron jobs
Delete cron jobs
View formatted last and next run times
Connect to servers using SSH
The project is still early in development, so you may encounter bugs and things that could be improved.
Repo: https://github.com/antoniorodr/cronboard
Your feedback ir very important!
Thanks!
r/pythoncoding • u/NathanFallet • Jul 27 '25
From Python to Kotlin: Why We Rewrote Our Scraping Framework in Kotlin
r/pythoncoding • u/ItsTheWeeBabySeamus • Jul 22 '25
Making 3D videos in under 30 lines of python
r/pythoncoding • u/Humdaak_9000 • Apr 24 '25
Trying to find the most efficient way to sort arbitrary triangles (output of a delaunay tessalation) so I can generate normals. Trying to make the index ordering fast
Assume I've got a list of points like this:
((249404, 3, 3),
array([[ 2765.1758, 1363.9101, 0.0000],
[ 2764.3564, 1361.4265, 0.0000],
[ 2765.8918, 1361.3191, 0.0000]]))I want to sort each triangle's set of three points so they're ordered counterclockwise. How do I do this efficiently in numpy?
def ordertri(testri):
# find x center
xs = testri[:,0]
mx = np.mean(xs)
# find y center
ys = testri[:,1]
my = np.mean(ys)
# calculate angle around center
degs = np.degrees(np.arctan2(my-ys, mx-xs))
# sort by angle
mind = min(degs)
maxd = max(degs)
# filter sort
#mindegs = degs == mind
#maxdegs = degs == maxd
#meddegs = ~(mindegs | maxdegs)
#offs = np.array([0, 1, 2])
#pos = np.array([offs[mindegs], offs[meddegs], offs[maxdegs]]).flatten()
for i in [0, 1, 2]:
if degs[i] == mind:
mindegs = i
elif degs[i] == maxd:
maxdegs = i
else:
middegs = i
# offsets into testtri for min, mid, max angles
return [mindegs, middegs, maxdegs]r/pythoncoding • u/skaffa_yippa • Feb 19 '25
OCR-Resistant CAPTCHA Generator Using Pulfrich Effect (Python PoC)
r/pythoncoding • u/Ambu4 • Jan 16 '25
ChromeDriver Issue
I’m trying to run the “chromedriver” command on python (selenium). I have the chrome.exe in a folder that I can successfully path on Python, but I can’t fire the “chromedriver” command. I have it blocked as it gets considered suspicious/malware and can’t find a way to disable the block on it. Hopefully someone can help me ✌🏼
r/pythoncoding • u/Whowhatwhen2 • Jan 11 '25
Open source Flux image generation Discord bot with local LLM-based chat
Hello everyone. I wanted to share this Discord bot I've been working on called Soupy. It's basically a fun little project that lets you generate images using Flux, and also engage in LLM-based chat. It's written in Python. I'm just a hobbyist coder doing this for fun, but I'm happy to help if you run into issues. This is my first and only project. It's seen many iterations throughout the years.
The main thing Soupy does is generate images using the Flux model - just type /flux with your prompt and it'll create something for you. There are some neat buttons under each image that let you remix it with a new seed, make the prompt fancier, or edit it in various ways. You can also hit "random" and it'll generate a completely random prompt using a combination of themes, characters, and styles (which you can customize if you want). It does this by combining keywords from included files, and then sends those words to the LLM for elaboration. It works extremely well and just spamming the Random button is fun.
The bot also acts as a chatbot using LM Studio as the backend. You can just say "soup" or "soupy" and start chatting, and it also responds randomly at times. It's pretty sarcastic and sometimes jumps into conversations on its own. The personality is set in the .env. It follows the contents of urls/links in the chat, so it's aware of what's going on in the chat. Currently, it reads the last 25 messages of chat history as context for its responses. In the repo, you can see an example of it in action.
There's also a /search command that scrapes Google (using BeautifulSoup, not Google's API) and summarizes it, plus some fun stuff like magic 8-ball, magic 9-ball (LLM powered and weird). And some other little stuff.
You'll need a decent GPU (ideally 24GB VRAM, but you might get by with less) to run the image generation smoothly. The chat part uses LM Studio - I use Lexi Llama Uncensored but you can use whatever model you want. Setup is pretty straightforward: just clone the repo, set up your .env file with your Discord token and local URLs, install dependencies, and you're good to go.
I've got a few different versions in the repo depending on what you want to do. The main new updated one (soupy-remastered.py) does everything locally, but there's also versions that use OpenAI's API or add different features like user profiles. They use OpenAI's API, so use them if you want. But they're also more complicated to setup.
Here's the repo if you want to check it out: https://github.com/sneezeparty/soupy
Let me know if you try it out! And if you have any ideas for making it better, I'm all ears.
r/pythoncoding • u/erez27 • Jun 22 '24
reladiff: High-performance diffing of large datasets across databases
r/pythoncoding • u/gkm-chicken • Feb 09 '24
Any working library to get sports real-time data on Python?
Hello everyone, I am looking for a python library that allows to fetch data from sports like football, NBA, crickets etc in real-time. I actually need only result. If I can get more stats, better. Thank you all!
r/pythoncoding • u/[deleted] • Jan 13 '24
MAC: No fix for TKinter on Sonoma, need new GUI builder.
I've stopped programming on my software 1 month ago since that problem with Tkinter on Sonoma has not been fixed yet.
I have going to write a new software this week. I need something to replace Tkinter for y interface.
Any ideas ? What is the best option right now ?
It needs a basic interface, nothing fancy.
Thanks
r/pythoncoding • u/Divided_By_Zeroo • Jan 09 '24
Automating Subtitle for Videos
self.learnpythonr/pythoncoding • u/nilslice • Dec 07 '23
Hack For Good: $5,000 to Toys for Tots on your behalf - WebAssembly Hackathon
dylibso.comr/pythoncoding • u/ultraviolet_elmo • Oct 08 '23
Seeking Python Friends to Build Projects With
Hey everyone!
I've been learning Python for a couple of months now on my own. I created a simple Python projects in the past but I think it'll be awesome to work with someone who is learning too. My coding skills can be improve and maybe you need a coding friend too.
Please reach out and we can create projects together. You can be a beginner or advanced. It doesn't matter.
r/pythoncoding • u/[deleted] • Aug 04 '23
I'm building local-first semantic code search engine (local AI alternative to grep)
stocking crown grey doll paint abounding chop plant edge employ
This post was mass deleted and anonymized with Redact
r/pythoncoding • u/Permit_io • Jul 12 '23
Python Anti-Patterns in Authorization
Authorization isn't a core Python feature, but the growing usage of Python as an application platform makes it crucial for many apps.
We put together our tips for the best-practices and the way to avoid the common anti-patterns here: https://io.permit.io/python-authz-best-practices
We'll be happy to any thoughts, comments, or more tricks/treats you have in mind.