hokusai/pyproject.toml
Konstantin Fickel 870023865d
feat: add OpenAI as provider for text and image generation
- Add openai_text.py: text generation via OpenAI chat completions API
  (gpt-4o, gpt-4o-mini, gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, o3-mini)
- Add openai_image.py: image generation via OpenAI images API
  (gpt-image-1 with reference image support, dall-e-3, dall-e-2)
- Refactor builder provider dispatch from TargetType to model-name index
  to support multiple providers per target type
- Fix circular import between config.py and providers/__init__.py
  using TYPE_CHECKING guard
- Fix stale default model assertions in tests
- Add openai>=1.0.0 dependency
2026-02-15 13:48:06 +01:00

37 lines
722 B
TOML

[project]
name = "bulkgen"
version = "0.1.0"
description = "Bulk-Generate Images with Generative AI"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"click>=8.0.0",
"httpx>=0.27.0",
"mistralai>=1.0.0",
"networkx>=3.6.1",
"openai>=1.0.0",
"pydantic>=2.12.5",
"pyyaml>=6.0",
"typer>=0.23.1",
]
[project.scripts]
bulkgen = "bulkgen.cli:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
asyncio_mode = "auto"
filterwarnings = [
"ignore::pydantic.warnings.PydanticDeprecatedSince20",
]
[dependency-groups]
dev = [
"basedpyright>=1.38.0",
"pytest>=9.0.2",
"pytest-asyncio>=0.25.0",
"ruff>=0.15.1",
]