Skip to main content

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.1.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sol_calc-0.2.1-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file sol_calc-0.2.1.tar.gz.

File metadata

  • Download URL: sol_calc-0.2.1.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

Hashes for sol_calc-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9308ea7dc42c4233e94d9e02b95ed326bcd01d8c47921c9f2bbc88558f6f50d1
MD5 1ca2724343acd4f412ab114843403a78
BLAKE2b-256 9784cd6d97479f45f605056d422ed31aafcaec03309157f8b3de1173804867fc

See more details on using hashes here.

File details

Details for the file sol_calc-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: sol_calc-0.2.1-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

Hashes for sol_calc-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f04068d553145121829cc38f5f7cf27e774655010376c83fea368a793ef2b559
MD5 43fc0e459028a79b904be61dd85d0148
BLAKE2b-256 e53461dbaf294625c32ec6f31cbabeb9752d8116ef5f5525ffe69ffeb2ea2561

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page