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

[project]
name = "omniweb"
version = "0.2.0"
description = "One Framework, Every Platform - Web + Desktop in pure Python with Django's power and FastAPI's speed"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
authors = [
    {name = "Juste Elysée MALANDILA", email = "justech4dev@gmail.com"}
]
maintainers = [
    {name = "Juste Elysée MALANDILA", email = "justech4dev@gmail.com"}
]
keywords = [
    "web framework",
    "desktop app",
    "cross-platform",
    "async",
    "fastapi",
    "django",
    "modern",
    "batteries-included",
    "orm",
    "routing",
    "templates",
    "middleware"
]
classifiers = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Framework :: AsyncIO",
    "Topic :: Internet :: WWW/HTTP",
    "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
    "Topic :: Software Development :: Libraries :: Application Frameworks",
]

dependencies = [
    "velocrium>=0.1.0",
    "integrium>=0.1.0",
    "datavoxel>=0.1.0",
    "uvicorn>=0.25.0",
    "starlette>=0.35.0",
    "jinja2>=3.1.0",
    "python-multipart>=0.0.6",
    "pydantic>=2.0.0",
    "pydantic-settings>=2.0.0",
]

[project.optional-dependencies]
dev = [
    "pytest>=7.4.0",
    "pytest-asyncio>=0.21.0",
    "pytest-cov>=4.1.0",
    "httpx>=0.25.0",
    "black>=23.0.0",
    "ruff>=0.1.0",
]
desktop = [
    "pywebview>=4.0.0",
]
all = [
    "pytest>=7.4.0",
    "pytest-asyncio>=0.21.0",
    "pytest-cov>=4.1.0",
    "httpx>=0.25.0",
    "black>=23.0.0",
    "ruff>=0.1.0",
    "pywebview>=4.0.0",
]

[project.urls]
Homepage = "https://github.com/jdevsky/omniweb"
Documentation = "https://omniweb.readthedocs.io"
Repository = "https://github.com/jdevsky/omniweb"
Issues = "https://github.com/jdevsky/omniweb/issues"
Changelog = "https://github.com/jdevsky/omniweb/blob/main/CHANGELOG.md"
LinkedIn = "https://linkedin.com/in/justelm/"

[project.scripts]
omniweb = "omniweb.cli:main"

[tool.hatch.build.targets.wheel]
packages = ["src/omniweb"]

[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"

[tool.black]
line-length = 88
target-version = ["py38", "py39", "py310", "py311", "py312"]

[tool.ruff]
line-length = 88
target-version = "py38"
