mirror of
https://github.com/logos-blockchain/research.git
synced 2026-08-07 11:43:20 +00:00
44 lines
879 B
TOML
44 lines
879 B
TOML
|
|
[build-system]
|
||
|
|
requires = ["hatchling"]
|
||
|
|
build-backend = "hatchling.build"
|
||
|
|
|
||
|
|
[project]
|
||
|
|
name = "pd"
|
||
|
|
version = "0.1.0"
|
||
|
|
description = "Peering-degree Monte-Carlo graph simulator for the Blend network"
|
||
|
|
requires-python = ">=3.11"
|
||
|
|
dependencies = [
|
||
|
|
"numpy",
|
||
|
|
"pandas",
|
||
|
|
"pyarrow",
|
||
|
|
"matplotlib",
|
||
|
|
"scipy",
|
||
|
|
"pyyaml",
|
||
|
|
"tqdm",
|
||
|
|
"joblib",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.optional-dependencies]
|
||
|
|
dev = ["pytest", "pytest-xdist", "ruff", "mypy"]
|
||
|
|
|
||
|
|
[project.scripts]
|
||
|
|
pd-sweep = "pd.sweep:main"
|
||
|
|
pd-verify = "pd.verify:main"
|
||
|
|
pd-figures = "pd.plotting.make_figures:main"
|
||
|
|
|
||
|
|
[tool.hatch.build.targets.wheel]
|
||
|
|
packages = ["src/pd"]
|
||
|
|
|
||
|
|
[tool.ruff]
|
||
|
|
line-length = 100
|
||
|
|
target-version = "py311"
|
||
|
|
|
||
|
|
[tool.ruff.lint]
|
||
|
|
select = ["E", "F", "I", "UP", "B", "NPY"]
|
||
|
|
ignore = ["E741"]
|
||
|
|
|
||
|
|
[tool.pytest.ini_options]
|
||
|
|
testpaths = ["tests"]
|
||
|
|
addopts = "-q"
|
||
|
|
markers = ["slow: marks slow tests (deselect with -m 'not slow')"]
|