This release is a pre-release and may not be stable for production use.
PortLearn
PortLearn is a finance-first research framework for controlled, reproducible, and modular experimentation in machine-learned portfolio choice.
Change the research component without accidentally changing the financial experiment.
PortLearn is being developed to support comparable portfolio-learning research across classical methods, forecasting-based machine learning, direct deep learning, reinforcement learning, optimization-based approaches, and user-defined research components under common financial experiment contracts.
Status
PortLearn is in early development and has not yet been published as a stable package release. The current public surface exposes the research foundation and API contracts. The public API is not yet stable.
Design Direction
PortLearn aims to provide reusable infrastructure for:
- financial data and information-set construction;
- modular feature engineering;
- portfolio strategy composition;
- common portfolio accounting;
- controlled comparison of alternative methods;
- research reproducibility and provenance.
PortLearn is a research toolkit, not a repository for individual paper-specific models or unpublished research architectures.
Roadmap
PortLearn is under active research development. This roadmap is intentionally high-level: it communicates broad direction only, is subject to change as the research framework develops, and does not promise dates or specific functionality.
Available now
- Research foundation: time/chronology contracts, observation handling, information sets, and the core research interfaces that define how portfolio research components compose.
- Validation utilities for detecting violations of point-in-time information contracts.
- Canonical run manifests for recording environment and command provenance.
Next
- Datasets and data access: adapters and alignment for market and macro data.
- Experiment and reproducibility infrastructure.
Planned
- Forecasting methods.
- Portfolio construction and accounting.
- Later deep-learning and reinforcement-learning research capabilities.
Entries move forward on this roadmap as the underlying research foundation stabilizes; nothing here is a dated commitment.
Development
The local development battery, from a fresh clone:
uv sync --locked
uv run ruff check .
uv run pytest
uv build
uv run python scripts/verify_built_wheel.py
Release files for portlearn 0.0.1.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| portlearn-0.0.1.dev0.tar.gz | 93.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| portlearn-0.0.1.dev0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 122.5 kB
Release files / portlearn-0.0.1.dev0.tar.gz
| Download URL | portlearn-0.0.1.dev0.tar.gz |
|---|---|
| Size | 93.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed12acd8a34eb695f76d712dcd09266134fc1b4adf379e1e726aa81ebe8ae27a
|
|
BLAKE2b-256 checksum How to use checksums |
ce91844b990f99d4635ea944033291807579f678540afa4a6fcdddc271eb8745
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.12
|
Release files / portlearn-0.0.1.dev0-py3-none-any.whl
| Download URL | portlearn-0.0.1.dev0-py3-none-any.whl |
|---|---|
| Size | 28.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e24d504633ccbf498288435929100c7a50a5dc3ca086c8cd49b14b48b2ab772
|
|
BLAKE2b-256 checksum How to use checksums |
b8ddbb3a4d7f8b6e6f9e38a604dbbd0de57533e5fc19e8ad9d086ceedabdfb6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.12
|