Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amityv0113/calculatorapplicationwithpython
Calculator Application , storing operation information on sqlite3
https://github.com/amityv0113/calculatorapplicationwithpython
python3 sqlite3
Last synced: 23 days ago
JSON representation
Calculator Application , storing operation information on sqlite3
- Host: GitHub
- URL: https://github.com/amityv0113/calculatorapplicationwithpython
- Owner: amityv0113
- License: mit
- Created: 2022-04-05T10:04:28.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-05T12:17:23.000Z (almost 3 years ago)
- Last Synced: 2024-11-09T03:42:45.725Z (3 months ago)
- Topics: python3, sqlite3
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Calculator Application
## Description
Calculator Application is used to performs arithmetic operations on numbers can do addition, subtraction, multiplication, and division also store operation information in sqlite3 database## Run Locally
Clone the project
```bash
https://github.com/amityv0113/CalculatorApplicationWithPython.git
```
Download sqlite3```bash
pip install sqlite
if you are using python3, sqlite3 is built in into it.
```Go to the project directory
```bash
cd CalculatorApplicationWithPython
```## Run code
```
Windowsusing cmd go/to/source code/folder :
python main.py
``````
Linux
using cmd go/to/source code/folder :
python main.py```
## Package Management
pip
## Usage
```
run main file
calculator start runing
ask you to enter valid number num1
ask you to enter valid number num2;
ask you to enter operation code
- 1 mean addition
- 2 mean subtraction
- 3 mean multiplication
- 4 mean division
- 5 to show All operation
- -1 to exit
each time any operation is performed information is save in sqlite DB
Db store num1,num2,operator,result```
## Database schema
| Id | Num1 | Num2 | operator | Result |
|:----- |:-------- |:---------|:-------- |:----------- |
| | | | | |## Database example
| Id | Num1 | Num2 | operator | Result |
|:----- |:-------- |:---------|:-------- |:----------- |
| 4 | 25 | 5 | / | 5 |
## Tech Stack**language:** python
**Database:** Sqlite3
**package manager:** pip
## Version
python
```bash
gcc version 3.9.6
```
SQLite
```bash
version 3.22.0
```## Support
For support, email [email protected] or join our Slack channel.
## Authors
- [@amityv0113](https://github.com/amityv0113)
[![linkedin](https://img.shields.io/badge/linkedin-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/amityv0113/)