MY727FINANCE
A professional Python library for Quantitative Finance, Financial Analysis, Corporate Finance, Cost & Management Accounting, Audit Analytics, and Business Intelligence.
MY727FINANCE provides a NumPy-style API for financial calculations, allowing developers, accountants, auditors, analysts, researchers, students, and businesses to perform financial computations using a single, lightweight library.
Designed & Developed By
T.P. Thangaprabhu
B.Sc., MBA, CIMA Adv Dip MA (UK), FCMA, ACPIFSD (IIT Roorkee)
Cost Accountant | Full Stack Developer | Data Scientist
Founder & Director
MY727INFOTECH INDIA PRIVATE LIMITED
Installation
From PyPI
pip install my727finance
From Wheel
pip install my727finance-0.1.0-py3-none-any.whl
Development Installation
pip install -e ".[dev]"
Quick Start
import my727finance as mf
ratio = mf.ratios.current_ratio(
150000,
75000,
)
print(ratio)
Output
2.0
Example
import my727finance as mf
summary = mf.management_insights.financial_health_summary(
current_assets=200000,
current_liabilities=100000,
total_debt=300000,
average_shareholders_equity=500000,
net_income=80000,
revenue=1000000,
average_total_assets=900000,
)
print(summary)
Features
✔ Financial Mathematics
✔ Financial Ratio Analysis
✔ Financial Statement Analysis
✔ Technical Indicators
✔ Portfolio Risk Analytics
✔ Cash Flow Analysis
✔ Working Capital Analysis
✔ Cost Accounting
✔ Cost Volume Profit Analysis
✔ Standard Costing Variance Analysis
✔ Audit Analytics
✔ Management Insights
✔ NumPy-first API
✔ Pandas-friendly
✔ Extensive Input Validation
✔ Type Hints
✔ Comprehensive Automated Tests
Module Overview
| Module | Description |
|---|---|
| financial_math | Time Value of Money, NPV, IRR, Loan Calculations, Amortization |
| indicators | SMA, EMA, RSI, MACD, Bollinger Bands |
| risk | Returns, Volatility, Sharpe Ratio, Sortino Ratio, VaR, Beta |
| ratios | Liquidity, Profitability, Leverage, Efficiency and Valuation Ratios |
| statement_analysis | Vertical Analysis, Horizontal Analysis and Trend Analysis |
| cash_flow | Free Cash Flow, Cash Conversion Cycle and Cash Flow Ratios |
| working_capital | Working Capital Analysis and Efficiency Metrics |
| costing | Contribution Margin, Break-even Analysis and CVP |
| variance_analysis | Material, Labour, Overhead and Sales Variances |
| audit_analytics | Benford Analysis, Outlier Detection and Duplicate Detection |
| management_insights | DuPont Analysis, Altman Z-Score and Financial Health Summary |
Design Principles
MY727FINANCE has been designed with the following principles:
- Simple API
- High Performance
- NumPy-first
- Pandas-friendly
- Lightweight
- Well Documented
- Highly Tested
- Easy to Extend
- Enterprise Ready
Dependencies
Only two external libraries are required:
- NumPy
- Pandas
This keeps the library lightweight and suitable for offline environments.
Supported Python Versions
- Python 3.9+
- Python 3.10
- Python 3.11
- Python 3.12
Testing
MY727FINANCE includes an extensive automated testing suite.
Current Quality Metrics
- 490 Automated Tests
- 490 Passed
- 0 Failed
- Approximately 88% Code Coverage
Run the tests:
pytest -v
Run coverage:
pytest --cov=my727finance --cov-report=term-missing
Build
python -m build
Publish to PyPI
python -m pip install --upgrade build twine
python -m build
twine upload dist/*
Example Usage
import my727finance as mf
prices = [100,102,101,105,107,110]
returns = mf.risk.simple_returns(prices)
print(
mf.risk.sharpe_ratio(returns)
)
print(
mf.indicators.rsi(prices)
)
print(
mf.ratios.current_ratio(
250000,
100000
)
)
Disclaimer
MY727FINANCE provides standard financial and accounting calculations for educational, analytical and professional purposes.
The results generated by this library should not be considered financial, investment, legal, accounting, taxation or audit advice.
Users should apply appropriate professional judgment and independently verify all calculations before making financial or business decisions.
License
This software is licensed under the MY727FINANCE Community License v1.0.
Please read the LICENSE file before using or distributing this software.
Copyright
Copyright © 2026
MY727INFOTECH INDIA PRIVATE LIMITED
All Rights Reserved.
Original Software Design & Development
T.P. Thangaprabhu
B.Sc., MBA, CIMA Adv Dip MA (UK), FCMA, ACPIFSD (IIT Roorkee)
Cost Accountant | Full Stack Developer | Data Scientist
Founder & Director
MY727INFOTECH INDIA PRIVATE LIMITED
Contact
MY727INFOTECH INDIA PRIVATE LIMITED
Email: prabhu@my727infotech.co.in
Website: https://www.my727infotech.co.in
Metadata
Release files for my727finance 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| my727finance-0.1.0.tar.gz | 53.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| my727finance-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 96.5 kB
Release files / my727finance-0.1.0.tar.gz
| Download URL | my727finance-0.1.0.tar.gz |
|---|---|
| Size | 53.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9aeac1a9fc2e64a118c2c190e413230db58fd4626fef3ed010c983757b018f6
|
|
BLAKE2b-256 checksum How to use checksums |
9621001037ce0ddfef1b80346f220f022cd17941729bedc8240188ab1ba5f47c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.2
|
Release files / my727finance-0.1.0-py3-none-any.whl
| Download URL | my727finance-0.1.0-py3-none-any.whl |
|---|---|
| Size | 43.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
374c7b316abe2c4d7229e7988cbcb70c4900cce01e48a9cf4b03104f2affb175
|
|
BLAKE2b-256 checksum How to use checksums |
1421eb7f54b887abc06bfb1d88ce65eb5a51d960a9d74f5981d071c558ee0ae4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.2
|