r/madeinpython • u/jim1930 • Aug 30 '20
r/madeinpython • u/onlysane1 • May 20 '20
Automated the game Six Degrees to Hitler
https://gist.github.com/onlysane1/4699d1ee6079ff4291d9ff7da3145b35
Nearly everyone knows the Wikipedia game Six Degrees to Hitler; supposedly, starting from any reasonably sized Wikipedia page, it takes six or fewer Wikipedia links going from Wiki page to Wiki page to get to the Wikipedia page for Adolf Hitler.
This code automates the process, and returns how many links it took to get to Hitler.
Be careful with this one. It takes a long time to load all of this, and this is more for the concept than to be actually used. Good for practicing some very basic web scraping.
r/madeinpython • u/bjone6 • Jun 24 '23
I used to use the Zillow API in my personal finance project but they outsourced it to Bridge Interactive which doesn't support hobby programmers. Here's a quick video on how to access the ZillowAPI through RapidAPI. Please enjoy my cat outtake in the first 30 seconds.
r/madeinpython • u/rastapapoulos74 • Oct 15 '22
How to convert Youtube video to MP3 (using Python)
r/madeinpython • u/Fisherman386 • Sep 27 '22
I created a script that generates a photomosaic from a set of images. It can also generate a low resolution image, a GIF and a video of the result.
r/madeinpython • u/Tungara2007 • May 16 '22
Solar System Simulation using Ursina Game engine and Python
I am still an ameteur programmer and I decided to try and learn how to use the Ursina Engine. The video quality isn't very good but here is the end product: https://youtu.be/Kf3Wj51U1nc.
r/madeinpython • u/MrAstroThomas • Jan 01 '22
Space Science with Python #20 - Tisserand's Parameter Space
r/madeinpython • u/[deleted] • Nov 12 '21
Download mp3 from youtube
This is a little script I worked out from a few things I saw online.
You can use it to get individual videos but the real joy is playlists XD
Make sure you install the libraries to use it
Enjoy!
from pytube import YouTube, Playlist
import os
import random
def getPlaylist(playlist_link):
video_links = Playlist(playlist_link).video_urls
video_titles = []
for link in video_links:
video_titles.append(YouTube(link).title)
print(len(video_titles))
print(len(video_links))
for i in range(len(video_links)):
yt = YouTube(video_links[i])
yt.title=video_titles[i]
print(yt.title)
video = yt.streams.filter(only_audio=True).first()
out_file = video.download(output_path=".")
base, ext = os.path.splitext(out_file)
new_file = base + '.mp3'
os.rename(out_file, new_file)
print('done')
def getLink(link):
print(link)
yt = YouTube(link)
print(yt.title)
video = yt.streams.filter(only_audio=True).first()
out_file = video.download(output_path=".")
base, ext = os.path.splitext(out_file)
new_file = base + '.mp3'
os.rename(out_file, new_file)
print('done')
playlist_link = '' #link goes here
link='' #link goes here
# Uncomment what you want to use
#getPlaylist(playlist_link) #for playlists
#getLink(link) #for single videosr/madeinpython • u/[deleted] • Sep 27 '21
Using Minimax Algorithm to create an Unbeatable Tic-Tac-Toe Opponent in Python
r/madeinpython • u/Dummerle42 • Sep 01 '21
Rare - A Gui for Legendary, an open source Epic Games Launcher Alternative. Check it out!
r/madeinpython • u/AugmentedStartups • May 27 '21
Face Detection in 5 minutes - 70 FPS on CPU Tutorial
r/madeinpython • u/Code_Wide • Mar 12 '21
I made a Facial Mask Detection robot using Python, a raspberry pi, TF2 and OPENCV. any ideas for additional features?
r/madeinpython • u/bjone6 • Jan 02 '21
I'm making my own CEO simulation game using PyGame. In this video, we start a New Game and get the user's name and allow the user to select a career path. The buttons and text are interactive when they're selected. Github link in the comments. Enjoy!
r/madeinpython • u/Ares358 • Oct 20 '20
Made a Twitter bot that tweets a random snippet of Lyrics from my list of favorite songs every 3 hrs with random Aesthetic images. Also replies the same to anyone who @ it with the correct format.
You can checkout the bot on Github and in action on Twitter!
The bot script reads a random line from the list of song and their artists I've provided and searches for it's lyrics via the Musixmatch API. It then takes a random portion of it's lyrics and if it's size is within the tweet capacity, posts it with a random aesthetic image obtained via the Unsplash API and filtered via PIL.


Also, If you @ the bot with "#GetSnip <Song name> by <Artist Name>", It'll reply with a random snippet of it's lyrics, if it's available on Musixmatch's DB. It'll also Like and retweet your tweet.

r/madeinpython • u/Glorynesss • Aug 25 '20
I made a PyQt5 app that is used for multithread testing
This project was pretty fun to make, as you can mess around and see how much QThreadPool can handle in PyQt5.
To start with, there are 10 counters (threads), and all are idle until you presss Start. Stop will cancel that counter, and Reset will reset the counter back to its original number.
In the Edit MenuBar, you can see a Config setting which you can configure the maximum number of threads allowed to happen at once and how much counters you want. There are also Start All, Stop All and Reset All options which will start/stop/reset all counters.
You may be wondering, what are these 'counters', well they are organized very neatly and each have their own Start, Stop and Reset option next to them.
They also will show what they will count up to and the current number they're at.
For example: Process 1 (0-2500), Process 2 (2500-5000), Process 3 (5000-7500) and etc.
Nothing much is happening inbetween each count, only a small time.sleep(0.005). You can configure this by editting the multiprocessing.py file and going to line 298 to configure what will happen inbetween each task.
Preview:

Each row will have a different colour depending on it's status:
- Active: Green
- Inactive: Black
- Queued: Red
Link to GitHub: https://github.com/Gloryness/Multiprocessing-in-PyQt5
r/madeinpython • u/[deleted] • Aug 10 '20
Made a game of Hangman in Python and Pygame
here is the source code
Would appreciate if you could see and give suggestions !!