Skip to main content

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

GNU License

Contributing

Contributions are welcome! Please open issues or submit pull requests.

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

pyfian-0.1.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

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

pyfian-0.1.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

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

Hashes for pyfian-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9c040a3f4b2bda707f46f0e56f435ec22dfbf82222401ad8799bc904321b1259
MD5 e2b10c207a36a1912c6913d0b110af29
BLAKE2b-256 84954609e80c7be79a4a45b8e331ce871aae583283029c90a1711f9ae8cb51f4

See more details on using hashes here.

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

Hashes for pyfian-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05f115124b804227e77df58e491614da9ed41129b10651f0f1497fe264540c35
MD5 66088704259b59d24141e0b5d2a6adbe
BLAKE2b-256 e149ac9b59f96c4516a25da09667eca902a69cc71ae955b81cd448218fc581f9

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