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.

Files for tekmoney, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size tekmoney-1.1-py3-none-any.whl (9.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size tekmoney-1.1.tar.gz (18.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page