https://github.com/sharpvik/eel-calc
Desktop calculator app built with Python and Eel
https://github.com/sharpvik/eel-calc
Last synced: 11 months ago
JSON representation
Desktop calculator app built with Python and Eel
- Host: GitHub
- URL: https://github.com/sharpvik/eel-calc
- Owner: sharpvik
- Created: 2019-09-23T01:41:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-22T16:54:28.000Z (over 2 years ago)
- Last Synced: 2025-01-16T18:29:47.561Z (about 1 year ago)
- Language: HTML
- Size: 56.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```bash
pip3 install eel
pip3 install pyinstaller
```
However, module versions may differ. There is a better way to do it -- Pipenv!
```bash
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:
```bash
python3 main.py
```
Or this to make an executable:
```bash
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:
```bash
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:
+ Email: *sharp.vik@gmail.com*
+ [Twitter](https://twitter.com/sharp_vik)
+ [Instagram](https://www.instagram.com/viktooooor)