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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sol_calc-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 3fd30d66105c5bbe3dc7d3f2d6efa47dbb907ffff3ae2174c8dca06eb80c72c8
MD5 d262511cc5e70d5850cff1f8dde9208f
BLAKE2b-256 e983a6cd31b787c7117b6aa425057575650c2205a379b0d473c09cb0f5dabb3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sol_calc-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 78d139a8a0e6efe13bfd4c81885e8065d003db36211adbc3bd5677c80ad77fc1
MD5 137b7c61ea930c6f1ad513d3c81ab45a
BLAKE2b-256 131a71465a596bfa1c798c3db7e76976ec8741a0fbe51ac65b745ab44bb3a940

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