pythonLogs 5.0.1__tar.gz → 5.0.2__tar.gz

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.
@@ -1,8 +1,9 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: pythonLogs
3
- Version: 5.0.1
3
+ Version: 5.0.2
4
4
  Summary: High-performance Python logging library with file rotation and optimized caching for better performance
5
5
  License: MIT
6
+ License-File: LICENSE
6
7
  Keywords: python3,python-3,python,log,logging,logger,logutils,log-utils,pythonLogs
7
8
  Author: Daniel Costa
8
9
  Author-email: danieldcsta@gmail.com
@@ -17,9 +18,10 @@ Classifier: Operating System :: OS Independent
17
18
  Classifier: Programming Language :: Python :: 3
18
19
  Classifier: Programming Language :: Python :: 3.12
19
20
  Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
20
22
  Classifier: Programming Language :: Python :: 3 :: Only
21
23
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
- Requires-Dist: pydantic-settings (>=2.10.1,<3.0.0)
24
+ Requires-Dist: pydantic-settings (==2.11.0)
23
25
  Requires-Dist: python-dotenv (>=1.1.1,<2.0.0)
24
26
  Project-URL: Homepage, https://pypi.org/project/pythonLogs
25
27
  Project-URL: Repository, https://github.com/ddc/pythonLogs
@@ -1,10 +1,10 @@
1
1
  [build-system]
2
- requires = ["poetry-core>=2.0.0,<3.0.0"]
2
+ requires = ["poetry-core"]
3
3
  build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "pythonLogs"
7
- version = "5.0.1"
7
+ version = "5.0.2"
8
8
  description = "High-performance Python logging library with file rotation and optimized caching for better performance"
9
9
  license = "MIT"
10
10
  readme = "README.md"
@@ -39,36 +39,48 @@ optional = true
39
39
 
40
40
  [tool.poetry.dependencies]
41
41
  python = "^3.12"
42
- pydantic-settings = "^2.10.1"
42
+ pydantic-settings = "2.11.0"
43
43
  python-dotenv = "^1.1.1"
44
44
 
45
45
  [tool.poetry.group.test.dependencies]
46
- poethepoet = "^0.36.0"
47
- psutil = "^7.0.0"
48
- pytest = "^8.4.1"
49
- pytest-cov = "^6.2.1"
46
+ poethepoet = "^0.37.0"
47
+ psutil = "^7.1.0"
48
+ pytest = "^8.4.2"
49
+ pytest-cov = "^7.0.0"
50
50
 
51
51
  [tool.poe.tasks]
52
- _test = "python -m pytest -v --cov=pythonLogs --cov-report=term --cov-report=xml --junitxml=junit.xml -o junit_family=legacy"
52
+ _test = "python -m pytest -v --cov --cov-report=term --cov-report=xml --junitxml=junit.xml -o junit_family=legacy"
53
53
  tests = ["_test"]
54
54
  test = ["tests"]
55
55
 
56
- [tool.black]
57
- line-length = 120
58
- skip-string-normalization = true
59
-
60
- [tool.pytest.ini_options]
61
- markers = [
62
- "slow: marks tests as slow (deselect with '-m \"not slow\"')"
63
- ]
64
-
65
56
  [tool.coverage.run]
66
57
  omit = [
67
58
  "build.py",
68
59
  "tests/*",
60
+ "*/__init__.py",
69
61
  ]
70
62
 
71
63
  [tool.coverage.report]
72
64
  exclude_lines = [
73
65
  "pragma: no cover",
66
+ "def __repr__",
67
+ "if self.debug:",
68
+ "if settings.DEBUG",
69
+ "raise AssertionError",
70
+ "raise NotImplementedError",
71
+ "if 0:",
72
+ "if __name__ == .__main__.:",
73
+ "class .*\\bProtocol\\):",
74
+ "@(abc\\.)?abstractmethod",
74
75
  ]
76
+ show_missing = false
77
+ skip_covered = false
78
+
79
+ [tool.pytest.ini_options]
80
+ markers = [
81
+ "slow: marks tests as slow (deselect with '-m \"not slow\"')"
82
+ ]
83
+
84
+ [tool.black]
85
+ line-length = 120
86
+ skip-string-normalization = true
@@ -26,7 +26,7 @@ class LogSettings(BaseSettings):
26
26
  encoding: Optional[str] = Field(default=DEFAULT_ENCODING)
27
27
  appname: Optional[str] = Field(default="app")
28
28
  filename: Optional[str] = Field(default="app.log")
29
- directory: Optional[str] = Field(default="/app/logs")
29
+ directory: Optional[str] = Field(default="./logs")
30
30
  days_to_keep: Optional[int] = Field(default=DEFAULT_BACKUP_COUNT)
31
31
  date_format: Optional[str] = Field(default=DEFAULT_DATE_FORMAT)
32
32
  stream_handler: Optional[bool] = Field(default=True)
File without changes
File without changes
File without changes