-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (45 loc) · 1.34 KB
/
pyproject.toml
File metadata and controls
59 lines (45 loc) · 1.34 KB
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
[tool.poetry]
name = "tradfin2simplicity"
version = "0.1.0"
description = "Jupyter notebooks for exploring TradFin-to-Simplicity translation and experiments"
authors = ["coremoon <237020170+coremoon@users.noreply.github.com>"]
license = "MIT"
readme = "README.md"
# The main project type is notebooks and analysis tools
packages = [{ include = "tradfin2simplicity" }]
[tool.poetry.dependencies]
# Core Python version
python = ">=3.10,<3.13"
# Jupyter environment
jupyterlab = "<4.5.0"
# Visualization library
matplotlib = "^3.9.0"
# Simplicity-related libraries (adjust versions if specific tags exist)
pyhalsimplicity = "0.1.0"
pysimplicityhl = "0.3.4"
# (optional) add pandas/numpy if you need data analysis
# pandas = "^2.2.0"
# numpy = "^1.26.0"
bitcoinrpc = "^0.7.0"
python-bitcoinrpc = "^1.0"
[tool.poetry.group.dev.dependencies]
# Development tools
poethepoet = "^0.27.0"
black = "^24.0"
ruff = "^0.6.0"
rpds-py="<=0.27.0"
[tool.poe.tasks]
# Tasks can be run via `poe <task>` for convenience
# Run JupyterLab
lab = "jupyter lab"
# Run a notebook conversion example (optional)
nbconvert = "jupyter nbconvert --to html notebooks/*.ipynb"
# Lint the code
lint = "ruff check ."
# Format code
fmt = "black ."
# Example: install/update dependencies
update = "poetry update"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"