r/PythonProjects • u/Artistic_Highlight_1 • Jun 06 '23
Analyze graphs with advanced analytical methods
Want to learn how to apply different techniques to analyze graphs in Python? Check out this tutorial!
r/PythonProjects • u/Artistic_Highlight_1 • Jun 06 '23
Want to learn how to apply different techniques to analyze graphs in Python? Check out this tutorial!
r/PythonProjects • u/Avi_TheCodex • Oct 04 '20
Hey guys!
I know it's currently quarantine for most people, recruiting season for students/graduates, but also just a good time to keep up with coding and learning new things. I love projects because I think they're the best way to apply what you've learned and also create something relevant and functional to you-- plus they're great resume/portfolio builders. We know that sometimes it's hard to get come up with ideas or it's just better to start small. Check out this list of more than a 100 Python projects that I compiled on topics such as web development, AI/ML, data science etc. to get inspired and start building!
https://docs.google.com/spreadsheets/d/1X3_hWF4oPKqwi_sDrryTmt2s23TbE1yXbesmjB-IrLg/edit?usp=sharing
A preview of ideas:
Mad Libs Creator
Sports Scores Tracker using Web Scraping
Random Password Generator
Mock Instagram Image Gallery
Movie/TV Show/Music/Book Recommenders with K-Means Clustering
Face Detection using Optical Character Recognition
Sentiment Analysis of Customer Feedback/Reviews
Image Caption Generator using CNN
Product Prices Estimates with ML
Nutrition/Fitness Tracker
Thanks,
Avi
r/PythonProjects • u/mb_craft_exe • Oct 09 '23
A Python library for creating interactive buttons with keyboard navigation.
You can install the Interactive Buttons library via pip:
pip install interactive_buttonsHere's an example of how to use the library to create interactive buttons:
from interactive_buttons import linear_buttons
# Change button color :
# Way 1 :
linear_buttons.Variables.HIGHLIGHT = "\033[30;43m" # Yellow background
# Way 2 :
from colorama import Fore, Back # Needs to be installed by running the command `pip install colorama`
linear_buttons.Variables.HIGHLIGHT = Back.RED + Fore.BLACK # Red background and Black text
# Change decorator (in [button text] the square brackets are the decorators) :
# Way 1 :
linear_buttons.Variables.DECORATOR = ["<", ">"] # [button text] -> <button text>
# Way 2 :
linear_buttons.Variables.DECORATOR = [] # [button text] -> button text
# Way 3 :
linear_buttons.Variables.DECORATOR = ["> "] # [button text] -> > button text
# Define button configurations as a list
button_configurations = [
['Button 1', function_1],
['Button 2', function_2, ('arg1', 'arg2')],
]
# Create linear buttons and start the interactive interface
linear_buttons(button_configurations)
The Interactive Buttons library allows you to easily create interactive buttons for user interaction in your Python applications. It provides a simple and intuitive way to create a list of buttons, associate them with functions, and navigate through them using the keyboard. This library is particularly useful for creating text-based interactive menus and interfaces.
Check out the GitHub repository for the latest updates, issues, and contributions. Feel free to contribute to the project or report any issues you encounter.
I am waiting for your opinion about this project !
r/PythonProjects • u/Avi_TheCodex • Nov 05 '20
Hey guys, I'm Avi!
Happy (continued?) election day!
I have a feeling that most of us are checking the polls and watching the news right now for the results of the election.
A while ago, I thought it was definitely hard to keep track of it all so I thought it would be fun to bring Flask and Python into it and make something relevant.
But I guess we could still use it today. So while you're waiting for the results and have some time on your hands, give a shot at this project and create a dashboard that that tracks the polling data for the candidates!
Check it out and let me know if you have any questions-- happy to help if anyone gets stuck! :)
r/PythonProjects • u/[deleted] • Jun 22 '23
I was wondering what are the things I could automate with python. I know A LOT! ππ
π§ How about movies??
I had nothing specific in mind, but I know I could build something.
We all use Wikipedia a lot for many topics and movies being one of them , an idea clicked.
I'd like reading movie plots alot why not scrape the Plot section of the movie articles and build a website to read only movie plots??
Felt like doing something creative is a good exercise, but what movies??
With the Wikipedia a part already figured out, luckily I discovered python package for IMDb. So there is a module to fetch top200 movies list from IMDb using python.
Now
wikipedia(data scraping, python package, api)
imdb(python package) What about the website??
I'm not gonna spend $$$ for my side-project that much, instead decided to use bloggerAPI service, which allows use to create free blog websites with Google.
I can create a blogger website with a click and use it's API to upload posts.
πππππππππππππππππππ
It's very simple:
Fetch top200 movie title list
For each movie title, check if the title has topic "movie"
If yes, get the article(url+python) from wikipedia, and scrape the data between Plot section and the Cast section. I said between Plot and cast since the html structure of Wikipedia articles makes it difficult scrape the particular section but, since all the movies articles almost follow the same pattern, that is the decision I made.
Finally, bloggerAPI. Nothing special here:
Create a project in the Google API Console
Enable the Blogger API for your project
Create an API key and OAuth 2.0 Client ID
That's it! Run the script which will take care of the rest.
The Blogger Website : https://movieplotzz.blogspot.com/
Here is the github : https://github.com/pj8912/wiki-blog-automation clone it and follow the instructions to automate the process of creating your own movie plots website and have fun! π
r/PythonProjects • u/Artistic_Highlight_1 • Jun 18 '23
Want to learn to create an AI chess engine with imitation learning? Check out this article on creating an AI chess engine! In it, I use Python and Stockfish and generate a dataset that I can then use in the future to train my AI chess engine!
r/PythonProjects • u/Salaah01 • Jun 25 '23
Literally just finished a Python library for reading massive JSON files.
Python's json library is awesome, it's really fast, but, it does load the entire JSON into memory which might not be ideal if for whatever reason you have a massive JSON file and/or you have limited memory.
Under the hood of json-lineage I have created a Rust binary to convert JSON to JSONL and spit it out iteratively. This means the Python package is able to iteratively read each line without having to load the entire file into memory.
Now, this doesn't replace the `json` library at all. For smaller files, the `json` library is 100% the one to use. However, where file size becomes a problem and not loading the entire file into memory is a requirement, this might be suitable.
Here are some benchmarks:
32MB JSON file
| Library | Time (s) | Memory (MB) |
|---|---|---|
json | 0.166 | 158.99 |
json_lineage | 1.01 | 0.52 |
324MB JSON file
| Library | Time (s) | Memory (MB) |
|---|---|---|
json | 1.66 | 1580.46 |
json_lineage | 10.06 | 0.71 |
Link to repo: https://github.com/Salaah01/json-lineage
Link to GitHub pages: https://salaah01.github.io/json-lineage/
Link to PyPI: https://pypi.org/project/json-lineage/
r/PythonProjects • u/AeroArtz • May 27 '23
r/PythonProjects • u/Artistic_Highlight_1 • Jun 11 '23
Have you encountered the problem where you have ranked lists, but no ground truth to compare which of the 2 lists are most correct? Then check out this article to learn how to compare the 2 lists!
r/PythonProjects • u/Artistic_Highlight_1 • Jun 01 '23
Want to learn to create a recommendation system? In this article I make a recommendation system for books, using book plots I have scraped online!
r/PythonProjects • u/Artistic_Highlight_1 • May 30 '23
Want to learn to scrape weather forecast data and tweet accuracy results? Check out: https://medium.com/@oieivind/weather-comparison-app-part-2-aquire-historic-data-and-set-up-automated-tweets-d9896291f017
r/PythonProjects • u/MrCactochan • Jun 05 '23
Tcmd stands for top commands. This tool can be used to see the most used commands. The tool was written in python3 and is pretty simple. It can be downloaded from pypi.
https://github.com/merwin-asm/tcmd
r/PythonProjects • u/Salaah01 • Jul 03 '23
Introducing json-lineage v0.2.1: The Ultimate Solution for Memory-Efficient JSON Loading in Python! π₯π
Ever noticed how much memory Python's JSON parser can hog?
Ever noticed your application slow down when loading large JSON files?
Is there even an easy solution?
Well, json-lineage is here to revolutionise your JSON workflows with its unparalleled memory efficiency. π‘π
While Python's JSON parser is a reliable tool, it can be quite memory-intensive, causing bottlenecks and hindering performance. json-lineage is purpose-built to address this challenge, offering remarkable memory optimisation without compromising on functionality. β‘πͺ
Although json-lineage may not surpass Python's JSON parser in terms of raw speed, its memory efficiency shines through. By reducing memory usage, json-lineage allows you to process large JSON files that wouldn't fit into memory otherwise. This opens up exciting possibilities for working with massive datasets without sacrificing performance. ππ‘
Click the link below and explore how json-lineage can supercharge your projects by leveraging its exceptional memory efficiency. π₯π
https://github.com/Salaah01/json-lineage
Oh, and here's a pretty graph:

r/PythonProjects • u/[deleted] • May 25 '23
r/PythonProjects • u/pylenin • Jun 02 '22
I have recently written an article about Python datetime library and included various examples showing the usage of different classes. Check out the article herer. Let me know if you have any comments.
r/PythonProjects • u/monica_b1998 • Jun 16 '20
r/PythonProjects • u/_OptedOut • Nov 05 '18
Make an 8 bit Christmas tree with changing/rotating colors.
On the bottom, have it display a countdown.
r/PythonProjects • u/M4vo • Jul 09 '21
Hi i started learning django and i am looking for some newb like me to create full website. Just for training.
r/PythonProjects • u/Honestly__nuts • Nov 30 '20
Hello, I'm Honestly Nuts. I'm somewhat new to python, even though I've been learning it since march (mostly because I got carried away with learning c and other languages). So, I wanted to get back into python with a project. I recently had an idea to make a Coreutils implementation in python and maybe add a few original programs in it as well (things like a unit-converter).
But making a Coreutils implementation alone is like cutting a tree with a butter knife. So, I want you guys to contribute to this project. Maybe one day we can make this something big.
This may look a bit/very nonprofessional because This is the first time I've asked people on the internet to contribute to a project.
This way we can all get experience in working with people on the internet. I'm dumb. This is dumb.
r/PythonProjects • u/MrCactochan • Apr 24 '23
r/PythonProjects • u/Spirited_Sir2450 • Mar 31 '23
I am a first year undergraduate computer science student. This semester, we've learnt a little bit of the basics of programming in python in school. I learnt that next semester, we're going to learn the basics of a different programing language, probably JavaScript(meaning we wont continue with where we've stopped with python). I am so much interested in understanding and using python programming language to the fullest, so that I can build some little projects(real life projects) on my own and also to be able to get a remote job to support myself while I am in school. I have got some video tutorials from some of my mates who have siblings who have done computer science and I want to continue my studies on python when we're on vacation(vacation starts next three weeks). Going through the internet(seeing what people have put there or here), I can see that I have a long way to go, I am not discouraged by that, I just want to know how you guys made it to the point you are now so that I will use it for guidance on how to go about this. Thank you!
r/PythonProjects • u/tenbeastop • Mar 28 '23
Rate my project from 1 to10
r/PythonProjects • u/Destiny-97 • Mar 29 '23
enjoy piquant subtract rainstorm smart many friendly berserk rock hat this message was mass deleted/edited with redact.dev