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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
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 |
Filename, size tekmoney-1.1.tar.gz (18.1 kB) | File type Source | Python version None | Upload date | Hashes View |