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.0.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.0.tar.gz.
File metadata
- Download URL: sol_calc-0.2.0.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 |
0d00531f86d03e6b7bf3c2b898e871d4c40b5a9040fb4220c379c16fa926a3f7
|
|
| MD5 |
c37bc50dcbf6dce9490f8537aecfdb44
|
|
| BLAKE2b-256 |
df743e44fae9e0991eeb89d458856ded90ed9e13ebed05a6b111ce57c41a6d2b
|
File details
Details for the file sol_calc-0.2.0-py3-none-any.whl.
File metadata
- Download URL: sol_calc-0.2.0-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 |
44f74e899e1929ade3e0845958045a06949954f16c9354b2274955df3407d9c9
|
|
| MD5 |
88f9325edbc12e19f5796107859f05d2
|
|
| BLAKE2b-256 |
4ba65d1a65e3e6aa4e556df3e0ad70c20f73809a023e802b040026c036332561
|