mirror of
https://github.com/onyx-and-iris/vmr-http.git
synced 2026-04-06 18:09:11 +00:00
export app, fastapi entrypoint
patch bump
This commit is contained in:
@@ -14,7 +14,7 @@ pip install vmr-http
|
|||||||
## Run
|
## Run
|
||||||
|
|
||||||
```console
|
```console
|
||||||
uvicorn vmr_http.app:app
|
uvicorn vmr_http:app
|
||||||
```
|
```
|
||||||
|
|
||||||
## Use
|
## Use
|
||||||
|
|||||||
@@ -1,15 +1,11 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "vmr-http"
|
name = "vmr-http"
|
||||||
version = "0.3.0"
|
version = "0.3.1"
|
||||||
description = "HTTP API for controlling Voicemeeter"
|
description = "HTTP API for controlling Voicemeeter"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
|
authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }]
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
dependencies = [
|
dependencies = ["fastapi>=0.135.3", "uvicorn>=0.43.0", "voicemeeter-api>=2.7.2"]
|
||||||
"fastapi>=0.135.3",
|
|
||||||
"uvicorn>=0.43.0",
|
|
||||||
"voicemeeter-api>=2.7.2",
|
|
||||||
]
|
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
"Programming Language :: Python",
|
"Programming Language :: Python",
|
||||||
@@ -26,14 +22,10 @@ requires = ["uv_build>=0.11.3,<0.12.0"]
|
|||||||
build-backend = "uv_build"
|
build-backend = "uv_build"
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = [
|
dev = ["fastapi[standard]>=0.135.3", "poethepoet>=0.43.0", "ruff>=0.15.9"]
|
||||||
"fastapi[standard]>=0.135.3",
|
|
||||||
"poethepoet>=0.43.0",
|
|
||||||
"ruff>=0.15.9",
|
|
||||||
]
|
|
||||||
|
|
||||||
[tool.fastapi]
|
[tool.fastapi]
|
||||||
entrypoint = "vmr_http.app:app"
|
entrypoint = "vmr_http:app"
|
||||||
|
|
||||||
[tool.uv.sources]
|
[tool.uv.sources]
|
||||||
voicemeeter-api = { path = "../voicemeeter-api-python", editable = true }
|
voicemeeter-api = { path = "../voicemeeter-api-python", editable = true }
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
"""Voicemeeter HTTP API."""
|
||||||
|
|
||||||
|
from .app import app
|
||||||
|
|
||||||
|
__all__ = ['app']
|
||||||
|
|||||||
Reference in New Issue
Block a user