/eel-calc

Desktop calculator app built with Python and Eel

Primary LanguageHTML

Eel-Calculator

A desktop app made using the magic of Python with [Eel] module.

Dependencies

In order to run, this app relies on a couple of modules:

  • eel
  • pyinstaller (optional)

You can manually install modules, using

pip3 install eel
pip3 install pyinstaller

However, module versions may differ. There is a better way to do it -- Pipenv!

pip3 install pipenv # if you don't have pipenv yet
pipenv install
pipenv shell # to enter to pipenv's subshell
# Voila! All dependencies installed. 
# We are ready to run it.

How to Use

Run this to run with Python:

python3 main.py

Or this to make an executable:

python3 -m eel main.py web --onefile # creates executable
rm -r build
rm main.spec
mv dist/main eel-calc
rmdir dist # some cleanup
./eel-calc # run executable

I've provided a bash script for those who don't wanna type it up themselves, it's called make. Run it with:

chmod +x make
./make

The make script doesn't include the last line that actually runs the executable ./eel-calc as its purpose is only to make that file. Use that line to run it yourself whenever you are ready.

For the freaks like me who use Linux with GNOME and want to add this app to the GNOME launcher, I've written the 'eel-calc.desktop' file that has to be copied into the /usr/share/applications folder to do that. You'll thank me later.

Contact

For any personal or business enquiries: