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.4.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.4-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sol_calc-0.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 5dd0740b0f11fd04b5762e28de81df0ef4726110af7ab96848fad22262063090
MD5 e014c52bd2e3db1a58303d083cd93e18
BLAKE2b-256 5fad58a93060fa153f3a3665a7f5e5d6309ca17ced5c9e8d20a03c42d0371e1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sol_calc-0.2.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c4c8742f8a1285ccb42e694c9645431b824e5a851a8ce1a8f3a6b0764943b340
MD5 154e68ec9335f4bf8a75c707f4853c9a
BLAKE2b-256 88a67c197a2b88f2361991c824df7945b889eb65974b1fc2d59b811310015508

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