Download pyproject.toml from Atomio/facerecog: direct link, hf CLI and curl.
- Browser
- Download file 4.22 kB
-
https://huggingface.co/spaces/Atomio/facerecog/resolve/main/pyproject.toml
- Command line
-
hf download hf://spaces/Atomio/facerecog/pyproject.toml
-
curl -L -o pyproject.toml https://huggingface.co/spaces/Atomio/facerecog/resolve/main/pyproject.toml
4.22 kB
| [build-system] | |
| requires = ["hatchling"] | |
| build-backend = "hatchling.build" | |
| [project] | |
| name = "facerecog-api" | |
| version = "0.1.0" | |
| description = "A FastAPI application for face recognition using DeepFace and Supabase" | |
| readme = "README.md" | |
| requires-python = ">=3.11" | |
| license = {text = "MIT"} | |
| authors = [ | |
| {name = "Your Name", email = "your.email@example.com"}, | |
| ] | |
| keywords = ["fastapi", "face-recognition", "deepface", "supabase", "computer-vision"] | |
| classifiers = [ | |
| "Development Status :: 3 - Alpha", | |
| "Intended Audience :: Developers", | |
| "License :: OSI Approved :: MIT License", | |
| "Programming Language :: Python :: 3", | |
| "Programming Language :: Python :: 3.11", | |
| "Programming Language :: Python :: 3.12", | |
| "Framework :: FastAPI", | |
| ] | |
| dependencies = [ | |
| "fastapi>=0.104.0", | |
| "uvicorn[standard]>=0.24.0", | |
| "pydantic>=2.5.0", | |
| "pydantic-settings>=2.1.0", | |
| "supabase>=2.3.0", | |
| "deepface>=0.0.79", | |
| "opencv-python>=4.8.0", | |
| "pillow>=10.1.0", | |
| "python-multipart>=0.0.6", | |
| "python-jose[cryptography]>=3.3.0", | |
| "passlib[bcrypt]>=1.7.4", | |
| "httpx>=0.25.0", | |
| "aiofiles>=23.2.1", | |
| "numpy>=1.24.0", | |
| "tensorflow>=2.13.0", | |
| ] | |
| [project.optional-dependencies] | |
| dev = [ | |
| "pytest>=7.4.0", | |
| "pytest-asyncio>=0.21.0", | |
| "pytest-cov>=4.1.0", | |
| "httpx>=0.25.0", | |
| "ruff>=0.1.0", | |
| "mypy>=1.7.0", | |
| "pre-commit>=3.5.0", | |
| "black>=23.10.0", | |
| "isort>=5.12.0", | |
| ] | |
| test = [ | |
| "pytest>=7.4.0", | |
| "pytest-asyncio>=0.21.0", | |
| "pytest-cov>=4.1.0", | |
| "httpx>=0.25.0", | |
| "factory-boy>=3.3.0", | |
| ] | |
| [project.urls] | |
| Homepage = "https://github.com/yourusername/facerecog-api" | |
| Repository = "https://github.com/yourusername/facerecog-api" | |
| Issues = "https://github.com/yourusername/facerecog-api/issues" | |
| [tool.ruff] | |
| target-version = "py311" | |
| line-length = 88 | |
| select = [ | |
| "E", # pycodestyle errors | |
| "W", # pycodestyle warnings | |
| "F", # pyflakes | |
| "I", # isort | |
| "B", # flake8-bugbear | |
| "C4", # flake8-comprehensions | |
| "UP", # pyupgrade | |
| "ARG001", # unused-function-args | |
| "ARG002", # unused-method-args | |
| "ARG003", # unused-class-method-args | |
| "ARG004", # unused-static-method-args | |
| "ARG005", # unused-lambda-args | |
| "D", # pydocstyle | |
| "SIM", # flake8-simplify | |
| "TCH", # flake8-type-checking | |
| "TID", # flake8-tidy-imports | |
| "Q", # flake8-quotes | |
| "UP", # pyupgrade | |
| "PT", # flake8-pytest-style | |
| "RUF", # Ruff-specific rules | |
| ] | |
| ignore = [ | |
| "D100", # Missing docstring in public module | |
| "D101", # Missing docstring in public class | |
| "D102", # Missing docstring in public method | |
| "D103", # Missing docstring in public function | |
| "D104", # Missing docstring in public package | |
| "D105", # Missing docstring in magic method | |
| "D106", # Missing docstring in public nested class | |
| "D107", # Missing docstring in __init__ | |
| ] | |
| [tool.ruff.format] | |
| quote-style = "double" | |
| indent-style = "space" | |
| skip-magic-trailing-comma = false | |
| line-ending = "auto" | |
| [tool.ruff.pydocstyle] | |
| convention = "google" | |
| [tool.ruff.isort] | |
| known-first-party = ["faces", "config", "database", "exceptions", "models"] | |
| [tool.mypy] | |
| python_version = "3.11" | |
| check_untyped_defs = true | |
| disallow_any_generics = true | |
| disallow_incomplete_defs = true | |
| disallow_untyped_defs = true | |
| no_implicit_optional = true | |
| warn_redundant_casts = true | |
| warn_unused_ignores = true | |
| warn_return_any = true | |
| strict_equality = true | |
| strict_concatenate = true | |
| [[tool.mypy.overrides]] | |
| module = [ | |
| "deepface.*", | |
| "cv2.*", | |
| "supabase.*", | |
| "tensorflow.*", | |
| ] | |
| ignore_missing_imports = true | |
| [tool.pytest.ini_options] | |
| minversion = "7.0" | |
| addopts = "-ra -q --strict-markers --strict-config" | |
| testpaths = ["tests"] | |
| asyncio_mode = "auto" | |
| markers = [ | |
| "slow: marks tests as slow (deselect with '-m \"not slow\"')", | |
| "integration: marks tests as integration tests", | |
| "unit: marks tests as unit tests", | |
| ] | |
| [tool.coverage.run] | |
| source = ["."] | |
| omit = [ | |
| "*/tests/*", | |
| "*/venv/*", | |
| "*/.venv/*", | |
| "*/build/*", | |
| "*/dist/*", | |
| "*/__pycache__/*", | |
| ] | |
| [tool.coverage.report] | |
| exclude_lines = [ | |
| "pragma: no cover", | |
| "def __repr__", | |
| "raise AssertionError", | |
| "raise NotImplementedError", | |
| "if __name__ == .__main__.:", | |
| "if TYPE_CHECKING:", | |
| ] | |