gabriel / musehub public
pyproject.toml
91 lines 2.0 KB
ff8946aa Remove remaining Stori references from pyproject.toml, README, .gitigno… Gabriel Cardona <gabriel@tellurstori.com> 6d ago
1 [project]
2 name = "musehub"
3 version = "0.1.0"
4 description = "MuseHub — the music composition version control platform powered by Muse VCS"
5 readme = "README.md"
6 requires-python = ">=3.11"
7 dependencies = [
8 "fastapi>=0.109.0",
9 "jinja2>=3.1.0",
10 "aiofiles>=23.2.0",
11 "uvicorn[standard]>=0.27.0",
12 "httpx>=0.26.0",
13 "pydantic>=2.5.0",
14 "pydantic-settings>=2.1.0",
15 "websockets>=12.0",
16 "PyJWT>=2.8.0",
17 "sqlalchemy[asyncio]>=2.0.0",
18 "asyncpg>=0.29.0",
19 "aiosqlite>=0.19.0",
20 "alembic>=1.13.0",
21 "psycopg2-binary>=2.9.9",
22 "slowapi>=0.1.9",
23 "cryptography>=42.0.0",
24 "boto3>=1.34.0",
25 "qdrant-client>=1.7.0",
26 "beautifulsoup4>=4.12.0",
27 "lxml>=5.1.0",
28 "openai>=1.10.0",
29 "gradio-client>=1.4.0",
30 "mido>=1.3.0",
31 "typer>=0.9.0",
32 ]
33
34
35 [project.optional-dependencies]
36 dev = [
37 "pytest>=8.0.0",
38 "pytest-asyncio>=0.23.0",
39 "pytest-cov>=4.1.0",
40 "coverage>=7.0.0",
41 "anyio>=4.2.0",
42 "mypy>=1.8.0",
43 ]
44
45 [build-system]
46 requires = ["hatchling"]
47 build-backend = "hatchling.build"
48
49 [tool.pytest.ini_options]
50 asyncio_mode = "auto"
51 testpaths = ["tests"]
52 cache_dir = "/tmp/pytest_cache"
53 addopts = "-v --tb=short"
54 filterwarnings = [
55 "ignore:The 'is_flag' and 'flag_value' parameters are not supported by Typer:DeprecationWarning",
56 ]
57
58 [tool.coverage.run]
59 source = ["musehub"]
60 branch = true
61 omit = ["musehub/__init__.py", "*/tests/*"]
62
63 [tool.coverage.report]
64 fail_under = 80
65 show_missing = true
66 exclude_lines = [
67 "pragma: no cover",
68 "def __repr__",
69 "raise NotImplementedError",
70 "if TYPE_CHECKING:",
71 "if typing.TYPE_CHECKING:",
72 ]
73
74 [tool.mypy]
75 python_version = "3.11"
76 strict = true
77 explicit_package_bases = true
78 namespace_packages = true
79 warn_unreachable = true
80 show_error_codes = true
81
82 [[tool.mypy.overrides]]
83 module = ["tests.*"]
84 disallow_untyped_decorators = false
85
86 [[tool.mypy.overrides]]
87 module = ["boto3", "botocore.*", "gradio_client", "mido", "yaml"]
88 ignore_missing_imports = true
89
90 [tool.hatch.build.targets.wheel]
91 packages = ["musehub"]