Skip to main content

A simple library to calculate ProBot tax only

Project description

probot_tax

A one‑file Python library to calculate ProBot tax (5%) only, with full input handling.

By Adham Hmady
Discord: Dewecat / 7teq


Features

  • Calculates a fixed 5% “ProBotâ€‌ tax on any amount
  • Accepts int, float, or numeric str inputs
  • Rounds amounts to the nearest integer before computing tax
  • Raises a clear InvalidAmountError if the input is invalid or negative

Installation

After publishing to PyPI under the name probot‑tax, install with:

pip install probot‑tax

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

probot_tax-0.1.1.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

probot_tax-0.1.1-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file probot_tax-0.1.1.tar.gz.

File metadata

  • Download URL: probot_tax-0.1.1.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.9

File hashes

Hashes for probot_tax-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b76bd79642aa472e1b18a1f648296277ba5996ebaa7e53417dbc288ea47c56d8
MD5 7a1a389982817ccd5d85adeb05303ce2
BLAKE2b-256 cf3bceb39c5d1aeb77aabe8a51ac564ba1b02a315a31e106d51bb11286609bbd

See more details on using hashes here.

File details

Details for the file probot_tax-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: probot_tax-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.9

File hashes

Hashes for probot_tax-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3cbff6b524b6a05bc50a8854c7837ef5e6f820d68a57e29d394c30b88443191e
MD5 3d169e4460b917ebc45055ff433f260c
BLAKE2b-256 fb193294f8bc8cb475b4731bbd1241bd5f117dabdf8b3bd8f1824f22882a6459

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page