Skip to main content

🧮 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

Metadata

Release files for advanced-calculator-prashant 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for advanced-calculator-prashant 0.2.0
File Size Uploaded Provenance
advanced_calculator_prashant-0.2.0.tar.gz 3.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for advanced-calculator-prashant 0.2.0
File Interpreter ABI Platform
advanced_calculator_prashant-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / advanced_calculator_prashant-0.2.0.tar.gz

Download URL advanced_calculator_prashant-0.2.0.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
17be24ef0e503aed8fe8097b391109960eb64fc76b562935165a93ec935a7e3e
BLAKE2b-256 checksum
How to use checksums
2d17ae53e2e7e9544bb1e36b5e369fdc174f15492176c2323897d522c8b95230
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.0

Release files / advanced_calculator_prashant-0.2.0-py3-none-any.whl

Download URL advanced_calculator_prashant-0.2.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2bfdfbebd8c63a69a9fdb8d7ef71b46bfc54d23991079647df744b2972438e51
BLAKE2b-256 checksum
How to use checksums
2566b36b45473f126dda78807e9819b6a3c0c674c1d528972566d4727e0473a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.0

Security for advanced-calculator-prashant 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page