Skip to main content

Simple library to calculate insurance premium

Project description

Premium Calculator Library

This is a simple package to calculate insurance premium. This library puporse is to use on master's project, its puporse is to demostrate that I learned how to deploy a library and use on my CA project.

Features

  • Calculate premiums
  • Default base rate of 10%

Instalation

pip install premium-calculator-bv

Usage

Here is an example of how to use the PremiumCalculator class:

from premium_calculator_pkg.premium_calculator import PremiumCalculator

calculator = PremiumCalculator()
premium = calculator.calculate_premium(1000, 0.5)
print(f"The calculated premium is: {premium}")

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

premium_calculator_bv-0.0.2.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

premium_calculator_bv-0.0.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file premium_calculator_bv-0.0.2.tar.gz.

File metadata

  • Download URL: premium_calculator_bv-0.0.2.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for premium_calculator_bv-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e5b17818863e26e912567f69eef923d5233b28303b929353179661034247140c
MD5 e776dfa4eac4adec8adf39711694dad3
BLAKE2b-256 f1d399e98ebadcff12945eccb567e2150ecbf6da51f49eee04db1d6669e16c0a

See more details on using hashes here.

File details

Details for the file premium_calculator_bv-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for premium_calculator_bv-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 77812c8569f8d12aae1532de35e398352d7989b1762fef74caf4977f861cee27
MD5 62d68af7e99513940d12e4547357d6fb
BLAKE2b-256 f3333e6d47a63e32233aff7eac8c25f6a2fb6744765ae98e0e30968b3f97362c

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