Metadata-Version: 2.1
Name: sol_calc
Version: 0.2.5
Summary: Default template for PDM package
Author-email: j25ng <jsan2861@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/j25ng/sol_calc
Requires-Python: ==3.11.*
Description-Content-Type: text/markdown
Requires-Dist: sol_add>=0.1.0
Requires-Dist: sol_mul>=0.1.0
Requires-Dist: sol_div>=0.1.0

# sol_calc

## Intro
simple calcaulator

![img](https://github.com/j25ng/sol_calc/blob/main/img/test_sol_calc.png?raw=true)

## Usage
### Install
```
$ pip install sol_calc
```
### Python code
```python
from sol_add.add import add
from sol_mul.mul import mul
from sol_div.div import div

import sys
x = int(sys.argv[1])
y = int(sys.argv[2])

def a():
    add(x, y)

def m():
    mul(x, y)

def d():
    div(x, y)
```
### Add pyproject.toml option
```
dependencies = ["sol_add>=0.1.0", "sol_mul>=0.1.0", "sol_div>=0.1.0"]

[project.scripts]
sol-add = "sol_calc.calc:a"
sol-mul = "sol_calc.calc:m"
sol-div = "sol_calc.calc:d"
```
### References
- add : https://github.com/j25ng/sol_add
- mul : https://github.com/j25ng/sol_mul
- div : https://github.com/j25ng/sol_div
