Skip to main content

🧮 Calctool CLI

A feature-rich command-line calculator built with Python. Navigate through tools using intuitive arrow-key menus — no mouse needed.


✨ Features

Tool Description
Basic Calculator Add, subtract, multiply, and divide two numbers
Power & Square Root Raise numbers to a power or calculate their square root
Percentage Calculator Convert a percentage to its decimal value
Fraction Calculator Divide a numerator by a denominator
Random Number Generate a random number between a min and max
Number Compare Compare two numbers to see which is larger

📦 Installation

Make sure you have Python 3 installed, then run:

pip install calctool_cli

🚀 Usage

After installation, launch the app from any terminal with:

calctool

You'll be greeted with the main menu:

 ██████╗ █████╗ ██╗      ██████╗████████╗ ██████╗  ██████╗ ██╗
██╔════╝██╔══██╗██║     ██╔════╝╚══██╔══╝██╔═══██╗██╔═══██╗██║
██║     ███████║██║     ██║        ██║   ██║   ██║██║   ██║██║
╚██████╗██║  ██║███████╗╚██████╗   ██║   ╚██████╔╝╚██████╔╝███████╗
 ╚═════╝╚═╝  ╚═╝╚══════╝ ╚═════╝   ╚═╝    ╚═════╝  ╚═════╝ ╚══════╝

[?] Choose a tool: (Navigate with arrow keys, enter to submit.):
❯ Basic Calculator (1)
  Pow and sqrt (2)
  Percentage calculator (3)
  Fraction calculator (4)
  Random numb (5)
  Number compare (6)
  Quit

Use the ↑ ↓ arrow keys to navigate and Enter to select.


🛠️ Tool Guide

1. Basic Calculator

Select an operator (+, -, *, /), then enter two numbers. The result is printed instantly.

2. Power & Square Root

Choose between:

  • Pow — enter a base number and an exponent
  • Sqrt — enter a number to find its square root

3. Percentage Calculator

Enter a percentage value (without the % sign) and get its decimal equivalent.
Example: 25 → 0.25

4. Fraction Calculator

Enter a numerator and a denominator to calculate the fraction's value.
Example: 3 / 4 → 0.75

5. Random Number

Enter a minimum and maximum value to generate a random integer in that range.

6. Number Compare

Enter two numbers to find out which one is greater, or if they're equal.


🔁 Navigation

After every operation you'll see three options:

  • Again — repeat the current tool
  • Back — return to the main menu
  • Quit — exit the application

📋 Requirements

These are installed automatically when you use pip install calctool_cli.


🙏 Credits

Role Name
Developer Becool
Helper v011dz

📄 License

License — Look at LICENSE.txt in the package files.

Metadata

Release files for calctool_cli 0.1.1

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

Source distribution (sdist)

Source distribution for calctool_cli 0.1.1
File Size Uploaded Provenance Actions
calctool_cli-0.1.1.tar.gz 4.9 kB Without provenance Details for calctool_cli-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for calctool_cli 0.1.1
File Interpreter ABI Platform Actions
calctool_cli-0.1.1-py3-none-any.whl Python 3 none any Details for calctool_cli-0.1.1-py3-none-any.whl

Total release size: 10.5 kB

Release files / calctool_cli-0.1.1.tar.gz

Download URL calctool_cli-0.1.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ba9c8680a6d127fefa97c9284ddcf6566f336780d165c3fe7aa9a1f35d8b4fa2
BLAKE2b-256 checksum
How to use checksums
e771abc3118552b1486a9221494902a709eb0df0427acaaea002cf678867d2d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.4 CPython/3.14.2 Windows/11

Release files / calctool_cli-0.1.1-py3-none-any.whl

Download URL calctool_cli-0.1.1-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b302d8cff96d03b9ca6c2833c07507339a1c3f598541bd374290d96803f91d0
BLAKE2b-256 checksum
How to use checksums
42f0abed6401e7857078c3d1ddd36dc88bb962f98962409f3cbdfac302140eca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.4 CPython/3.14.2 Windows/11

Security for calctool_cli 0.1.1

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.1.1 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