forked from robertmartin8/PyPortfolioOpt
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
119 lines (101 loc) · 2.94 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[project]
name = "pyportfolioopt"
version = "0.0.0"
description = "Financial portfolio optimization in python"
license = "MIT"
authors = [{name="Robert Andrew Martin", email="martin.robertandrew@gmail.com"}]
readme = "README.md"
keywords= ["finance", "portfolio", "optimization", "quant", "investing"]
requires-python = ">=3.10"
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Office/Business :: Financial",
"Topic :: Office/Business :: Financial :: Investment",
]
dependencies = [
"scipy",
"pandas",
"cvxpy",
"numpy"
]
[project.urls]
repository = "https://github.com/robertmartin8/PyPortfolioOpt"
documentation = "https://pyportfolioopt.readthedocs.io/en/latest/"
issues = "https://github.com/robertmartin8/PyPortfolioOpt/issues"
"Personal website" = "https://reasonabledeviations.com"
[project.optional-dependencies]
plot = ["matplotlib", "plotly"]
ecos = ["ecos"]
scikit-learn = ["scikit-learn"]
[dependency-groups]
dev = [
"pytest-cov>=6.0.0",
"pytest>=8.3.3",
"pre-commit>=4.0.1",
"jedi",
"yfinance"
]
#excel = [
# "odfpy>=1.4.1",
# "openpyxl>=3.1.0",
# "python-calamine>=0.1.7",
# "pyxlsb>=1.0.10",
# "xlrd>=2.0.1",
# "xlsxwriter>=3.0.5"
#]
#[tool.poetry.dependencies]
#python = ">=3.9"
#scipy = ">=1.3"
#pandas = ">=0.19"
#cvxpy = ">=1.1.19"
#numpy = ">=1.26.0"
#matplotlib = { version=">=3.2.0", optional=true }
#scikit-learn = { version=">=0.24.1", optional=true }
#ecos = { version="^2.0.14", optional=true }
#plotly = { version="^5.0.0", optional=true }
#[tool.poetry.dev-dependencies]
#pytest = ">=7.1.2"
#flake8 = ">=4.0.1"
#jupyterlab = ">=3.4.2"
#black = ">=22.3.0"
#ipykernel = ">=6.13.0"
#jedi = ">=0.18.1"
#pytest-cov = ">=3.0.0"
#yfinance = ">=0.1.70"
#[tool.poetry.extras]
#optionals = ["scikit-learn", "matplotlib", "cvxopt"]
[tool.ruff]
line-length = 120
target-version = "py310"
exclude = [
"*__init__.py", "tests/test_imports.py"
]
[tool.ruff.lint]
select = ["E", "F", "I"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["pypfopt"]
[tool.deptry.per_rule_ignores]
DEP002 = ["ecos"]
#[build-system]
#requires = ["poetry-core>=1.0.0"]
#build-backend = "poetry.core.masonry.api"
#[tool.black]
#line-length = 88
#[tool.isort]
#profile = "black"