export app, fastapi entrypoint

patch bump
This commit is contained in:
onyx-and-iris 2026-04-05 01:41:15 +01:00
parent 6ef9be7a61
commit 8f89cb598e
4 changed files with 11 additions and 14 deletions

View File

@ -14,7 +14,7 @@ pip install vmr-http
## Run
```console
uvicorn vmr_http.app:app
uvicorn vmr_http:app
```
## Use

View File

@ -1,15 +1,11 @@
[project]
name = "vmr-http"
version = "0.3.0"
version = "0.3.1"
description = "HTTP API for controlling Voicemeeter"
readme = "README.md"
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
requires-python = ">=3.10"
dependencies = [
"fastapi>=0.135.3",
"uvicorn>=0.43.0",
"voicemeeter-api>=2.7.2",
]
dependencies = ["fastapi>=0.135.3", "uvicorn>=0.43.0", "voicemeeter-api>=2.7.2"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
@ -26,14 +22,10 @@ requires = ["uv_build>=0.11.3,<0.12.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"fastapi[standard]>=0.135.3",
"poethepoet>=0.43.0",
"ruff>=0.15.9",
]
dev = ["fastapi[standard]>=0.135.3", "poethepoet>=0.43.0", "ruff>=0.15.9"]
[tool.fastapi]
entrypoint = "vmr_http.app:app"
entrypoint = "vmr_http:app"
[tool.uv.sources]
voicemeeter-api = { path = "../voicemeeter-api-python", editable = true }

View File

@ -0,0 +1,5 @@
"""Voicemeeter HTTP API."""
from .app import app
__all__ = ['app']

2
uv.lock generated
View File

@ -1151,7 +1151,7 @@ wheels = [
[[package]]
name = "vmr-http"
version = "0.3.0"
version = "0.3.1"
source = { editable = "." }
dependencies = [
{ name = "fastapi" },