A very simple calculator with a modern UI made in Python thanks for the stunning Sun-Valley-ttk-theme and Segoe UI Variable font.

Overview

Fluent-Python-Calculator

A simple Python calculator with Sun-Valley-ttk-theme image

About Fluent-Python-Calculator:

A very simple calculator with a modern UI made in Python thanks for the stunning Sun-Valley-ttk-theme and Segoe UI Variable font. This is my first project ever in my life so feel free to open an issue or pull requests to help me finish the project!

Use the calculator

  • Make sure you have a code editor (VS code, Notepad ++,..) and Python installed.
  • Download the file in release
  • You can double click to run the program or open with a code editor to edit it

Dark/Light mode images

Light mode: image

Dark mode: image

Future development

  • Improve button size
  • Add 'error' message into the app
  • Improve UI
  • Add proper changing dark/light mode
  • Change to exe? (maybe)
Comments
  • Make titlebar dark

    Make titlebar dark

    In the latest release notes you said that you look for a way to make the Titlebar change color. I dont know a direct solution, but when using the BlurWindow Module (python -m pip install BlurWindow) with Dark = True, the titlebar changes its color to dark. And the window also gets blurred, which looks great on modern apps! I would make a pull request, but i cant get to my PC at the moment.

    EDIT: i dont know if this solution also works for the menu bar. You need to check.

    ✨ feature 
    opened by not-nef 41
  • App's UI is not working perfectly

    App's UI is not working perfectly

    I downloaded the v5 (Beta) version and ran it on my Windows 10 laptop and here's how it looks:

    Fluent Calculator 2_19_2022 7_44_59 PM Fluent Calculator 2_19_2022 7_45_10 PM Fluent Calculator 2_19_2022 7_45_16 PM

    The first photo's background is white only, however on taking screenshot, it shows black. The second photo is of dark mode. The third photo is after disabling dark mode, in which also the background is white but in screenshot it is black. I am running Windows 10 Version 21H1.

    📣 bug ✨ feature 
    opened by RivanParmar 27
  • Buttons need to click multiple times before they can be insert into the content

    Buttons need to click multiple times before they can be insert into the content

    More info: Only happens in light mode because the 'pressed' state in light mode is a bit transparent, but the windows was also transparent for the mica effects so it needs to click multiple times before they can be insert into the content. This does not happen in dark mode, because the 'pressed' state in dark mode is not transparent. This was not happens before switching to the sv_ttk because I modified the 'pressed' state. Not sure if you guys facing the same issue, if yes, I will ask rdbende to modify the button to not transparent

    https://user-images.githubusercontent.com/86362423/164738773-eeb3e5c1-9327-49ff-83a6-482e21669943.mp4

    📣 bug 
    opened by HuyHung1408 23
  • Zero division easter egg

    Zero division easter egg

    This is just a little idea i had: We could add a small easter egg: the application will not say error after a few times of trying, but things like: "Stop dividing by zero!", "Seriously, stop", "STOP IT!!!!!!". And things like that. I thought this will be a cool little secret.

    ✨ feature 
    opened by not-nef 18
  • Better way of using Mica with tkinter

    Better way of using Mica with tkinter

    Hey, I found a way of using mica with tkinter without a third party app

    You need to use these two pieces of code

    https://gist.github.com/Olikonsti/879edbf69b801d8519bf25e804cec0aa the first one enables the windows immersive dark mode with a dark title bar

    https://gist.github.com/Olikonsti/8cbcba376c92831a27bc92ce0bb4dbc7 this code blurs the window

    you first run dark_title_bar(window) on your window and then enable_blur(window)

    this needs to happen after changing window.resizable()

    I am currently building a library with the sun valley ttk theme, the tkinter blur and extra widgets like scrollframes and entry boxes with ghost text: https://github.com/Olikonsti/MTK

    ✨ feature 
    opened by Olikonsti 10
  • No option to backspace

    No option to backspace

    There is no option to backspace. You can't remove single digits in the entry widget. There is option to only clear the widget and you have to type everything back again.

    Possible solution:

    • Add another button for backspace. OR
    • Make it such that on clicking the "C" button once, removes a single digit from the entry widget and on long press, clears the entire widget.
    ✨ feature 
    opened by RivanParmar 9
  • Move calculations to a different .py file

    Move calculations to a different .py file

    What do you think about that @HuyHung1408 ? I would like to move the calculation part of the program to a different .py file, as it is about to get larger. Only an idea tho, i just want to make the code look good. No problem if you dont want it.

    opened by not-nef 5
  • Modified entry widget to interact properly with keyboard

    Modified entry widget to interact properly with keyboard

    I have modified the Entry widget to be set to focus throughout the program right from the start. This is because the user won't have to click on the widget to write in it from the physical keyboard. The user will only be able to input numbers and operators to the Entry widget from the physical keyboard. The operators include: "+", "-", "*" and "/". You can add more in the checkIfNumberOrOperator function.

    opened by RivanParmar 5
  • Revert my last pr

    Revert my last pr

    Ok, so, i investigated in this topic a little bit further (I think you say it like that) and found out, that the buttons actually dont change position when dark mode is enabled. The contrast between the border color of the white buttons and the white background is just so low, that they appear 1px smaller than they actually are, which is the reason that the dark buttons look like they are closer to each other. I will attach a video that shows this. Sorry for the inconvenience.

    https://user-images.githubusercontent.com/83908932/163678536-d5cc54dc-d935-4850-9319-ade9ee2a0c15.mp4

    opened by not-nef 3
  • Cannot import sv_ttk

    Cannot import sv_ttk

    This isn't exactly an issue but, on opening the source code files in VSCode, it shows error on 'import sv_ttk'. The error is ModuleNotFoundError: No module named 'sv_ttk'. I have also downloaded this repository: https://github.com/rdbende/Sun-Valley-ttk-theme, however it isn't working. Moreover I could not find any other library named sv_ttk. I have the BlurWindow module and there's no error in importing it. So, could you please describe the steps to setup sv-ttk in VSCode project?

    opened by RivanParmar 3
Releases(v2.0)
  • v2.0(May 29, 2022)

    This is version 2.0 of FluxCalc! We are so excited to bring you the new UI redesign and all the other new Features!

    New Features

    • Big UI redesign by @HuyHung1408
    • Proper Bracket multiplication by @not-nef
    • Added Always on top feature so you can easily pin it on top, and use it anytime.
    • Fluent Python Calculator finally has a proper, a better name, FluxCalc, hope that we can bring you the best experience while enjoying our apps!

    Full Changelog: https://github.com/Futura-Py/FluxCalc/compare/v1.0...v2.0

    Source code(tar.gz)
    Source code(zip)
    FluxCalc-setup.exe(8.57 MB)
  • v1.0(Mar 7, 2022)

    The first version of Fluent Python Calculator! First, I want to thank all of you for helping me finish this project. I couldn't finish it without the help of y'all

    • Improved entry width!
    • Add Mica* (thanks for @sumeshir26 and @Olikonsti)
    • Fixed AccentButton (thanks for @RivanParmar)
    • Add backspace button
    • Fluent Calculator now follow your system dark/light mode
    • Fixed "+" button bigger than usual.
    • Fluent Calculator is now installed as an app!
    • App will launch faster!

    Light mode | Dark mode :-------------------------:|:-------------------------: image | image

    *No Mica for Windows 10

    Source code(tar.gz)
    Source code(zip)
    FluentCalculatorInstaller.exe(8.55 MB)
  • v0.5(Feb 11, 2022)

    Big update!

    • #6 Proper division button (thanks for @sumeshir26)
    • Acrylic, dark title when dark mode on (thanks for @sumeshir26, @not-nef, and @im-coder-lg)
    • New functions!
    • Change from menu bar to button to change dark/light mode. Trying to use the Json config file again since it was deleted (because I changed from menu bar to button)

    Known issues:

    • The title bar was still dark even when it was changed into light mode.
    • Acrylic sometimes broken!

    Light mode | Dark mode :-------------------------:|:-------------------------: image | image

    Source code(tar.gz)
    Source code(zip)
    Fluent.Calculator.zip(9.39 MB)
  • v0.4(Jan 31, 2022)

  • v0.3(Jan 29, 2022)

    New update!

    • Light/dark mode changing through a menu bar button thanks for @TimothyMalahy
    • Looking for a way make menu bar changing color, not sure if it's possible (because change to dark mode make the title bar looks bad)

    Light mode | Dark mode :-------------------------:|:-------------------------: image | image

    Source code(tar.gz)
    Source code(zip)
    Fluent.Calculator.zip(9.35 MB)
  • v0.2.3(Jan 29, 2022)

    New update for sure!

    ⚠️ Currently since antivirus marked it as a virus because I converted it into .exe using pyinstaller, if you still think it is a virus, check the python file.

    • Converted file to .exe, wow!
    • All should work correctly, IMPORTANT read README.md for more information about some notes for the .exe file!
    • New app icon ✨
    • Due to python limitations, don't delete .ico, .tcl and theme folder Note: Nothing changed about the design, so I will not attach it here, if you want the python file, check here (v0.2)

    image

    Source code(tar.gz)
    Source code(zip)
    Fluent.Calculator.zip(9.35 MB)
  • v0.2(Jan 28, 2022)

  • v0.1(Jan 28, 2022)

    First release!

    • All of the buttons should work
    • Some buttons have different sizes although they have the same size in the code, will fix it in the next version!
    Source code(tar.gz)
    Source code(zip)
Python Screen Recorder using Python

PY-Screen-Recorder Python Screen Recorder using Python Requirement: pip install cv2 pip install pyautogui pip install numpy How to reach me? You can r

SonLyte 8 Nov 08, 2021
A simple todo GUI applicaiton

simple_todo_gui A simple todo GUI applicaiton To create an .exe file, run 'Python setup.py build' after installing PyQt5 and cx_Freeze with pip. Then

Dhammike Piyumal 2 Nov 11, 2021
A tf publisher gui tool for ROS, which publish /tf_static message. The software is based on PyQt5.

tf_publisher_gui for ROS Introduction How to use cd catkin_ws/src git clone https://github.com/yinwu33/tf_publisher_gui.git cd catkin_ws catkin_make s

yinwu33 7 Dec 28, 2022
Tkinter Designer - Create Beautiful Tkinter GUIs by Drag and Drop.

Tkinter Designer is created to speed up and beautify Python GUI Experience. It uses well know design software called Figma. Which makes creating Tkinter GUI in Python a piece of cake.

Parth Jadhav 5.2k Jan 09, 2023
UberGui is a lightweight multi-threaded, webRender UI module for TouchDesigner

UberGui V4 UberGui is a lightweight multi-threaded, webRender UI module for TouchDesigner projects. The aim is to solve the trifecta of challenges bui

LUCAS M MORGAN 48 Nov 20, 2022
Rich.tui is a TUI (Text User Interface) framework for Python using Rich as a renderer.

rich.tui Rich.tui is a TUI (Text User Interface) framework for Python using Rich as a renderer. The end goal is to be able to rapidly create rich term

Will McGugan 17.1k Jan 04, 2023
This is the new and improved Plex Automatic Pre-roll script with a GUI

Rollarr This is the new and improved Automatic Pre-roll script with a GUI for Plex now called Rollarr! It should be stable but if you find a bug pleas

164 Nov 04, 2022
Management Gui for OpenVR FSR PlugIn

OpenVR FSR App Small GUI to install/uninstall, tweak settings of the Modified OpenVR DLL with AMD FidelityFX SuperResolution Upscaler with a single cl

Stefan Tapper 234 Dec 20, 2022
FPKG Maker GUI - A user friendly User Interface for fPKG Tools for PS4

Know Issues being worked on Please place this application on the root of a drive

26 Nov 27, 2022
Basic calculator using Tkinter GUI

Basic calculator using Tkinter GUI

Rogerio Penchel 17 Jan 09, 2022
Dear PyGui Extensions is a collection of useful tools, abstractions, and simplification layers built with/for Dear PyGui users.

Dear PyGui Extensions: A collection of useful tools, abstractions, and simplification layers built with/for Dear PyGui users.

Jonathan Hoffstadt 34 Jan 01, 2023
Make desktop applications using HTML and CSS with python

Neutron Make desktop applications using HTML and CSS with python What is Neutron Neutron will allow developers to design modern applications in python

Ian Baldelli 284 Dec 29, 2022
Transparent & click through tkinter window. WINDOWS ONLY

REQUIREMENTS: WINDOWS ONLY pip install pywin32 NOTES: Will not work on top of a fullscreen application, if you are using this to draw on top of a gam

francis 2 Nov 04, 2022
A simple assistance and with a very basic GUI

J.A.R.V.I.S This is a simple assistance and with a very basic GUI (Graphical User Interface) Download all the dependencies by running the below code p

Abir Pal 7 Oct 12, 2022
Basic Alarm Clock using Python.

Basic Alarm Clock using Python.

Samyak Jain 2 Feb 10, 2022
GUI for Volatility forensics tool written in PyQT5

Volatility GUI This is a GUI for Volatility forensics tool written in PyQT5 Prerequisites: 1- Installed version of Volatility. 2- Install PyQT5. sudo

Hamza Megahed 52 Jun 18, 2022
Primeira interface (simples) desenvolvida em Python utilizando o PySimpleGUI

Interface-Python Sobre o projeto Primeira interface gráfica (simples) desenvolvida em Python utilizando o PySimpleGUI Interface Gráfica Tecnologias ut

Matheus Maia Alvarez 5 Apr 09, 2022
Function-Plotter - GUI Python program that plots functions that are entered by the user

FunctionPlotter GUI Python program that plots functions that are entered by the user. The program takes minimum and maximum value for x and plot it as

Mohamed Magdy 2 Jan 20, 2022
A simple GUI designer for the python tkinter module

Leer en Español Welcome to Pygubu! Pygubu is a RAD tool to enable quick and easy development of user interfaces for the Python's tkinter module. The u

Alejandro Autalán 1.7k Dec 27, 2022
Signin/Signup GUI form using tkinter in python

SignIn-SignUpFormRepo Hello there, I am Shahid and this is the Signin/Signup GUI form using tkinter in python if you want to use avatar images then pa

Shahid Akhtar 1 Nov 09, 2021