-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (43 loc) · 1.35 KB
/
Copy pathpyproject.toml
File metadata and controls
49 lines (43 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "hostess-python"
version = "0.2.0"
description = "Hostess SDK for Python — native API Insights for FastAPI and beyond."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.9"
authors = [{ name = "Horizon Web Labs" }]
keywords = ["hostess", "observability", "opentelemetry", "fastapi", "insights"]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Topic :: System :: Monitoring",
]
dependencies = [
"opentelemetry-api>=1.27.0",
"opentelemetry-sdk>=1.27.0",
]
# `pip install "hostess-python[fastapi]"` adds the FastAPI instrumentation and
# the OTLP/HTTP exporter. The base package stays dependency-light.
[project.optional-dependencies]
fastapi = [
"opentelemetry-instrumentation-fastapi>=0.48b0",
"opentelemetry-exporter-otlp-proto-http>=1.27.0",
"opentelemetry-distro>=0.48b0",
]
[project.entry-points.opentelemetry_post_instrument]
hostess_sdk = "hostess_sdk.fastapi:post_instrument"
[project.urls]
Homepage = "https://hostess.sh"
Repository = "https://github.com/howl-cloud/hostess-python"
[tool.hatch.build.targets.wheel]
packages = ["src/hostess_sdk"]
[dependency-groups]
dev = [
"pytest>=8.0",
"fastapi>=0.110",
"httpx>=0.27",
]