Metadata-Version: 2.4
Name: pyfundlib
Version: 0.1.4
Summary: End-to-End Python Framework for Algorithmic Trading: Backtesting, ML Alpha, Live Execution & Automation
Project-URL: Homepage, https://pyfund.tech
Project-URL: Documentation, https://pyfund.tech/docs
Project-URL: Repository, https://github.com/Hima-D/pyfundlib
Project-URL: Issues, https://github.com/Hima-D/pyfundlib/issues
Project-URL: Changelog, https://github.com/Hima-D/pyfundlib/releases
Author-email: Himanshu Dixit <hima@pyfund.tech>
License: MIT
Keywords: algorithmic-trading,automated-trading,backtesting,live-trading,machine-learning,ml-alpha,portfolio-optimization,quantitative-finance
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Pydantic :: 2
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Office/Business :: Financial
Classifier: Topic :: Office/Business :: Financial :: Investment
Classifier: Topic :: Scientific/Engineering :: Mathematics
Requires-Python: >=3.10
Requires-Dist: apscheduler>=3.10.4
Requires-Dist: matplotlib>=3.8.0
Requires-Dist: mlflow>=2.12.0
Requires-Dist: numpy>=1.24.0
Requires-Dist: pandas>=2.0.0
Requires-Dist: pyarrow>=14.0.0
Requires-Dist: scikit-learn>=1.3.0
Requires-Dist: seaborn>=0.13.0
Requires-Dist: torch>=2.1.0
Requires-Dist: xgboost>=2.0.0
Requires-Dist: yfinance>=0.2.40
Provides-Extra: broker
Requires-Dist: alpaca-py>=3.0; extra == 'broker'
Requires-Dist: kiteconnect>=4.0; extra == 'broker'
Provides-Extra: dev
Requires-Dist: black>=24.0; extra == 'dev'
Requires-Dist: jupyterlab>=4.0; extra == 'dev'
Requires-Dist: mypy>=1.11; extra == 'dev'
Requires-Dist: pre-commit; extra == 'dev'
Requires-Dist: pytest-cov; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.6.0; extra == 'dev'
Requires-Dist: sphinx-rtd-theme; extra == 'dev'
Requires-Dist: sphinx>=7.0; extra == 'dev'
Requires-Dist: streamlit>=1.38.0; extra == 'dev'
Provides-Extra: full
Requires-Dist: alpaca-py>=3.0; extra == 'full'
Requires-Dist: black>=24.0; extra == 'full'
Requires-Dist: jupyterlab>=4.0; extra == 'full'
Requires-Dist: kiteconnect>=4.0; extra == 'full'
Requires-Dist: mypy>=1.11; extra == 'full'
Requires-Dist: pre-commit; extra == 'full'
Requires-Dist: pytest-cov; extra == 'full'
Requires-Dist: pytest>=8.0; extra == 'full'
Requires-Dist: ruff>=0.6.0; extra == 'full'
Requires-Dist: sphinx-rtd-theme; extra == 'full'
Requires-Dist: sphinx>=7.0; extra == 'full'
Requires-Dist: streamlit>=1.38.0; extra == 'full'
Description-Content-Type: text/markdown

# PyFundLib ⚡

**The most powerful, modern, and production-ready Python framework for algorithmic trading & ML alpha**

From backtesting RSI mean-reversion to running 24/7 autonomous LSTM-powered live trading — all with a clean, type-annotated, zero-boilerplate API.

Built by a quant. For quants who refuse to compromise.

<p align="center">
  <a href="https://pypi.org/project/pyfundlib/"><img src="https://img.shields.io/pypi/v/pyfundlib?style=flat-square&color=blue" alt="PyPI"></a>
  <img src="https://img.shields.io/pypi/pyversions/pyfundlib?style=flat-square" alt="Python">
  <a href="https://github.com/Hima-D/pyfundlib/stargazers"><img src="https://img.shields.io/github/stars/Hima-D/pyfundlib?style=social" alt="Stars"></a>
  <a href="https://github.com/Hima-D/pyfundlib/blob/main/LICENSE"><img src="https://img.shields.io/github/license/Hima-D/pyfundlib?style=flat-square&color=green" alt="License"></a>
  <img src="https://img.shields.io/badge/status-Production%20Ready-success?style=flat-square" alt="Status">
</p>

<p align="center">
  <strong>Clean API • Institutional MLOps • Zero Boilerplate • Real Edge</strong>
</p>

## Why PyFundLib Dominates

| Feature                             | PyFundLib                                  | Backtrader • VectorBT • Others |
|-------------------------------------|--------------------------------------------|--------------------------------|
| Published on PyPI                   | Yes `pip install pyfundlib`                     | No                             |
| Modern `src/` layout + full typing  | Yes                                        | Rarely                         |
| Built-in ML (LSTM • XGBoost • RF)   | Yes Full pipelines + MLflow + versioning   | No                             |
| Multi-broker live execution         | Alpaca • Zerodha • IBKR • Binance          | Partial                        |
| Zstd Parquet caching + metadata     | Yes Automatic                              | No                             |
| One-liner equity curves & reports   | Yes Gorgeous out-of-the-box                | Manual                         |
| CLI + scheduler + auto-retrain      | Yes `pyfundlib live`                       | No                             |
| Dry-run by default                  | Yes No accidental nuclear launches        | Risky                          |

## Installation

```bash
pip install pyfundlib