jararaca 0.3.18__py3-none-any.whl → 0.3.20__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of jararaca might be problematic. Click here for more details.
- jararaca/__init__.py +10 -0
- jararaca/core/uow.py +33 -5
- jararaca/messagebus/implicit_headers.py +45 -0
- jararaca/messagebus/interceptors/aiopika_publisher_interceptor.py +6 -1
- jararaca/messagebus/worker.py +6 -1
- jararaca/microservice.py +3 -1
- jararaca/observability/decorators.py +127 -11
- jararaca/observability/hooks.py +20 -0
- jararaca/observability/providers/otel.py +77 -9
- jararaca/presentation/server.py +28 -4
- {jararaca-0.3.18.dist-info → jararaca-0.3.20.dist-info}/METADATA +8 -6
- {jararaca-0.3.18.dist-info → jararaca-0.3.20.dist-info}/RECORD +15 -16
- {jararaca-0.3.18.dist-info → jararaca-0.3.20.dist-info}/WHEEL +1 -1
- README.md +0 -121
- jararaca-0.3.18.dist-info/LICENSE +0 -674
- pyproject.toml +0 -126
- {jararaca-0.3.18.dist-info → jararaca-0.3.20.dist-info}/entry_points.txt +0 -0
- /LICENSE → /jararaca-0.3.20.dist-info/licenses/LICENSE +0 -0
pyproject.toml
DELETED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
[tool.poetry]
|
|
2
|
-
name = "jararaca"
|
|
3
|
-
version = "0.3.18"
|
|
4
|
-
description = "A simple and fast API framework for Python"
|
|
5
|
-
authors = ["Lucas S <me@luscasleo.dev>"]
|
|
6
|
-
readme = "README.md"
|
|
7
|
-
packages = [{ include = "jararaca", from = "src" }]
|
|
8
|
-
include = ["pyproject.toml", "README.md", "LICENSE", "docs"]
|
|
9
|
-
repository = "https://github.com/LuscasLeo/jararaca"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
[tool.poetry.dependencies]
|
|
13
|
-
python = "^3.11"
|
|
14
|
-
uvicorn = "^0.30.6"
|
|
15
|
-
uvloop = "^0.20.0"
|
|
16
|
-
fastapi = "^0.113.0"
|
|
17
|
-
aio-pika = "^9.4.3"
|
|
18
|
-
sqlalchemy = "^2.0.34"
|
|
19
|
-
croniter = "^3.0.3"
|
|
20
|
-
redis = "^5.0.8"
|
|
21
|
-
websockets = "^13.0.1"
|
|
22
|
-
opentelemetry-exporter-otlp-proto-http = { version = "^1.27.0", optional = true }
|
|
23
|
-
opentelemetry-api = { version = "^1.27.0", optional = true }
|
|
24
|
-
opentelemetry-sdk = { version = "^1.27.0", optional = true }
|
|
25
|
-
opentelemetry-distro = { version = "^0.49b2", optional = true }
|
|
26
|
-
opentelemetry-exporter-otlp = { version = "^1.27.0", optional = true }
|
|
27
|
-
types-croniter = "^3.0.3.20240731"
|
|
28
|
-
types-redis = "^4.6.0.20240903"
|
|
29
|
-
mako = "^1.3.5"
|
|
30
|
-
watchdog = { version = "^3.0.0", optional = true }
|
|
31
|
-
frozendict = "^2.4.6"
|
|
32
|
-
urllib3 = "^2.3.0"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
[tool.poetry.extras]
|
|
36
|
-
opentelemetry = [
|
|
37
|
-
"opentelemetry-exporter-otlp-proto-http",
|
|
38
|
-
"opentelemetry-api",
|
|
39
|
-
"opentelemetry-sdk",
|
|
40
|
-
"opentelemetry-distro",
|
|
41
|
-
"opentelemetry-exporter-otlp",
|
|
42
|
-
]
|
|
43
|
-
http = ["httptools", "httpx"]
|
|
44
|
-
docs = ["mkdocs-material"]
|
|
45
|
-
watch = ["watchdog"]
|
|
46
|
-
|
|
47
|
-
[tool.poetry.group.lint.dependencies]
|
|
48
|
-
mypy = "^1.11.2"
|
|
49
|
-
black = "^24.8.0"
|
|
50
|
-
isort = "^5.13.2"
|
|
51
|
-
pre-commit = "^3.8.0"
|
|
52
|
-
autoflake = "^2.3.1"
|
|
53
|
-
types-croniter = "^3.0.3.20240731"
|
|
54
|
-
types-redis = "^4.6.0.20240903"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
[tool.poetry.group.docs.dependencies]
|
|
58
|
-
mkdocs-material = "^9.5.34"
|
|
59
|
-
mkdocs-mermaid2-plugin = "^1.2.1"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
[tool.poetry.group.dev.dependencies]
|
|
63
|
-
httptools = "^0.6.1"
|
|
64
|
-
httpx = "^0.27.2"
|
|
65
|
-
pytest = "^8.0.0"
|
|
66
|
-
pytest-asyncio = "^0.23.0"
|
|
67
|
-
pytest-cov = "^4.1.0"
|
|
68
|
-
pytest-mock = "^3.12.0"
|
|
69
|
-
|
|
70
|
-
[build-system]
|
|
71
|
-
requires = ["poetry-core"]
|
|
72
|
-
build-backend = "poetry.core.masonry.api"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
[tool.isort]
|
|
76
|
-
profile = "black"
|
|
77
|
-
|
|
78
|
-
[tool.mypy]
|
|
79
|
-
python_version = "3.11"
|
|
80
|
-
strict = true
|
|
81
|
-
# mypy_path = "src"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
# JARARACA CONFIG
|
|
85
|
-
[tool.poetry.scripts]
|
|
86
|
-
jararaca = "jararaca.cli:cli"
|
|
87
|
-
|
|
88
|
-
[[tool.mypy.overrides]]
|
|
89
|
-
module = "mako.*"
|
|
90
|
-
ignore_missing_imports = true
|
|
91
|
-
|
|
92
|
-
[tool.pytest.ini_options]
|
|
93
|
-
testpaths = ["tests"]
|
|
94
|
-
python_files = ["test_*.py"]
|
|
95
|
-
python_classes = ["Test*"]
|
|
96
|
-
python_functions = ["test_*"]
|
|
97
|
-
asyncio_mode = "auto"
|
|
98
|
-
addopts = [
|
|
99
|
-
"--strict-markers",
|
|
100
|
-
"--strict-config",
|
|
101
|
-
"--showlocals",
|
|
102
|
-
]
|
|
103
|
-
markers = [
|
|
104
|
-
"unit: Unit tests",
|
|
105
|
-
"integration: Integration tests",
|
|
106
|
-
"slow: Slow tests",
|
|
107
|
-
]
|
|
108
|
-
|
|
109
|
-
[tool.coverage.run]
|
|
110
|
-
source = ["src/jararaca"]
|
|
111
|
-
omit = [
|
|
112
|
-
"*/tests/*",
|
|
113
|
-
"*/__pycache__/*",
|
|
114
|
-
"*/.venv/*",
|
|
115
|
-
]
|
|
116
|
-
|
|
117
|
-
[tool.coverage.report]
|
|
118
|
-
exclude_lines = [
|
|
119
|
-
"pragma: no cover",
|
|
120
|
-
"def __repr__",
|
|
121
|
-
"raise AssertionError",
|
|
122
|
-
"raise NotImplementedError",
|
|
123
|
-
"if __name__ == .__main__.:",
|
|
124
|
-
"if TYPE_CHECKING:",
|
|
125
|
-
"@abstractmethod",
|
|
126
|
-
]
|
|
File without changes
|
|
File without changes
|