Metadata-Version: 2.4
Name: advanced-calculator-prashant
Version: 0.2.0
Summary: A CLI based advanced calculator with scientific operations.
Author: Prashant Rai
Author-email: rairpa1992@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

🧮 Advanced Calculator (CLI)

A Command-Line Advanced Calculator built in Python that supports both basic and scientific mathematical operations.

🚀 Features
✅ Basic Operations

Addition

Subtraction

Multiplication

Division

✅ Scientific Operations

Square Root

Power

Natural Logarithm (ln)

Sine (Degrees)

Cosine (Degrees)

Factorial

✅ Error Handling

Prevents division by zero

Prevents square root of negative numbers

Prevents logarithm of non-positive numbers

Factorial works only for non-negative integers

📦 Installation

Install from PyPI:

pip install advanced-calculator-prashant

▶️ Usage

After installation, run:

advcalc


You will see the calculator menu in your terminal.
Enter the number corresponding to the operation and follow the prompts.

🛠 Example

Addition Example

Enter your choice: 1
Enter first number: 10
Enter second number: 5
Result: 15


Factorial Example

Enter your choice: 10
Enter number: 5
Result: 120

🐍 Requirements

Python 3.8 or higher

📁 Project Structure
MATH_CAL_PACKAGE/
│
├── mathcal/
│   ├── __init__.py
│   └── main.py
│
├── setup.py
└── README.md

📄 License

MIT License

👨‍💻 Author

Prashant Rai
