Default template for PDM package
Project description
sol_calc
Intro
simple calcaulator
Usage
Install
$ pip install sol_calc
Python code
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sol_calc-0.2.5.tar.gz
(1.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sol_calc-0.2.5.tar.gz.
File metadata
- Download URL: sol_calc-0.2.5.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.16.1 CPython/3.12.4 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b125d897dd71d7fb4f52971a12246d950f0bc0b3317dc6d188da08ad92278b1
|
|
| MD5 |
8cf93869cf3902109c46923d5eeef685
|
|
| BLAKE2b-256 |
333988b7dae4938139e90dfaca493c0cae7e7d340eec06e1dcf74a445d9f4951
|
File details
Details for the file sol_calc-0.2.5-py3-none-any.whl.
File metadata
- Download URL: sol_calc-0.2.5-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.16.1 CPython/3.12.4 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e0edfd74c45d7f5c97342a86eb4778cfa79af8a7345e7399cfe27603e6a52aa
|
|
| MD5 |
7403e5136cf4b208cc14773f3f47f9a9
|
|
| BLAKE2b-256 |
ae769ec73f6afb40a844da1b7f9c2b5e9ae6ca157b2e7aa8829d421a2de4c167
|