Read-only mirror of https://github.com/MeteoSwiss-APN/chain-calc — MeteoSchweiz. Issues & pull requests at the source.
  • Python 63.7%
  • Makefile 36.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2020-01-22 13:14:48 +01:00
.github initial commit 2020-01-22 10:43:16 +01:00
docs initial commit 2020-01-22 10:43:16 +01:00
requirements add dev dependencies ipdb and ipython 2020-01-22 11:19:27 +01:00
src/chain_calc implement class MutableNumber with tests 2020-01-22 13:09:24 +01:00
tests/chain_calc implement class MutableNumber with tests 2020-01-22 13:09:24 +01:00
.bumpversion.cfg initial commit 2020-01-22 10:43:16 +01:00
.gitignore initial commit 2020-01-22 10:43:16 +01:00
AUTHORS.rst initial commit 2020-01-22 10:43:16 +01:00
CONTRIBUTING.rst initial commit 2020-01-22 10:43:16 +01:00
HISTORY.rst initial commit 2020-01-22 10:43:16 +01:00
LICENSE.txt initial commit 2020-01-22 10:43:16 +01:00
Makefile initial commit 2020-01-22 10:43:16 +01:00
MANIFEST.in initial commit 2020-01-22 10:43:16 +01:00
README.rst add examples to README 2020-01-22 13:14:48 +01:00
session implement class MutableNumber with tests 2020-01-22 13:09:24 +01:00
setup.cfg disable colored pytest output 2020-01-22 10:58:25 +01:00
setup.py initial commit 2020-01-22 10:43:16 +01:00
USAGE.rst initial commit 2020-01-22 10:43:16 +01:00
VERSION.txt initial commit 2020-01-22 10:43:16 +01:00

================
Chain Calculator
================

A simple chain calculator for the command line.

Examples::

    $ chain_calc 4 plus 1 minus 2 times 3 by 9
    1

    $ chain_calc -v 4 plus 1 minus 2 times 3 by 9
    4 + 1 = 5
    5 - 2 = 3
    3 * 3 = 9
    9 / 9 = 1
    1


Credits
-------

This package was created with Cookiecutter_ and the `MeteoSwiss-APN/mch-python-blueprint`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`MeteoSwiss-APN/mch-python-blueprint`: https://github.com/MeteoSwiss-APN/mch-python-blueprint