[build-system]
requires = ["maturin>=1.4,<2"]
build-backend = "maturin"
[project]
name = "fusedb"
version = "0.3.0"
description = "A read-optimised binary database where many keys share one object — with zero duplication on disk."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [{ name = "David Aires", email = "d.aires@easi.net" }]
keywords = ["database", "key-value", "lookup", "enrichment"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"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 :: Rust",
"Topic :: Database",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = ["msgpack>=1.0"]
[project.optional-dependencies]
dev = [
"pytest>=8",
"pytest-benchmark>=4",
"pytest-cov>=5",
"ruff>=0.4",
"mypy>=1.10",
"ipaddress",
]
[project.urls]
Homepage = "https://github.com/David-Aires/fusedb"
Repository = "https://github.com/David-Aires/fusedb"
Issues = "https://github.com/David-Aires/fusedb/issues"
Changelog = "https://github.com/David-Aires/fusedb/blob/main/CHANGELOG.md"
[tool.maturin]
python-source = "python"
module-name = "fusedb._fusedb"
compatibility = "manylinux2014"
profile = "release"
features = ["python", "pyo3/extension-module"]
[dependency-groups]
dev = [
"pytest>=8",
"pytest-benchmark>=4",
"pytest-cov>=5",
"ruff>=0.9",
"mypy>=1.10",
"maturin>=1.4,<2",
"msgpack>=1.0",
]
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "SIM"]
ignore = ["B008"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S", "ANN"]
[tool.mypy]
python_version = "3.10"
strict = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
filterwarnings = ["error"]
[tool.coverage.run]
source = ["fusedb"]
omit = ["fusedb/_fusedb*"]
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 75