-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from tsadarsh/dev
v2.0 of Pymanujan
- Loading branch information
Showing
2 changed files
with
96 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,43 @@ | ||
# Pymanujan :sparkles: | ||
### Python powered Calculator. As simple as that. | ||
#### Introduction | ||
Whole code is written in pure Python :snake:. Moreover, as a beginner myself, new developers and contribtors can easily go through the code to understand the logic behind the program. I tried to include as much as comments and documentations within the code itself. Feel free to ping me for any updates. This program has a lot of scope for improvement :sparkles:. Development best-suited for new developers and programmers, this simple program provides a stage for immense develpoment of one's skill, expertise and familiarity of Python programming language :snake:. | ||
# Pymanujan ♾️ | ||
#### Python powered calculator; but without `eval()`. | ||
|
||
Currently the program supports 'Addition :heavy_plus_sign:', 'Subtraction :heavy_minus_sign:', 'Multiplication :heavy_multiplication_x:' and 'Division :heavy_division_sign:'. Check **Tasks List** issues pending on *feature-requests*. Check **Contribution** for more details to get started on developing the program. | ||
### Introduction | ||
Whole code is written in Python. New developers and contribtors can easily go through the code to understand the logic behind the program. I tried to include as much comments and documentations within the code itself. Feel free to ping me for any queries. Best-suited for new developers this simple program provides a stage for develpoment of one's skill, expertise and familiarity of Python programming language. | ||
|
||
#### User interface of Pymanujan *v2.0-alpha* :desktop_computer: | ||
Pymanujan can do these now: | ||
- ➕ Addition | ||
- ➖ Subtraction | ||
- ✖️ Multiplication | ||
- ➗ Division | ||
- ⭐ Exponentiation | ||
- 🔺 Trigonometric functions | ||
- 🔻 Inverse trigonometric functions | ||
- ❗ Factorial | ||
- 🌲 Logarithms | ||
|
||
![As of v2.0-alpha](https://github.com/maddypie/Pymanujan/blob/master/Pymanujan-v2.0-alpha.png) | ||
|
||
#### Tasks List :writing_hand: | ||
- [x] **Refactor ~~source.py~~ source code.** | ||
- [x] Add 'Copy' functionality, to copy the result. Currently 'Copy' button does not do anything. | ||
- [x] Dynamic font size in result label. | ||
- [x] Bind 'Number-pad' keys to enter input. | ||
- [x] Option to switch between 'Simple' to 'Advanced' mode. Advanced mode should have more funtionalities. | ||
### User interface of Pymanujan (v2.0) :desktop_computer: | ||
|
||
#### Developer Installation: | ||
![Pymanujan (v2 0)](https://user-images.githubusercontent.com/66778010/110975666-081e6c80-8386-11eb-9495-cf6b94204813.png) | ||
|
||
|
||
### Build Pymanujan yourself: | ||
Clone this repository from Github. Then create a virtual-environment and install the dependencies. | ||
```bash | ||
git clone https://github.com/maddypie/Pymanujan.git | ||
git checkout dev | ||
git clone https://github.com/tsadarsh/Pymanujan.git | ||
cd ./Pymanujan | ||
python3 -m venv env | ||
source env/bin/activate | ||
python -m pip install -r requirements.txt | ||
python main.py | ||
``` | ||
|
||
#### Contribution :nerd_face: | ||
All are welcome :pray: to contribute to this project. Start from going through the ```source.py``` which has good amount comments and documentation along the code. Currently the focus is on improving the GUI. Create an *Issue* and start a discussion before working on a seperate *Fork*, collabaration always results in better ideas! | ||
### Contribution :nerd_face: | ||
All are welcome to contribute to this project. | ||
Create new Issue for feature-request or bug reports. | ||
Implemented a new feature? Awesome give a PR. | ||
|
||
Goal :soccer: towards your contribution should always be to improve expertise on Python :snake:. | ||
> Though a calculator app is no path-breaking project to work on, it gives confidence to a new-devloper the abilty to build something from scratch. | ||
|
||
#### Note for Linux users: | ||
For 'Copy' button to work as intended, make sure ```xclip``` is installed. | ||
Distribution | Installation command | ||
-------------|--------------------- | ||
Debian | `sudo apt install xclip` | ||
Fedora based distro | `dnf install xclip` | ||
CentOS based distro | `yum install xclip` | ||
OpenSUSE based distro | `zypper install xclip` | ||
Goal is to improve expertise on Python :snake:. | ||
> "Though a calculator app is no path-breaking project to work on, it gives confidence to a new-devloper the abilty to build something from scratch" | ||
> -maddypie |