Intro
Welcome to rtd.calculator
. How to install using pip:
$ pip install rtd.calculator
Usage
In [1]: from rtd.calculator import operations
In [2]: operations.add(1, 2)
Out[2]: 3
In [3]: operations.subtract(1, 2)
Out[3]: -1
In [4]: operations.multiply(1, 2)
Out[4]: 2
Testing reads:
In [5]: x = open("pyproject.toml").read()
In [6]: print(x)
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = 'setuptools.build_meta'
[tool.setuptools_scm]
write_to = "rtd/calculator/version.py"
[tool.black]
line-length = 120