Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pfinance

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pfinance

Financial mathematics library

  • 0.2.2
  • Source
  • PyPI
  • Socket score

Maintainers
2

pfinance

pfinance is a Python financial mathematics library. It attempts to provide a comprehensive suite of functions, tools, and calulators geared towards financial applications. pfinance does not supply APIs for market and exchange lookup.

SupportsPython 3.9
Latest Release latest release
Package Status status
License license

Installation

pfinance is available via PyPI. Install with pip:

$ python3 -m pip install pfinance

Note: pfinance requires Python >= 3.9 for full test and annotation compatability, but may offer reduced functionality for earlier 3.x versions.

Modules

pfinance functions are organized by module.

ModuleDescription
generalCommon finance functions
depreciationDepreciation of assets functions
time_valueTime value of money functions
conversionUnit and notation conversion functions
securitiesSecurities tracking and analysis functions

Example

Determine the value of a $100.00 investment earning 7% interest compounded monthly after 10 years.

>>> from pfinance import general
>>> value = general.compound_interest(100, 0.07, 10, 12)
>>> print(round(value, 2))
200.97

Dependencies

pfinance does not rely on any third party dependencies.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc