-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (79 loc) · 2.87 KB
/
pyproject.toml
File metadata and controls
88 lines (79 loc) · 2.87 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
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
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "tensor-network-visualization"
version = "2.0.2"
description = "Minimal Matplotlib visualizations for TensorKrowch, TensorNetwork, Quimb, TeNPy, and traced PyTorch/NumPy einsum tensor networks."
authors = [{ name = "Alejandro Mata Ali" }]
readme = "README.md"
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.11"
keywords = ["tensor-network", "visualization", "pytorch", "numpy", "tensorkrowch", "tensornetwork", "quimb", "tenpy", "einsum", "quantum-inspired", "matplotlib"]
dependencies = [
"matplotlib>=3.7",
"networkx>=3.0",
"numpy>=2.0",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Visualization",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://github.com/DOKOS-TAYOS/Tensor-Network-Visualization"
Documentation = "https://github.com/DOKOS-TAYOS/Tensor-Network-Visualization/blob/main/docs/guide.md"
Changelog = "https://github.com/DOKOS-TAYOS/Tensor-Network-Visualization/blob/main/CHANGELOG.md"
Repository = "https://github.com/DOKOS-TAYOS/Tensor-Network-Visualization"
Issues = "https://github.com/DOKOS-TAYOS/Tensor-Network-Visualization/issues"
[project.optional-dependencies]
dev = [
"build",
"pytest",
"ruff",
"pyright",
"ipython",
"tensorkrowch",
"tensornetwork",
"quimb",
"physics-tenpy",
]
jupyter = ["ipympl>=0.9.0", "ipywidgets>=8.0", "jupyterlab>=4.0", "notebook>=7.0"]
tensorkrowch = ["tensorkrowch"]
tensornetwork = ["tensornetwork"]
quimb = ["quimb"]
tenpy = ["physics-tenpy"]
einsum = ["torch"]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
tensor_network_viz = ["py.typed"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-p no:cacheprovider -m \"not perf\""
pythonpath = ["src"]
markers = [
"perf: runtime-sensitive regression checks and throughput guards",
"smoke: lightweight render smoke checks",
]
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["src", "tests"]
exclude = [".venv", ".tmp", ".tmp_venv_*", ".pip_tmp", ".pytest_cache", ".ruff_cache", "pytest-cache-files-*", "tn_tsp.py"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "C4", "SIM", "RUF100"]
[tool.ruff.lint.per-file-ignores]
# Examples set sys.path before importing local demo_cli (importlib-safe).
"examples/**/*.py" = ["E402"]
# Repo-root bench helpers insert ``src`` on sys.path before third-party imports.
"scripts/**/*.py" = ["E402"]
"src/tensor_network_viz/_core/layout/body.py" = ["F403", "F405"]