Files
trainlib/pyproject.toml
2026-03-05 01:36:40 -08:00

85 lines
1.8 KiB
TOML

[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "trainlib"
version = "0.1.1"
description = "Minimal framework for ML modeling. Supports advanced dataset operations and streamlined training."
requires-python = ">=3.13"
authors = [
{ name="Sam Griesemer", email="git@olog.io" },
]
readme = "README.md"
license = "MIT"
keywords = [
"machine-learning",
]
classifiers = [
"Programming Language :: Python",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
]
dependencies = [
"colorama>=0.4.6",
"matplotlib>=3.10.8",
"numpy>=2.4.1",
"tensorboard>=2.20.0",
"torch>=2.5.1",
"tqdm>=4.67.1",
]
[project.scripts]
symconf = "trainlib.__main__:main"
[project.optional-dependencies]
dev = [
"ipykernel",
]
doc = [
"furo",
"myst-parser",
"sphinx",
"sphinx-togglebutton",
"sphinx-autodoc-typehints",
]
test = [
"pytest",
]
[project.urls]
Homepage = "https://doc.olog.io/trainlib"
Documentation = "https://doc.olog.io/trainlib"
Repository = "https://git.olog.io/olog/trainlib"
Issues = "https://git.olog.io/olog/trainlib/issues"
[tool.setuptools.packages.find]
include = ["trainlib*"]
# for static data files under package root
# [tool.setuptools.package-data]
# "<package>" = ["data/*.toml"]
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = ["ANN", "E", "F", "UP", "B", "SIM", "I", "C4", "PERF"]
[tool.ruff.lint.isort]
length-sort = true
order-by-type = false
force-sort-within-sections = false
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101"]
"**/__init__.py" = ["F401"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true