semvec/pypi-packages huggingface dataset:
principal-portfolios 1.0.5
A Python implementation of the Principal Portfolios methodology by Kelly, Malamud, and Pedersen (2023), enabling optimal asset allocation by exploiting cross-predictability among asset returns.
Requires Python: >=3.6

# principal_portfolios

A Python package implementing the **Principal Portfolios** methodology introduced by Kelly, Malamud, and Pedersen (2023), *The Journal of Finance*.

## Overview

This package provides tools for constructing and analyzing **Principal Portfolios**â€”linear trading strategies derived from the singular value decomposition (SVD) of the **prediction matrix** that captures both own-asset and cross-asset predictive signals.

Key components include:

- Construction of the prediction matrix from asset returns and signals
- Decomposition into:
  - **Principal Portfolios (PPs)**: timeable portfolios ordered by predictability
  - **Principal Exposure Portfolios (PEPs)**: factor-exposed strategies (beta)
  - **Principal Alpha Portfolios (PAPs)**: factor-neutral strategies (alpha)

## Reference

Kelly, B., Malamud, S., & Pedersen, L. H. (2023). [*Principal Portfolios*](https://doi.org/10.1111/jofi.13199). *The Journal of Finance*, 78(1), 347â€“392.

## Installation

After uploading to PyPI, install via:

```bash
pip install principal_portfolios
cal-pip 0.0.1
this cal_pip  package
Requires Python: >=3.2
Keywords: sample, setuptools, development

# math_pip

This is an example Python package created by Rahul Kumar.

It provides additional math operations and utility functions.

---

## Installation

You can install the package via pip:

## how can you use in your project 

import math_pip as ms
ms.add(a,b)
ms.subtract(a,b)

```bash

pip install cal_pip
uncloud 0.0.1
Download a public archive file from popular cloud storage services such as Dropbox, Google Drive, and OneDrive.
Requires Python: >=3.12

# uncloud

[![GitHub][github_badge]][github_link] [![PyPI][pypi_badge]][pypi_link]

uncloud a public archive file from popular cloud storage services such as Dropbox, Google Drive, and OneDrive!



## Installation

Install uncloud and its dependencies

```bash
git clone git@github.com:imyizhang/uncloud.git
pip install -e uncloud
```



## Quickstart

Download and extract a public archive file from its share link URL

```bash
uncloud -x -v <share_link>
```



## License

uncloud has a MIT license, as found in the [LICENSE](https://github.com/imyizhang/uncloud/blob/main/LICENSE) file.



## Contributing

Thanks for your interest in contributing to uncloud! Please feel free to create a pull request.



## Changelog

**uncloud 0.0.1**

* First release



[github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label
[github_link]: https://github.com/imyizhang/uncloud



[pypi_badge]: https://badgen.net/pypi/v/uncloud?icon=pypi&color=black&label
[pypi_link]: https://www.pypi.org/project/uncloud
uncluster 0.0.1
Mirror a remote folder locally via rsync.
Requires Python: >=3.12

# uncluster

[![GitHub][github_badge]][github_link] [![PyPI][pypi_badge]][pypi_link]

uncluster your remote folder!



## Installation

Install uncluster and its dependencies

```bash
git clone git@github.com:imyizhang/uncluster.git
pip install -e uncluster
```



## Quickstart

Set the environment variables

```bash
cd uncluster
cp .env.example .env
vim .env
```



Mirror your remote folder locally

```bash
uncluster -v
```



## License

uncluster has a MIT license, as found in the [LICENSE](https://github.com/imyizhang/uncluster/blob/main/LICENSE) file.



## Contributing

Thanks for your interest in contributing to uncluster! Please feel free to create a pull request.



## Changelog

**uncluster 0.0.1**

* First release



[github_badge]: https://badgen.net/badge/icon/GitHub?icon=github&color=black&label
[github_link]: https://github.com/imyizhang/uncluster



[pypi_badge]: https://badgen.net/pypi/v/uncluster?icon=pypi&color=black&label
[pypi_link]: https://www.pypi.org/project/uncluster