Skip to main content

This tool helps financial consumers freely utilize financial services by interest calculating.

Project description

LibreFinance

LibreFinance is a combination of the words "libre" and "finance".

This tool helps financial consumers freely utilize financial services by interest calculating.

Important Notice

In South Korea, the general interest income tax rate is 15.4% (14% interest income tax + 1.4% local tax). Please be aware of this when using the tool.

Usage

  1. Install the library using pip install libre-finance.
  2. Import the library with from libre_finance import LibreFinance.

Example

from libre_finance import LibreFinance

# deposit example
lf = LibreFinance(amount=12000000, currency='KRW')
print(lf.calculate_deposit(month=6, annual_interest_rate=3.5))
print(f"amount: {lf.amount}")

# deposit example with non-taxable interest
lf = LibreFinance(amount=12000000, currency='KRW')
print(lf.calculate_deposit(month=6, annual_interest_rate=3.5, is_tax=False))
print(f"amount: {lf.amount}")

# savings example
lf = LibreFinance(amount=0, currency='KRW')
print(lf.calculate_savings(month=6, monthly_deposit=1000000, annual_interest_rate=3.5))
print(f"amount: {lf.amount}")

# savings example with non-taxable interest
lf = LibreFinance(amount=0, currency='KRW')
print(lf.calculate_savings(month=6, monthly_deposit=1000000, is_tax=False, annual_interest_rate=3.5))
print(f"amount: {lf.amount}")

Features

  • Deposit interest (taxable/non-taxable)
  • Savings interest (taxable/non-taxable)

ToDo List

  • Bond interest
  • RP interest

License

MIT

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

libre_finance-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

libre_finance-0.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file libre_finance-0.0.1.tar.gz.

File metadata

  • Download URL: libre_finance-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for libre_finance-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c4b52c3cda672f7a7fb33c053f4ab6cd64e744b3dbd8320d3e929e7bdb99b95a
MD5 e45fe70e399dd291f58523a131ee3ff1
BLAKE2b-256 8a393631101219fb0c27563914c0dfd7ed15c6cfaa3a9d06a02b28e1f8ec8179

See more details on using hashes here.

Provenance

The following attestation bundles were made for libre_finance-0.0.1.tar.gz:

Publisher: python-publish.yml on minwook-shin/libre-finance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file libre_finance-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: libre_finance-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for libre_finance-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 818421415970ab110944586eda57fea2c4678cd25cf43395c54bda7d7aab0f12
MD5 25f19aa7d95f8f9f37873e3e5883a24f
BLAKE2b-256 a16ed37a4f6fa7e41ff1afeb6dad81223f60ef910ea8cbfde6ac74fbb2beabf0

See more details on using hashes here.

Provenance

The following attestation bundles were made for libre_finance-0.0.1-py3-none-any.whl:

Publisher: python-publish.yml on minwook-shin/libre-finance

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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