Skip to main content

MarkoWizard

A modern Python library for Markowitz portfolio optimization and analysis.

PyPI Python versions Downloads CI License

Documentation

Efficient frontier, capital allocation line and interactive charts, from market data to the best portfolio in a few lines. Previously known as Diversificador.

Installation

pip install markowizard

What's inside

  • MarkowitzOptimizer: mean-variance optimization over the efficient frontier, with Sharpe ratios and the max-Sharpe portfolio.
  • CapitalAllocator: the capital allocation line, mixing a risky portfolio with a risk-free asset.
  • markowizard.visualization: Plotly charts for the frontier, allocation, CAL, correlations and prices.
  • markowizard.data: helpers to download prices with yfinance and compute returns.
  • Web app: a FastAPI backend with an interactive frontend, available as a Docker image (docs).

See the quick start and the API reference.

Metadata

Release files for markowizard 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for markowizard 0.3.1
File Size Uploaded Provenance Actions
markowizard-0.3.1.tar.gz 13.8 kB With provenance Details for markowizard-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for markowizard 0.3.1
File Interpreter ABI Platform Actions
markowizard-0.3.1-py3-none-any.whl Python 3 none any Details for markowizard-0.3.1-py3-none-any.whl

Total release size: 25.0 kB

Release files / markowizard-0.3.1.tar.gz

Download URL markowizard-0.3.1.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
23b15b39977ade3227be416da8e083110a03fd941b1f6b8eca43078bd8ad9295
BLAKE2b-256 checksum
How to use checksums
b6c53623f178a651838a93c6b9fb274aac1223e88a1a575c8d1aac244962c142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / markowizard-0.3.1-py3-none-any.whl

Download URL markowizard-0.3.1-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
58bc987957e31f289021c90ae47070fb16aa7562d34a5feee419eadbeac68f8c
BLAKE2b-256 checksum
How to use checksums
6e8953a3577c853d832373dd7995386c60addf0ef812e4924c70e7d5c665637c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for markowizard 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for markowizard-0.3.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page