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
simplecalc_cmd-1.2.0.tar.gz
(2.1 kB
view hashes)
Built Distribution
Close
Hashes for simpleCalc_cmd-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4590c0df7a66adc257c161079d26179dd66f43db9da6e6e610dca200298c3846 |
|
MD5 | ef733bbd4c8699a647bd21094f4be5ae |
|
BLAKE2b-256 | be48478965bb1c5d0846c71e07bb92c0ad97aefe04ec24f4d508262b0a220bd0 |