-
Notifications
You must be signed in to change notification settings - Fork 330
/
pyproject.toml
99 lines (91 loc) · 2.46 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
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
98
99
[tool.poetry]
name = "bindsnet"
version = "0.3.3"
description = "Spiking neural networks for ML in Python"
authors = [ "Hananel Hazan <[email protected]>", "Daniel Saunders", "Darpan Sanghavi", "Hassaan Khan" ]
license = "AGPL-3.0-only"
readme = "README.md"
repository = "https://github.com/BindsNET/bindsnet"
documentation = "https://bindsnet-docs.readthedocs.io/"
keywords = ["spiking", "neural", "networks", "pytorch"]
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
numpy = "^2"
scipy = "^1"
Cython = "^3"
torch = [
{version = "2.5.1", platform = "linux", source = "torch+cu124"},
{version = "2.5.1", platform = "darwin"},
{version = "2.5.1", platform = "win32", source = "torch+cu124"},
{version = "2.5.1", platform = "win_amd64", source = "torch+cu124"},
]
torchvision = [
{version = "0.20.1", platform = "darwin"},
{version = "0.20.1", platform = "linux", source = "torch+cu124"},
{version = "0.20.1", platform = "win32", source = "torch+cu124"},
{version = "0.20.1", platform = "win_amd64", source = "torch+cu124"},
]
torchaudio = [
{version = "2.5.1", platform = "darwin"},
{version = "2.5.1", platform = "linux", source = "torch+cu124"},
{version = "2.5.1", platform = "win32", source = "torch+cu124"},
{version = "2.5.1", platform = "win_amd64", source = "torch+cu124"},
]
tensorboardX = "^2.6.2"
tqdm = "^4"
matplotlib = "^3"
ale-py = "^0"
gymnasium = {extras = ["atari"], version = "^0"}
scikit-build = "^0.18"
scikit-image = "^0.24"
scikit-learn = "^1.5"
opencv-python = "^4"
pandas = "^2"
foolbox = "^3"
[[tool.poetry.source]]
name = "torch+cu118"
url = "https://download.pytorch.org/whl/cu118"
priority = "explicit"
[[tool.poetry.source]]
name = "torch+cu121"
url = "https://download.pytorch.org/whl/cu121"
priority = "explicit"
[[tool.poetry.source]]
name = "torch+cu124"
url = "https://download.pytorch.org/whl/cu124"
priority = "explicit"
[tool.poetry.dev-dependencies]
pytest = "^8"
pre-commit = "^3"
notebook = "^7"
jupyterlab = "^4"
isort = "^5.9.3"
black = "^24"
autoflake = "^2"
[build-system]
requires = ["setuptools", "poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
line_length = 88
src_paths = ["bindsnet", "test"]
[tool.black]
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.pytest_cache
| \.venv
| \.github
| build
| dist
| BindsNET.egg-info
| notebooks
| data
| logs
)/
'''