Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (90 loc) · 2.28 KB
/
Copy pathpyproject.toml
File metadata and controls
97 lines (90 loc) · 2.28 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
89
90
91
92
93
94
95
96
97
[project]
name = "bindsnet"
version = "0.3.4"
description = "Spiking neural networks for ML in Python"
authors = [
{ name = "Hananel Hazan", email = "hananel@hazan.org.il" },
{ name = "Daniel Saunders" },
{ name = "Darpan Sanghavi" },
{ name = "Hassaan Khan" },
]
license = "AGPL-3.0-only"
license-files = ["LICENSE"]
readme = "README.md"
requires-python = ">=3.11,<3.14"
keywords = ["spiking", "neural", "networks", "pytorch"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"numpy>=2,<3",
"scipy>=1,<2",
"torch>=2.14,<3",
"torchvision>=0.29,<1",
"tensorboardX>=2.6.4,<3",
"tqdm>=4,<5",
"matplotlib>=3.11.2,<4",
"ale-py>=0,<1",
"gymnasium[atari]>=1.4.0,<2",
"scikit-image>=0,<1",
"scikit-learn>=1,<2",
"opencv-python>=4.14,<6",
"pandas>=3.0.6,<4",
]
[project.urls]
Repository = "https://github.com/BindsNET/bindsnet"
Documentation = "https://bindsnet-docs.readthedocs.io/"
Changelog = "https://github.com/BindsNET/bindsnet/blob/master/CHANGELOG.md"
# Poetry-only detail: on Linux and Windows, install torch/torchvision from the CUDA 13.0
# wheel index. PyPI users get the torch build that PyPI serves.
[tool.poetry.dependencies]
torch = [
{ markers = "sys_platform != 'darwin'", source = "torch+cu130" },
{ markers = "sys_platform == 'darwin'" },
]
torchvision = [
{ markers = "sys_platform != 'darwin'", source = "torch+cu130" },
{ markers = "sys_platform == 'darwin'" },
]
[[tool.poetry.source]]
name = "torch+cu130"
url = "https://download.pytorch.org/whl/cu130"
priority = "explicit"
[tool.poetry.group.dev.dependencies]
pytest = "^9"
pre-commit = "^4"
notebook = "^7"
jupyterlab = "^4"
isort = "^9"
black = "^26"
autoflake = "^2"
[build-system]
requires = ["poetry-core>=2.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
line_length = 88
src_paths = ["bindsnet", "test"]
[tool.black]
target-version = ['py311', 'py312', 'py313']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.pytest_cache
| \.venv
| \.github
| build
| dist
| BindsNET.egg-info
| notebooks
| data
| logs
)/
'''