aboutsummaryrefslogtreecommitdiff
path: root/pyproject.toml
blob: 7710fbbb87316b8f2fe729255560e0e1f52f854b (plain) (blame)
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

[project]
name = "multilayer-perceptron"
version = "1.0.0"
description = "A simple multilayer perceptron implementation in NumPy"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Kagamino", email = "martin@lehoux.net" }]
maintainers = [{ name = "Kagamino", email = "martin@lehoux.net" }]
keywords = ["neural-network", "mlp", "numpy", "machine-learning"]
classifiers = [
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Programming Language :: Python :: 3.14",
    "Intended Audience :: Education",
    "Intended Audience :: Science/Research",
    "Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
    "numpy>=1.24",
    "matplotlib>=3.8",
]

[project.optional-dependencies]
data = ["idx2numpy>=1.2"]
dev = [
    "ruff>=0.8",
    "ty>=0.0.1a",
    "pytest>=8",
]
all = ["idx2numpy>=1.2"]

[project.scripts]
mlp-download = "MultiLayerPerceptron.download:main"

[project.urls]
Homepage = "https://github.com/Mertaami/multilayer-perceptron"
Repository = "https://github.com/Mertaami/multilayer-perceptron"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["MultiLayerPerceptron"]

[tool.ruff]
line-length = 100
target-version = "py310"
exclude = ["MultiLayerPerceptron/data.py", "MultiLayerPerceptron/test.py", "MultiLayerPerceptron/main.py"]

[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM", "RUF"]
ignore = []

[tool.ruff.format]
quote-style = "double"

[tool.ty.environment]
python-version = "3.14"

[dependency-groups]
dev = [
    "ruff>=0.8",
    "ty>=0.0.1a",
    "pytest>=8",
    "idx2numpy>=1.2",
    "matplotlib>=3.8",
]