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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file tekmoney-1.1.tar.gz.

File metadata

  • Download URL: tekmoney-1.1.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

File hashes

Hashes for tekmoney-1.1.tar.gz
Algorithm Hash digest
SHA256 d11aafa2175908926ccb0f7f8f992d8138044081c59ebf5756055e563cffe029
MD5 ed0b84e4de8075743bd12bc672b155c7
BLAKE2b-256 dcaecf572d79169452517bf605dcbcc53138ef3bf0f59053c7f17ad876b02757

See more details on using hashes here.

File details

Details for the file tekmoney-1.1-py3-none-any.whl.

File metadata

  • Download URL: tekmoney-1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.8.1

File hashes

Hashes for tekmoney-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fffd9b41bc7596f0cf357dd4f06dcc67c6c21bb0f90a763820b4789d286c618d
MD5 542d06fa630176cb2ee5d5d4b9c0ab81
BLAKE2b-256 bb8fe565b48d44eb8bfe11e37c3bb272a141d8cb7853f5421213be8609cb48da

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