Implement bulkgen/providers/bfl.py with a fully async httpx-based client that supports all current and future BFL models (including flux-2-*). Remove the blackforest dependency and simplify the image provider by eliminating the asyncio.to_thread wrapper.
35 lines
681 B
TOML
35 lines
681 B
TOML
[project]
|
|
name = "bulkgen"
|
|
version = "0.1.0"
|
|
description = "Bulk-Generate Images with Generative AI"
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"httpx>=0.27.0",
|
|
"mistralai>=1.0.0",
|
|
"networkx>=3.6.1",
|
|
"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",
|
|
]
|