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.
| Supports | Python 3.9 |
| Latest Release |
|
| Package Status |
|
| 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.
| Module | Description |
general |
Common finance functions |
depreciation |
Depreciation of assets functions |
time_value |
Time value of money functions |
conversion |
Unit and notation conversion functions |
securities |
Securities 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.
Metadata
Release files for pfinance 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pfinance-0.2.2.tar.gz | 15.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pfinance-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.0 kB
Release files / pfinance-0.2.2.tar.gz
| Download URL | pfinance-0.2.2.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b07806ceb39a2b93195731a829d77e2fbe901904f1a3033a379bc99fff2903b
|
|
BLAKE2b-256 checksum How to use checksums |
351be9d4e6186f0bed4d0f4056d97ec22f6a9adb15aec1b6461588e9a76090a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / pfinance-0.2.2-py3-none-any.whl
| Download URL | pfinance-0.2.2-py3-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8bcd009d0e7b5c82c943fbdd7bb1d8cedb2331e0f6c046f556fe0ddbafedcdd8
|
|
BLAKE2b-256 checksum How to use checksums |
628be3301b0d7c8e3354adb13a5e30e46dd7995d25ab9a6a5177517cdef96fb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for pfinance 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.