r/madeinpython • • Mar 09 '22

I made a WWII Enigma machine in Python!

28 Upvotes

Cryptography has always been an interest of mine, and a bit of a hobby. I have a math/engineering background, and recently came across some well-presented information on how the Enigma machines from WWII worked. I thought it sounded like a fun project, so I coded one up. Check it out and let me know what you think!

My GitHub repo

There's no UI (sorry). It seems to be working to me. Not really a secure cipher these days, but I thought it would be fun to try and I was happy with the results.

For those familiar with the inner workings of Enigma, I implemented 8 wheels based on wheel specifications found here. My machine allows for any number of wheels, and you can repeat, but if you're trying to be historically accurate you should choose 3-4 unique wheels from the 8. I also implemented a patch board that allows up to 13 patches (any more and you are either repeating or conflicting). I allow for ring offsets as well as message offsets for each wheel. The only thing I don't have a good spec for is the reflector, so I just implemented one that does the job for now. I plan to put something more realistic or something configurable in there later and, if I'm feeling really ambitious, adding a UI to make it easier to use.

Next step: make a Bombe Machine to crack it!


r/madeinpython • • Jan 07 '22

python program that causes your computer to bluescreen when you die in Minecraft

28 Upvotes

Made a simple python program that causes your computer to bluescreen when you die in Minecraft

It was a pretty simple program to make, and I thought I'd share it here in case anyone else would like to try it out and give me some feedback

It currently only works on Windows but I'm hoping to port it to macOS and Linux

source: https://github.com/EmeraldIngot/dontdie-minecraft/


r/madeinpython • • Sep 25 '21

3D Space Invaders in Python

Thumbnail
youtu.be
28 Upvotes

r/madeinpython • • Sep 13 '21

Learned Tkinter a while ago..So I have made a very basic Snake Game using Tkinter(Python)

28 Upvotes

r/madeinpython • • May 22 '21

I created an open-world RPG using Tkinter and PyGame (description and itch.io link in comments)

Thumbnail
youtube.com
28 Upvotes

r/madeinpython • • Feb 18 '21

Dropsave - Auto Organize New Dropbox Files with Python

Thumbnail
youtube.com
28 Upvotes

r/madeinpython • • Dec 29 '20

I made updates to my own digital assistant. Here's an upgrade to my previous Make Your Own Alexa video. I implemented many of the suggestions from this subreddit. The program starts at 1:46. Github link in the comments. Enjoy!

Thumbnail
youtu.be
28 Upvotes

r/madeinpython • • Oct 31 '20

Introducing igel: a delightful machine learning tool that allows you to train, test and use models without writing code

Thumbnail
github.com
28 Upvotes

r/madeinpython • • Sep 11 '20

I wrote a Python script to export all the clippings, notes or highlights from a Kindle to a page in Notion. Just run this script whenever you plug in your Kindle device to your PC and your Notion page will get updated with the changes.

Thumbnail
github.com
28 Upvotes

r/madeinpython • • Jun 21 '20

I made a python program using tkinter called 'Stared-Out' that takes a .txt file and censors (stars out) any words you want. You can choose from a list of common swear words or add any custom words you want.

28 Upvotes

r/madeinpython • • May 05 '20

Meta Mod Applications

28 Upvotes

In the comments below, you can ask to become a moderator.

Upvote those who you think should be moderators.

Remember to give reasons on why you should be moderator!


r/madeinpython • • 20d ago

Git-Jet

27 Upvotes

A jet that shoots and destroys your commit history for your README

https://github.com/PingPongPlus/git-jet


r/madeinpython • • Aug 28 '24

Ascii + Curses Text Based Battle Animations

27 Upvotes

Would animations like this add any value to a text based RPG game, if so is it worth the effort to enhance them to be on par with something like this? https://gist.github.com/msimpson/1096950


r/madeinpython • • Sep 20 '22

Python Stock Exchange Simulator

27 Upvotes

Hi everyone!

I wanted to share with you a repo that I just published. It basically replicates how a stock exchange works, and you can add multiple agents (traders, market-makers, HFTs), each with its own custom behavior, and analyze how they interact with each other through the pricing mechanism of an order book.

It is a pretty niche topic, and I think that its applications are mostly academic, but since some of you are at the intersection of computer science and financial markets, I thought you might be one of the few people that could be interested! Needless to say, I would really appreciate your feedback also! https://github.com/QMResearch/qmrExchange


r/madeinpython • • Sep 19 '22

A cool Python tool to download Research papers in bulk from any conference

27 Upvotes

Hi folks,

I was working on a personal experimental project, which I thought of making it open source now. It saves much time for literature research.

If you try to search papers related to your topic, finding relevant documents on the internet takes time. You probably know the pain of extracting citations of articles from different websites.

Previously I used to fetch papers from google or semantic scholar, but semantic scholar does not show correct paper citations.

I am excited to announce [RESP: Research Papers Search](https://github.com/monk1337/resp)

Features:

  • Fetch all citations of a single paper from Google Scholar in CSV format

  • Fetch all related papers of a single paper from Google Scholar in CSV format

  • Fetch all connected papers from connectedpapers.com (it does not use a citation tree, it uses [similarity](https://www.connectedpapers.com/about) to build graphs) in CSV format

  • Fetch relevant papers based on keywords from different sources, including Arxiv, ACL, ACM, PMLR, NeurIPS, cvf etc., in CSV format

I am working on a few more projects; if you like the project, follow me on GitHub (https://github.com/monk1337) for more cool Machine Learning/Graph neural networks, Python-based projects and ideas notifications in the future.

I hope it will be helpful in your research. Thanks :)


r/madeinpython • • Sep 12 '22

Recreate Minecraft in Python

27 Upvotes

To follow up my last posts on how i recreate Minecraft in Python, i will show you the next step of my work.

Here, I added a procedural terrain generation using 3D noise and new block materials.

Then, I have added the ability to place blocks by yourself, that are stored in a Sparse Matrix for a better memory usage.

All this work is made with the Harfang3D framework.

New post soon for next steps.

As always, if you have any questions or recommendations, feel free to tell me.


r/madeinpython • • May 05 '22

[matplotlib] Integral approximation using Riemann sum

27 Upvotes

r/madeinpython • • Oct 03 '21

Space Science with Python - Part 4: The Earth

Thumbnail
youtube.com
27 Upvotes

r/madeinpython • • Oct 03 '21

Im looking for some good python bot ideas. Thanks all

27 Upvotes

r/madeinpython • • May 28 '21

Here's Part 2 of Building a Trading Bot using QuantConnect. Thanks for all the Reddit love from the first video. The QuantConnect syntax is dense and most of the info on YouTube is hard to follow. I'm making a step-by-step series to take it a little slower. Enjoy!

Thumbnail
youtu.be
27 Upvotes

r/madeinpython • • May 18 '21

convert jpg and png images to pdf using pillow library

Thumbnail
youtu.be
27 Upvotes

r/madeinpython • • Jan 21 '21

I created a video where I share a couple of examples of project structures, by developing a basic project and showing where each code snippet could be located for making your code more comfortably maintained

Thumbnail
youtube.com
27 Upvotes

r/madeinpython • • Jun 13 '20

Automatically Download S&P 500 & Russell 2000 Stock Data, Move and Rename the Files, and then Graph it Out with Matplotlib. Stock Market Analysis Automation!

Thumbnail
youtu.be
27 Upvotes

r/madeinpython • • Jun 07 '20

Made a simple YouTube Timestamper bot in Telegram using Python.

27 Upvotes