Default template for PDM package
Project description
첫번째 팀프로젝트
Goals
-
2명씩 조를 이루어 pip package 를 만들기
-
조 이름으로 팩키지를 만들기
-
간단한 계산기 기능(함수단위)을 만들기
-
calc 파일에 간단한 계산기 구현 후 pip에 배포
-
cmd파일을 만들어 calc의 패키지를 설치하고 dependencies에 추가
-
실행
Install
$ pip install simpleCalc_cmd
Mechanism
hc_add, hc_mul, hc_div 패키지를 dependency로 가지고 있으며 해당 패키지들의 add, div, mul 함수를 통해 call_add, call_div, call_mul을 구현하고 있습니다.
해당 함수들은 command line에서 hc_add, hc_div, hc_mul의 세가지 커맨드로 호출되며, 각각 정수 형태의 in-line arguements를 2개 요구합니다.
나눗셈을 구현하는 hc_div의 경우 결과값을 몫 remainder 나머지 형태로 출력합니다.
Example
$ hc_add 1 3
4
$hc_div 10 3
3 remainder 3
$hc_mul 3 3
9
Urls
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
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 simplecalc_cmd-1.2.2.tar.gz.
File metadata
- Download URL: simplecalc_cmd-1.2.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.16.1 CPython/3.12.4 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6231b36f32f5ff121c8a59c9f337e5d117ea7e5858843bede815f9088df092e2
|
|
| MD5 |
61c53d5aa0786d057d63b63a0e5ec5b5
|
|
| BLAKE2b-256 |
b3e33450ff87448b1dd42c2903fea0118ff90f17e77a8ff3c613b165ef2f9b1b
|
File details
Details for the file simpleCalc_cmd-1.2.2-py3-none-any.whl.
File metadata
- Download URL: simpleCalc_cmd-1.2.2-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.16.1 CPython/3.12.4 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc704ada434cf2edbeef54ccc696fbbfc730c5dabdbcebe7375580b14bf7fba0
|
|
| MD5 |
c7345ec61f1e037d10395840d2ca6c26
|
|
| BLAKE2b-256 |
e1039f53ee3d76772c5e4ef07e05ef84d00645413c2a3195aa888a5d3db24bf8
|