-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
119 lines (106 loc) · 2.7 KB
/
pyproject.toml
File metadata and controls
119 lines (106 loc) · 2.7 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "logtide-sdk"
version = "0.9.1"
description = "Official Python SDK for LogTide - Self-hosted log management with async client, logging integration, batching, retry, circuit breaker, and middleware"
readme = "README.md"
license = { text = "MIT" }
authors = [{ name = "Polliog", email = "giuseppe@solture.it" }]
requires-python = ">=3.10"
keywords = [
"logtide",
"logging",
"logs",
"log-management",
"monitoring",
"observability",
"self-hosted",
"tracing",
"circuit-breaker",
"asyncio",
"flask",
"django",
"fastapi",
"starlette",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: System :: Logging",
"Topic :: Software Development :: Libraries :: Python Modules",
"Framework :: AsyncIO",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = ["requests>=2.31.0"]
[project.urls]
Homepage = "https://github.com/logtide-dev/logtide-python"
Repository = "https://github.com/logtide-dev/logtide-python"
Documentation = "https://logtide.dev/docs"
Issues = "https://github.com/logtide-dev/logtide-python/issues"
[project.optional-dependencies]
async = ["aiohttp>=3.9.0"]
starlette = ["starlette>=0.27.0"]
flask = ["flask>=2.0.0"]
django = ["django>=3.2.0"]
fastapi = ["fastapi>=0.100.0", "starlette>=0.27.0"]
[dependency-groups]
tests = [
"aiohttp>=3.9.0",
"starlette>=0.27.0",
"flask>=2.0.0",
"django>=3.2.0",
"fastapi>=0.100.0",
"starlette>=0.27.0",
"build",
"pytest>=8.3.5",
"pytest-asyncio>=0.24.0",
"pytest-cov>=5.0.0",
"freezegun>=1.5.5",
"pytest-mock>=3.14.1",
]
all = [{ include-group = "tests" }]
[tool.setuptools.packages.find]
where = ["."]
include = ["logtide_sdk*"]
[tool.setuptools.package-data]
logtide_sdk = ["py.typed"]
[tool.black]
line-length = 100
target-version = ["py310", "py311", "py312"]
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
extend-select = [
"I",
"UP",
"T20",
"B039",
"PT",
"RUF022",
"RUF023",
"RUF10", # RUF10x
"RUF20", # RUF200
]
ignore = ["F841"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"