power01_cmd
설치 방법
$ pip install power01_cmd
코드
import sys
from power01_plus.plus import plus
from power01_min.min import minus
from power01_mul.mul import mul
from power01_div.div import div
def call():
a = int(sys.argv[1])
b = int(sys.argv[2])
print('a+b= ',end="")
plus(a,b)
print()
print('a-b= ',end="")
minus(a,b)
print()
print('a*b= ',end="")
mul(a,b)
print()
print('a/b= ',end="")
div(a,b)
print('success!!')
실행
$ cmd 5 10
결과
a+b= 15
a-b= -5
a*b= 50
a/b= 0.5
success!!
참조
Metadata
Release files for power01_cmd 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| power01_cmd-0.2.0.tar.gz | 1.7 kB | Without provenance | Details for power01_cmd-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| power01_cmd-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for power01_cmd-0.2.0-py3-none-any.whl |
Total release size: 4.0 kB
Release files / power01_cmd-0.2.0.tar.gz
| Download URL | power01_cmd-0.2.0.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
957ec68629694daf19b37f839c89b6dfdbd60d4bac27b6910a361ebd7fedeed1
|
|
BLAKE2b-256 checksum How to use checksums |
3f268f05607ef8c04eb69bf3fa3584a139d3ea868b88f4e71ec7d811481b10fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.16.1 CPython/3.12.4 Linux/5.15.153.1-microsoft-standard-WSL2
|
Release files / power01_cmd-0.2.0-py3-none-any.whl
| Download URL | power01_cmd-0.2.0-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f9d593053bc1930e2a3f16e355d868e183da44cd1561db5ea54ae76646365dc
|
|
BLAKE2b-256 checksum How to use checksums |
a50ad4543a967706ff03a44aaf988201ab98424e56f1ca8543ec7c4f3287a0c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.16.1 CPython/3.12.4 Linux/5.15.153.1-microsoft-standard-WSL2
|
Security for power01_cmd 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.