Package for Python Financial Analyst
Project description
PyFiAn
PyFiAn is a Python library for financial analysis, modeling, and computations. It provides modules for corporate finance, derivatives, financial statements, portfolio management, risk management, statistics, time value of money, yield curves, and utility functions.
Features
- Corporate finance calculations
- Derivatives pricing and analytics
- Financial statement analysis
- Portfolio management tools
- Risk management metrics
- Statistical analysis
- Time value of money functions
- Yield curve modeling
- Utility functions for financial data
Project Structure
pyfian/
corporate_finance/
data/
derivatives/
financial_statements/
portfolio/
risk_management/
statistics/
time_value/
utils/
yield_curves/
Installation
You can install the package (once published) using pip:
pip install pyfian
Or, for development, clone the repository and install locally:
git clone <repo-url>
cd pyfian_dev
pip install -e .
Usage Example
from pyfian.time_value.mortgage import mortgage_cash_flows
# Example usage
df = mortgage_cash_flows(
principal_balance=200000,
annual_rate=0.04,
term_months=10,
payment_interval_months=1,
)
print(df.to_string(index=False))
Notebooks
Example notebooks are available in the notebooks/ directory for interactive exploration.
License
Contributing
Contributions are welcome! Please open issues or submit pull requests.
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.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyfian-0.1.0.tar.gz.
File metadata
- Download URL: pyfian-0.1.0.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c040a3f4b2bda707f46f0e56f435ec22dfbf82222401ad8799bc904321b1259
|
|
| MD5 |
e2b10c207a36a1912c6913d0b110af29
|
|
| BLAKE2b-256 |
84954609e80c7be79a4a45b8e331ce871aae583283029c90a1711f9ae8cb51f4
|
File details
Details for the file pyfian-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyfian-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.7 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05f115124b804227e77df58e491614da9ed41129b10651f0f1497fe264540c35
|
|
| MD5 |
66088704259b59d24141e0b5d2a6adbe
|
|
| BLAKE2b-256 |
e149ac9b59f96c4516a25da09667eca902a69cc71ae955b81cd448218fc581f9
|