pythonLogs 6.0.2__tar.gz → 6.0.3__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,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pythonLogs
3
- Version: 6.0.2
3
+ Version: 6.0.3
4
4
  Summary: High-performance Python logging library with file rotation and optimized caching for better performance
5
5
  Project-URL: Repository, https://github.com/ddc/pythonLogs
6
6
  Project-URL: Homepage, https://pypi.org/project/pythonLogs
7
- Author-email: Daniel Costa <ddcsoftwares@proton.me>
7
+ Author-email: Daniel Costa <daniel@ddcsoftwares.com>
8
8
  Maintainer: Daniel Costa
9
9
  License: MIT
10
10
  License-File: LICENSE
@@ -35,15 +35,14 @@ Description-Content-Type: text/markdown
35
35
  <a href="https://www.paypal.com/ncp/payment/6G9Z78QHUD4RJ"><img src="https://img.shields.io/badge/Donate-PayPal-brightgreen.svg?style=plastic" alt="Donate"/></a>
36
36
  <a href="https://github.com/sponsors/ddc"><img src="https://img.shields.io/static/v1?style=plastic&label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=ff69b4" alt="Sponsor"/></a>
37
37
  <br>
38
- <a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg?style=plastic" alt="Code style: black"/></a>
39
- <a href="https://github.com/astral-sh/uv"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json?style=plastic" alt="uv"/></a>
40
- <a href="https://github.com/astral-sh/ruff"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json?style=plastic" alt="Ruff"/></a>
41
- <br>
42
- <a href="https://www.python.org/downloads"><img src="https://img.shields.io/pypi/pyversions/pythonLogs.svg?style=plastic&logo=python&cacheSeconds=3600" alt="Python"/></a>
43
38
  <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=plastic" alt="License: MIT"/></a>
44
39
  <a href="https://pepy.tech/projects/pythonLogs"><img src="https://static.pepy.tech/badge/pythonLogs?style=plastic" alt="PyPI Downloads"/></a>
45
40
  <a href="https://pypi.python.org/pypi/pythonLogs"><img src="https://img.shields.io/pypi/v/pythonLogs.svg?style=plastic&logo=python&cacheSeconds=3600" alt="PyPi"/></a>
46
41
  <br>
42
+ <a href="https://www.python.org/downloads"><img src="https://img.shields.io/pypi/pyversions/pythonLogs.svg?style=plastic&logo=python&cacheSeconds=3600" alt="Python"/></a>
43
+ <a href="https://github.com/astral-sh/uv"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json?style=plastic" alt="uv"/></a>
44
+ <a href="https://github.com/astral-sh/ruff"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json?style=plastic" alt="Ruff"/></a>
45
+ <br>
47
46
  <a href="https://github.com/ddc/pythonLogs/issues"><img src="https://img.shields.io/github/issues/ddc/pythonLogs?style=plastic" alt="issues"/></a>
48
47
  <a href="https://codecov.io/gh/ddc/pythonLogs"><img src="https://codecov.io/gh/ddc/pythonLogs/graph/badge.svg?token=XWB53034GI&style=plastic" alt="codecov"/></a>
49
48
  <a href="https://sonarcloud.io/dashboard?id=ddc_pythonLogs"><img src="https://sonarcloud.io/api/project_badges/measure?project=ddc_pythonLogs&metric=alert_status&style=plastic" alt="Quality Gate Status"/></a>
@@ -67,7 +66,7 @@ Description-Content-Type: text/markdown
67
66
  - [Environment Variables](#env-variables-optional)
68
67
  - [Settings Cache Management](#settings-cache-management)
69
68
  - [Flexible Configuration Options](#flexible-configuration-options)
70
- - [Development](#development)
69
+ - [Development and Testing](#development-and-testing)
71
70
  - [Create DEV Environment and Running Tests](#create-dev-environment-and-running-tests)
72
71
  - [Update DEV Environment Packages](#update-dev-environment-packages)
73
72
  - [Building Wheel](#building-wheel)
@@ -376,17 +375,15 @@ RotateWhen.MONDAY # "W0"
376
375
 
377
376
 
378
377
 
379
- # Development
378
+ # Development and Testing
380
379
 
381
380
  Must have [UV](https://uv.run/docs/getting-started/installation) installed.
382
381
 
383
382
  ## Create DEV Environment and Running Tests
384
383
 
385
- > **Note:** All poe tasks automatically run ruff linter along with Black formatting
386
-
387
384
  ```shell
388
385
  uv sync --all-extras --all-groups
389
- poe test
386
+ poe tests
390
387
  ```
391
388
 
392
389
 
@@ -8,15 +8,14 @@
8
8
  <a href="https://www.paypal.com/ncp/payment/6G9Z78QHUD4RJ"><img src="https://img.shields.io/badge/Donate-PayPal-brightgreen.svg?style=plastic" alt="Donate"/></a>
9
9
  <a href="https://github.com/sponsors/ddc"><img src="https://img.shields.io/static/v1?style=plastic&label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=ff69b4" alt="Sponsor"/></a>
10
10
  <br>
11
- <a href="https://github.com/psf/black"><img src="https://img.shields.io/badge/code%20style-black-000000.svg?style=plastic" alt="Code style: black"/></a>
12
- <a href="https://github.com/astral-sh/uv"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json?style=plastic" alt="uv"/></a>
13
- <a href="https://github.com/astral-sh/ruff"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json?style=plastic" alt="Ruff"/></a>
14
- <br>
15
- <a href="https://www.python.org/downloads"><img src="https://img.shields.io/pypi/pyversions/pythonLogs.svg?style=plastic&logo=python&cacheSeconds=3600" alt="Python"/></a>
16
11
  <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-yellow.svg?style=plastic" alt="License: MIT"/></a>
17
12
  <a href="https://pepy.tech/projects/pythonLogs"><img src="https://static.pepy.tech/badge/pythonLogs?style=plastic" alt="PyPI Downloads"/></a>
18
13
  <a href="https://pypi.python.org/pypi/pythonLogs"><img src="https://img.shields.io/pypi/v/pythonLogs.svg?style=plastic&logo=python&cacheSeconds=3600" alt="PyPi"/></a>
19
14
  <br>
15
+ <a href="https://www.python.org/downloads"><img src="https://img.shields.io/pypi/pyversions/pythonLogs.svg?style=plastic&logo=python&cacheSeconds=3600" alt="Python"/></a>
16
+ <a href="https://github.com/astral-sh/uv"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json?style=plastic" alt="uv"/></a>
17
+ <a href="https://github.com/astral-sh/ruff"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json?style=plastic" alt="Ruff"/></a>
18
+ <br>
20
19
  <a href="https://github.com/ddc/pythonLogs/issues"><img src="https://img.shields.io/github/issues/ddc/pythonLogs?style=plastic" alt="issues"/></a>
21
20
  <a href="https://codecov.io/gh/ddc/pythonLogs"><img src="https://codecov.io/gh/ddc/pythonLogs/graph/badge.svg?token=XWB53034GI&style=plastic" alt="codecov"/></a>
22
21
  <a href="https://sonarcloud.io/dashboard?id=ddc_pythonLogs"><img src="https://sonarcloud.io/api/project_badges/measure?project=ddc_pythonLogs&metric=alert_status&style=plastic" alt="Quality Gate Status"/></a>
@@ -40,7 +39,7 @@
40
39
  - [Environment Variables](#env-variables-optional)
41
40
  - [Settings Cache Management](#settings-cache-management)
42
41
  - [Flexible Configuration Options](#flexible-configuration-options)
43
- - [Development](#development)
42
+ - [Development and Testing](#development-and-testing)
44
43
  - [Create DEV Environment and Running Tests](#create-dev-environment-and-running-tests)
45
44
  - [Update DEV Environment Packages](#update-dev-environment-packages)
46
45
  - [Building Wheel](#building-wheel)
@@ -349,17 +348,15 @@ RotateWhen.MONDAY # "W0"
349
348
 
350
349
 
351
350
 
352
- # Development
351
+ # Development and Testing
353
352
 
354
353
  Must have [UV](https://uv.run/docs/getting-started/installation) installed.
355
354
 
356
355
  ## Create DEV Environment and Running Tests
357
356
 
358
- > **Note:** All poe tasks automatically run ruff linter along with Black formatting
359
-
360
357
  ```shell
361
358
  uv sync --all-extras --all-groups
362
- poe test
359
+ poe tests
363
360
  ```
364
361
 
365
362
 
@@ -13,14 +13,14 @@ packages = ["pythonLogs"]
13
13
 
14
14
  [project]
15
15
  name = "pythonLogs"
16
- version = "6.0.2"
16
+ version = "6.0.3"
17
17
  description = "High-performance Python logging library with file rotation and optimized caching for better performance"
18
18
  urls.Repository = "https://github.com/ddc/pythonLogs"
19
19
  urls.Homepage = "https://pypi.org/project/pythonLogs"
20
20
  license = {text = "MIT"}
21
21
  readme = "README.md"
22
22
  authors = [
23
- {name = "Daniel Costa", email = "ddcsoftwares@proton.me"},
23
+ {name = "Daniel Costa", email = "daniel@ddcsoftwares.com"},
24
24
  ]
25
25
  maintainers = [
26
26
  {name = "Daniel Costa"},
@@ -53,20 +53,19 @@ dependencies = [
53
53
  dev = [
54
54
  "psutil>=7.2.2",
55
55
  "pytest-cov>=7.0.0",
56
- "poethepoet>=0.41.0",
57
- "ruff>=0.15.0",
58
- "black>=26.1.0",
56
+ "poethepoet>=0.42.0",
57
+ "ruff>=0.15.2",
59
58
  ]
60
59
 
61
60
  [tool.poe.tasks]
62
- linter.shell = "uv run ruff check --fix . && uv run black ."
63
- profile.sequence = ["linter", {shell = "uv run python -m cProfile -o cprofile_unit.prof -m pytest --no-cov"}]
64
- test.sequence = ["linter", {shell = "uv run pytest"}]
61
+ linter.shell = "uv run ruff check --fix . && uv run ruff format ."
62
+ profile = "uv run python -m cProfile -o cprofile_unit.prof -m pytest --no-cov"
63
+ tests.sequence = ["linter", {shell = "uv run pytest"}]
65
64
  updatedev.sequence = ["linter", {shell = "uv lock --upgrade && uv sync --all-extras --group dev"}]
66
- build.sequence = ["updatedev", "test", {shell = "uv build --wheel"}]
65
+ build.sequence = ["updatedev", "tests", {shell = "uv build --wheel"}]
67
66
 
68
67
  [tool.pytest.ini_options]
69
- addopts = "-v --cov --cov-report=term --cov-report=xml --junitxml=junit.xml"
68
+ addopts = "-v --import-mode=importlib --cov --cov-report=term --cov-report=xml --junitxml=junit.xml"
70
69
  junit_family = "legacy"
71
70
  testpaths = ["tests"]
72
71
  markers = [
@@ -95,10 +94,6 @@ exclude_lines = [
95
94
  "@(abc\\.)?abstractmethod",
96
95
  ]
97
96
 
98
- [tool.black]
99
- line-length = 120
100
- skip-string-normalization = true
101
-
102
97
  [tool.ruff]
103
98
  line-length = 120
104
99
  target-version = "py311"
@@ -16,7 +16,7 @@ __all__ = (
16
16
 
17
17
  __title__ = "pythonLogs"
18
18
  __author__ = "Daniel Costa"
19
- __email__ = "ddcsoftwares@proton.me"
19
+ __email__ = "daniel@ddcsoftwares.com"
20
20
  __license__ = "MIT"
21
21
  __copyright__ = "Copyright 2024-present DDC Softwares"
22
22
  __version__ = version(__title__)
File without changes
File without changes