-
-
Notifications
You must be signed in to change notification settings - Fork 510
/
Copy pathpyproject.toml
69 lines (59 loc) · 1.53 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
[project]
name = 'finmarketpy'
version = "0.0.0" # do not change by hand!
description = "finmarketpy is a Python based library for backtesting trading strategies"
# Please add authors and correct the email...
authors = [{name='Saeed Aman', email= 'saeed@cuemacro.com'}]
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"blosc>=1.11.2",
"chartpy",
"findatapy",
"matplotlib>=3.9.4",
"numba>=0.60.0",
"numpy>=2.0.2",
"pandas>=2.2.3",
"scikit-learn>=1.6.1",
"seasonal>=0.3.1",
]
keywords = [
"trading", "markets", "currencies", "pandas", "data", "Bloomberg", "tick", "stocks", "equities"
]
[project.urls]
repository = "https://github.com/cuemacro/finmarketpy"
[dependency-groups]
dev = [
"pytest-cov>=6.0.0",
"pytest>=8.3.3",
"pre-commit>=4.0.1",
"deptry>=0.23.0",
"marimo>=0.11.16",
]
[tool.ruff]
line-length = 120
target-version = "py39"
exclude = [
"*__init__.py"
]
[tool.ruff.lint]
select = ["E", "F", "I"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["finmarketpy"]
[tool.hatch.build]
include = [
"LICENSE", # Ensure the LICENSE file is included in your package
"README.md",
"finmarketpy"
]
[tool.bandit]
exclude_dirs = ["tests"]
[tool.uv.sources]
chartpy = { git = "https://github.com/cuemacro/chartpy.git" }
findatapy = { git = "https://github.com/cuemacro/findatapy.git" }
[tool.deptry.per_rule_ignores]
#DEP001 = ["pyfolio"] # very dated dependency!
DEP003 = ["finmarketpy"]