DEV Community

Rasa Dariush
Rasa Dariush

Posted on

I Published My First Python Library: `rs-calculator`

I just released my first Python library on PyPI — it’s called rs-calculator.

It’s not trying to be the smartest calculator out there, but it might be the simplest one.

A simple, open-source calculator library designed to help beginners both use and understand how Python libraries are built.

🔗 GitHub

https://github.com/Rasa8877/rs-calculator

📦 Install with pip

pip install rs-calculator 
Enter fullscreen mode Exit fullscreen mode

✨ Features

calculate() function with simple math: +, -, , /, *, %, //

show_help() that actually shows help — no extra docs needed

Handles division/modulo by zero

If you’re learning Python or teaching it, give it a try.
I’d love feedback or ideas for improvement 🙌

Top comments (0)