[build-system] requires = ["setuptools>=65.0", "wheel"] build-backend = "setuptools.build_meta" [project] name = "defrag" version = "1.0.0" description = "Intelligent disk reorganization system for 20TB+ data" readme = "README.md" requires-python = ">=3.9" license = {text = "MIT"} authors = [ {name = "Project Defrag"} ] keywords = ["disk", "storage", "deduplication", "classification", "migration"] classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: System Administrators", "Topic :: System :: Filesystems", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] dependencies = [ "psycopg2-binary>=2.9.0", "psutil>=5.9.0", "pandas>=1.5.0", "pyarrow>=10.0.0", "python-magic>=0.4.27", ] [project.optional-dependencies] redis = ["redis>=4.5.0"] ml = ["scikit-learn>=1.2.0", "numpy>=1.24.0"] dev = [ "pytest>=7.2.0", "pytest-cov>=4.0.0", "black>=23.0.0", "mypy>=1.0.0", "flake8>=6.0.0", ] all = [ "redis>=4.5.0", "scikit-learn>=1.2.0", "numpy>=1.24.0", ] [project.scripts] defrag = "main:main" [tool.black] line-length = 100 target-version = ['py39', 'py310', 'py311', 'py312'] include = '\.pyi?$' [tool.mypy] python_version = "3.9" warn_return_any = true warn_unused_configs = true disallow_untyped_defs = false disallow_incomplete_defs = false check_untyped_defs = true no_implicit_optional = true [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] python_classes = ["Test*"] python_functions = ["test_*"] addopts = "-v --cov=. --cov-report=html --cov-report=term"