custom-python-logger 2.0.10__tar.gz → 2.0.12__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.
Files changed (18) hide show
  1. {custom_python_logger-2.0.10/custom_python_logger.egg-info → custom_python_logger-2.0.12}/PKG-INFO +4 -4
  2. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/custom_python_logger/logger.py +2 -3
  3. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12/custom_python_logger.egg-info}/PKG-INFO +4 -4
  4. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/pyproject.toml +4 -4
  5. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/LICENSE +0 -0
  6. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/MANIFEST.in +0 -0
  7. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/README.md +0 -0
  8. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/custom_python_logger/__init__.py +0 -0
  9. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/custom_python_logger/consts.py +0 -0
  10. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/custom_python_logger.egg-info/SOURCES.txt +0 -0
  11. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/custom_python_logger.egg-info/dependency_links.txt +0 -0
  12. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/custom_python_logger.egg-info/requires.txt +0 -0
  13. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/custom_python_logger.egg-info/top_level.txt +0 -0
  14. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/requirements.txt +0 -0
  15. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/setup.cfg +0 -0
  16. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/tests/test_logger.py +0 -0
  17. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/tests/test_logger_pytest.py +0 -0
  18. {custom_python_logger-2.0.10 → custom_python_logger-2.0.12}/tests/test_usage_example_pytest.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: custom-python-logger
3
- Version: 2.0.10
3
+ Version: 2.0.12
4
4
  Summary: A custom logger with color support and additional features.
5
5
  Author: Avi Zaguri
6
6
  License: MIT
@@ -8,12 +8,12 @@ Project-URL: Homepage, https://github.com/aviz92/custom-python-logger
8
8
  Project-URL: Repository, https://github.com/aviz92/custom-python-logger
9
9
  Project-URL: Issues, https://github.com/aviz92/custom-python-logger/issues
10
10
  Keywords: logging,logger,color,debug,development
11
- Classifier: Development Status :: 4 - Beta
11
+ Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Intended Audience :: Developers
13
- Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
14
  Classifier: Operating System :: OS Independent
15
15
  Classifier: Topic :: System :: Logging
16
- Requires-Python: >=3.11
16
+ Requires-Python: >=3.12
17
17
  Description-Content-Type: text/markdown
18
18
  License-File: LICENSE
19
19
  Requires-Dist: colorlog>=6.10.1
@@ -23,9 +23,8 @@ def yaml_pretty_format(data: Any, indent: int = 4, sort_keys: bool = False, allo
23
23
  return yaml.dump(data, sort_keys=sort_keys, indent=indent, allow_unicode=allow_unicode)
24
24
 
25
25
 
26
- def get_project_path_by_file(markers: list[str] | None = None) -> Path:
27
- if not markers:
28
- markers = ["pyproject.toml", "setup.py", ".git", "requirements.txt", ".gitignore", ".github", ".gitlab"]
26
+ def get_project_path_by_file(markers: set[str] | None = None) -> Path:
27
+ markers = markers or {".git", "setup.py", "pyproject.toml", "LICENSE", "README.md"}
29
28
  path = Path(__file__).resolve() if "__file__" in globals() else Path.cwd().resolve()
30
29
 
31
30
  for marker in markers:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: custom-python-logger
3
- Version: 2.0.10
3
+ Version: 2.0.12
4
4
  Summary: A custom logger with color support and additional features.
5
5
  Author: Avi Zaguri
6
6
  License: MIT
@@ -8,12 +8,12 @@ Project-URL: Homepage, https://github.com/aviz92/custom-python-logger
8
8
  Project-URL: Repository, https://github.com/aviz92/custom-python-logger
9
9
  Project-URL: Issues, https://github.com/aviz92/custom-python-logger/issues
10
10
  Keywords: logging,logger,color,debug,development
11
- Classifier: Development Status :: 4 - Beta
11
+ Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Intended Audience :: Developers
13
- Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
14
  Classifier: Operating System :: OS Independent
15
15
  Classifier: Topic :: System :: Logging
16
- Requires-Python: >=3.11
16
+ Requires-Python: >=3.12
17
17
  Description-Content-Type: text/markdown
18
18
  License-File: LICENSE
19
19
  Requires-Dist: colorlog>=6.10.1
@@ -4,10 +4,10 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "custom-python-logger"
7
- version = "2.0.10"
7
+ version = "2.0.12"
8
8
  description = "A custom logger with color support and additional features."
9
9
  readme = "README.md"
10
- requires-python = ">=3.11"
10
+ requires-python = ">=3.12"
11
11
  license = { text = "MIT" }
12
12
  authors = [
13
13
  { name = "Avi Zaguri" },
@@ -15,9 +15,9 @@ authors = [
15
15
  keywords = ["logging", "logger", "color", "debug", "development"]
16
16
 
17
17
  classifiers = [
18
- "Development Status :: 4 - Beta",
18
+ "Development Status :: 5 - Production/Stable",
19
19
  "Intended Audience :: Developers",
20
- "Programming Language :: Python :: 3.11",
20
+ "Programming Language :: Python :: 3.12",
21
21
  "Operating System :: OS Independent",
22
22
  "Topic :: System :: Logging",
23
23
  ]