Skip to main content

Handles money

Project description

tekmoney

Tek money. Handles money.

  • Handles mathematical and comparison operations on product prices
  • Implements exception handling
  • Allows specifying tax on a product price
  • Allows specifying a range for product price
  • Allows for applying discount on product prices

Installation

  • Using pip: pip install tekmoney
  • using pipenv: pipenv install tekmoney

Usage

Use Currency class to specify amount and currency denomination.

  • Currency(10, 'USD') indicates 10 us dollars
  • Currency(Decimal('13.20'), 'USD') indicates 13 US dollars and 20 cents. Use Decimal class to specify non int values

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

tekmoney-1.1.tar.gz (18.1 kB view hashes)

Uploaded Source

Built Distribution

tekmoney-1.1-py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 3

Supported by

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