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 • • 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 • • Dec 09 '22

Python beginner/intermediate finished projects I can tinker with/for inspiration?

4 Upvotes

Hello, I was wondering if anyone knows of any finished projects that you can tinker with? I'm really just looking for something that can bring out the possibilities of python, I know you can do just about anything with programming but It's hard to find concrete examples. Anything would be extremely helpful I just know I want to learn more but it's hard to find them even with the help of the internet. Thanks. :)


r/PythonProjects • • Jul 10 '22

Eye Blink Using Python

Thumbnail
youtube.com
4 Upvotes

r/PythonProjects • • May 09 '22

Doctor Strange Filter using Mediapipe

4 Upvotes

r/PythonProjects • • Sep 08 '23

Edvart: An open-source Python library for generating data analysis reports 📊

Thumbnail self.datascience
3 Upvotes

r/PythonProjects • • Jul 13 '23

Do you know how to write python one-liners?

3 Upvotes

Here is a good tutorial about anything that you need to know about one-liners:

One Liner Tutorial


r/PythonProjects • • Apr 18 '21

I have created an app in Python.

3 Upvotes

Hey! I am 14 years old and I have made a free and open source app in PySide2.

Its name is MrPlayer and it is Mp3 Player which plays songs from local folder with lyrics which is extracted from genius.com but for lyrics you need to create a genius API token which is very simple. It is a full fledge app please check it out on https://AkshatChauhan18.github.io/MrPlayer every detail is provide in website.

Please star the GitHub repository and all contributions are appreciated. It also have a CLI.


r/PythonProjects • • Oct 13 '23

🌈 Explore dyPixa: A Colorful Journey into Open Source 🖼️

Thumbnail
self.hacktoberfest
2 Upvotes

r/PythonProjects • • Sep 27 '23

Trouble with loops - I feel dumb please help

2 Upvotes

Essentially, I am trying to create a function that takes two numbers as inputs and returns their product (just multiplies them together using a loop).

BUT I am not able to use the * operator, or use the word multiply in general.

I know it has something to do with addition... idk


r/PythonProjects • • Aug 31 '23

Learn how to create an OCR backend with Python Flask

2 Upvotes

Learn how to create an app to take images and extract text from them by checking out this article on using OCR with React Native and Python Flask.


r/PythonProjects • • Aug 26 '23

Alfred, a advanced OSINT tool

2 Upvotes

On behalf of my team, I would like to show to you all, Alfred a OSINT information gathering tool made 100% in python. Alfred searches sites for usernames that was imputed. Our tool is still in heavy development so all feedback is a appreciated. Check it out if you would like, thanks for your time :D

https://github.com/Alfredredbird/alfred


r/PythonProjects • • Aug 11 '23

gmail bot

2 Upvotes

I've created a Gmail bot that automatically connects to my Gmail account, checks the inbox for new emails, and if there are any, it sends me a message to a special Discord channel, mentioning me.
It's still under development at the moment. I'm trying to give it a graphical interface to make it more user-friendly.


r/PythonProjects • • Jul 30 '23

A Cybersecurity Attack Simulation Library for testing and strengthening system defenses.

2 Upvotes

Hello everyone,

I'm excited to share with you a project I've been working on - "Panthon". Panthon is a machine learning-powered cybersecurity attack simulation library. It's designed to test and fortify our system defenses against a wide array of cyber threats. Leveraging advanced machine learning techniques, Panthon provides an evolving solution to stay ahead in the dynamic landscape of cybersecurity threats.

The ultimate aim is to help develop more secure and resilient systems by understanding and anticipating potential vulnerabilities. However, please note that this project is still in its early development stages, and the machine learning part of this program is yet to be developed.

I would love to invite you all to contribute to this project. You can do so by sending in Pull Requests (PRs) on Github: https://github.com/NripeshN/panthon.

If you find this project interesting, consider giving it a 'Star' on Github. It helps boost our visibility and encourages more people to contribute!

If you're not familiar with Github collaboration or if you have any queries, don't hesitate to DM me. I'm more than happy to guide you through the process or discuss the project in more detail.

Looking forward to your active participation and contributions!


r/PythonProjects • • Jul 15 '23

AI for medical

2 Upvotes

Good afternoon Community,

My name is Dr. Aymen , and I am resident doctor in radiology.

I am looking for an expert, very passionate developer with whom I cam work together to develop an AI software for reading chest x ray .

For me I will do the Medical and clinical part .

Please if you are interested don't hesitate to contact me.


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 • • 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 • • 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 • • Dec 27 '22

CoreAI - Simple chatbot

2 Upvotes

Hello 👋

I've been working on a project recently. It is a simple chatbot and I would really like some feedback on it as well as any suggestions to improve it.

here's the link: https://github.com/G8MR/CoreAI

p.s. the username for my github acc is different


r/PythonProjects • • Nov 21 '21

Python Replace Character in String - pythonpip.com

Thumbnail
pythonpip.com
2 Upvotes

r/PythonProjects • • Nov 11 '21

I Found Out How KANYE 2020 Actually Went...

Thumbnail
youtube.com
2 Upvotes

r/PythonProjects • • Sep 17 '21

How to draw bepis in python using turtle graphics

Thumbnail
youtu.be
2 Upvotes

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.