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.3.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.3.tar.gz.
File metadata
- Download URL: sol_calc-0.2.3.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 |
88df5cf04ac65f9bae8897b075f7477125a414ee0edbe42924c8f21f904ab315
|
|
| MD5 |
08ea2d425718b24034828c25e9522187
|
|
| BLAKE2b-256 |
b93e28608aea9e55826e2a2cbabdffaa957e628fecd279059c9d1fc1502fa25c
|
File details
Details for the file sol_calc-0.2.3-py3-none-any.whl.
File metadata
- Download URL: sol_calc-0.2.3-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 |
2b87a78b6b36b806a6c6263e833063fa35da0e6f0e254d2c6ab6ad586ad2ff99
|
|
| MD5 |
4e67b84062a17834134e8b59ba7d38eb
|
|
| BLAKE2b-256 |
f74625fb8995c8bd09055fb0e889dde2229649d20183bfbae1a1237380a4f0a7
|