gabriel / musehub public
pyproject.toml
86 lines 1.9 KB
e893a97c Remove LLM, Storpheus, HuggingFace, and Qdrant from codebase 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 "mido>=1.3.0",
26 "typer>=0.9.0",
27 ]
28
29
30 [project.optional-dependencies]
31 dev = [
32 "pytest>=8.0.0",
33 "pytest-asyncio>=0.23.0",
34 "pytest-cov>=4.1.0",
35 "coverage>=7.0.0",
36 "anyio>=4.2.0",
37 "mypy>=1.8.0",
38 ]
39
40 [build-system]
41 requires = ["hatchling"]
42 build-backend = "hatchling.build"
43
44 [tool.pytest.ini_options]
45 asyncio_mode = "auto"
46 testpaths = ["tests"]
47 cache_dir = "/tmp/pytest_cache"
48 addopts = "-v --tb=short"
49 filterwarnings = [
50 "ignore:The 'is_flag' and 'flag_value' parameters are not supported by Typer:DeprecationWarning",
51 ]
52
53 [tool.coverage.run]
54 source = ["musehub"]
55 branch = true
56 omit = ["musehub/__init__.py", "*/tests/*"]
57
58 [tool.coverage.report]
59 fail_under = 80
60 show_missing = true
61 exclude_lines = [
62 "pragma: no cover",
63 "def __repr__",
64 "raise NotImplementedError",
65 "if TYPE_CHECKING:",
66 "if typing.TYPE_CHECKING:",
67 ]
68
69 [tool.mypy]
70 python_version = "3.11"
71 strict = true
72 explicit_package_bases = true
73 namespace_packages = true
74 warn_unreachable = true
75 show_error_codes = true
76
77 [[tool.mypy.overrides]]
78 module = ["tests.*"]
79 disallow_untyped_decorators = false
80
81 [[tool.mypy.overrides]]
82 module = ["boto3", "botocore.*", "gradio_client", "mido", "yaml"]
83 ignore_missing_imports = true
84
85 [tool.hatch.build.targets.wheel]
86 packages = ["musehub"]