r/PythonProjects • • Jun 06 '23

Analyze graphs with advanced analytical methods

0 Upvotes

Want to learn how to apply different techniques to analyze graphs in Python? Check out this tutorial!


r/PythonProjects • • Oct 04 '20

A List of 100+ Random Python/DataScience/MachineLearning Project Ideas

5 Upvotes

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:

  1. Mad Libs Creator

  2. Sports Scores Tracker using Web Scraping

  3. Random Password Generator

  4. Mock Instagram Image Gallery

  5. Movie/TV Show/Music/Book Recommenders with K-Means Clustering

  6. Face Detection using Optical Character Recognition

  7. Sentiment Analysis of Customer Feedback/Reviews

  8. Image Caption Generator using CNN

  9. Product Prices Estimates with ML

  10. Nutrition/Fitness Tracker

Thanks,

Avi


r/PythonProjects • • Oct 09 '23

Introducting Interactive Buttons !

8 Upvotes

Interactive Buttons Library

A Python library for creating interactive buttons with keyboard navigation.

Installation

You can install the Interactive Buttons library via pip:

pip install interactive_buttons

Usage

Here'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)

Output example

Project Description

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.

GitHub Repository

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 • • Nov 05 '20

Building a 2020 Presidential Election Dashboard with Flask and Python (bumping a Python project)

1 Upvotes

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! :)

https://blog.thecodex.me/polling-dashboard-python/


r/PythonProjects • • Oct 27 '20

Python Programming

1 Upvotes

r/PythonProjects • • Jun 22 '23

Blog Automation using Python🐍& Blogger

1 Upvotes

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.

🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞🎞

Workflow

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 • • Jun 18 '23

Create an AI chess engine

1 Upvotes

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 • • Jun 25 '23

Python Library to Iterate over Massive JSON without Loading Entire File Into Memory

1 Upvotes

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

LibraryTime (s)Memory (MB)
json0.166158.99
json_lineage1.010.52

324MB JSON file

LibraryTime (s)Memory (MB)
json1.661580.46
json_lineage10.060.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 • • May 27 '23

How To Build A ChatPDF App for FREE in Just 14 Minutes using Python! | Without OpenAI API

Thumbnail
youtube.com
1 Upvotes

r/PythonProjects • • Jun 11 '23

Compare ranked lists with RBO with Python

2 Upvotes

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 • • Jun 01 '23

Create a recommendation system!

1 Upvotes

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 • • May 30 '23

Scrape and analyse weather data!

1 Upvotes

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 • • Jun 05 '23

tcmd || Tool

1 Upvotes

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 • • Jul 03 '23

A Memory-Efficient JSON Parser

2 Upvotes

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 • • May 25 '23

HELP!! I have a project where i have to create a hybrid data structure [ Hybrid here means a composite data structure which consists of two more fundamental linear and non-linear data structures.],and this data structure should solve a real-life problem efficiently. Any ideas?

1 Upvotes

r/PythonProjects • • Jun 02 '22

Python Datetime Module (With examples)

1 Upvotes

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.

Mastering Python datetime(With examples)


r/PythonProjects • • May 09 '22

Doctor Strange Filter using Mediapipe

4 Upvotes

r/PythonProjects • • Jun 16 '20

A tool that can paint in Excel Sheets. Can use existing images to paint them in Excel.

Thumbnail
github.com
1 Upvotes

r/PythonProjects • • Nov 05 '18

For the Holidays

2 Upvotes

Make an 8 bit Christmas tree with changing/rotating colors.

On the bottom, have it display a countdown.


r/PythonProjects • • Jul 09 '21

[Python Django]Django Project

2 Upvotes

Hi i started learning django and i am looking for some newb like me to create full website. Just for training.


r/PythonProjects • • Nov 30 '20

Scuffed-Utils

1 Upvotes

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.

Lines That did not fit in the paragraph:

This way we can all get experience in working with people on the internet. I'm dumb. This is dumb.

repo


r/PythonProjects • • Apr 24 '23

Python project | Crawler tool thingy I made

Thumbnail
github.com
2 Upvotes

r/PythonProjects • • Mar 31 '23

Share your experience with me and give me tips that will help me.

2 Upvotes

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 • • Mar 28 '23

https://replit.com/@zucalcu/Python?s=app

1 Upvotes

Rate my project from 1 to10

https://replit.com/@zucalcu/Python?s=app


r/PythonProjects • • Mar 29 '23

Newbie needs help

1 Upvotes

enjoy piquant subtract rainstorm smart many friendly berserk rock hat this message was mass deleted/edited with redact.dev