custom-python-logger 2.0.9__tar.gz → 2.0.11__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.
- {custom_python_logger-2.0.9/custom_python_logger.egg-info → custom_python_logger-2.0.11}/PKG-INFO +18 -19
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/custom_python_logger/logger.py +2 -3
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11/custom_python_logger.egg-info}/PKG-INFO +18 -19
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/custom_python_logger.egg-info/SOURCES.txt +0 -1
- custom_python_logger-2.0.11/custom_python_logger.egg-info/requires.txt +8 -0
- custom_python_logger-2.0.11/pyproject.toml +44 -0
- custom_python_logger-2.0.9/custom_python_logger.egg-info/requires.txt +0 -8
- custom_python_logger-2.0.9/pyproject.toml +0 -3
- custom_python_logger-2.0.9/setup.py +0 -35
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/LICENSE +0 -0
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/MANIFEST.in +0 -0
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/README.md +0 -0
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/custom_python_logger/__init__.py +0 -0
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/custom_python_logger/consts.py +0 -0
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/custom_python_logger.egg-info/dependency_links.txt +0 -0
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/custom_python_logger.egg-info/top_level.txt +0 -0
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/requirements.txt +0 -0
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/setup.cfg +0 -0
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/tests/test_logger.py +0 -0
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/tests/test_logger_pytest.py +0 -0
- {custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/tests/test_usage_example_pytest.py +0 -0
{custom_python_logger-2.0.9/custom_python_logger.egg-info → custom_python_logger-2.0.11}/PKG-INFO
RENAMED
|
@@ -1,31 +1,30 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: custom-python-logger
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.11
|
|
4
4
|
Summary: A custom logger with color support and additional features.
|
|
5
|
-
Home-page: https://github.com/aviz92/custom-python-logger
|
|
6
5
|
Author: Avi Zaguri
|
|
7
|
-
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/aviz92/custom-python-logger
|
|
8
8
|
Project-URL: Repository, https://github.com/aviz92/custom-python-logger
|
|
9
|
+
Project-URL: Issues, https://github.com/aviz92/custom-python-logger/issues
|
|
10
|
+
Keywords: logging,logger,color,debug,development
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Topic :: System :: Logging
|
|
9
16
|
Requires-Python: >=3.11
|
|
10
17
|
Description-Content-Type: text/markdown
|
|
11
18
|
License-File: LICENSE
|
|
12
|
-
Requires-Dist:
|
|
13
|
-
Requires-Dist:
|
|
14
|
-
Requires-Dist:
|
|
15
|
-
Requires-Dist:
|
|
16
|
-
Requires-Dist:
|
|
17
|
-
Requires-Dist:
|
|
18
|
-
Requires-Dist:
|
|
19
|
-
Requires-Dist:
|
|
20
|
-
Dynamic: author
|
|
21
|
-
Dynamic: description
|
|
22
|
-
Dynamic: description-content-type
|
|
23
|
-
Dynamic: home-page
|
|
19
|
+
Requires-Dist: colorlog>=6.10.1
|
|
20
|
+
Requires-Dist: pathlib>=1.0.1
|
|
21
|
+
Requires-Dist: pre-commit>=4.5.0
|
|
22
|
+
Requires-Dist: pytest>=9.0.1
|
|
23
|
+
Requires-Dist: python-dotenv>=1.2.1
|
|
24
|
+
Requires-Dist: pyyaml>=6.0.3
|
|
25
|
+
Requires-Dist: setuptools>=80.9.0
|
|
26
|
+
Requires-Dist: wheel>=0.45.1
|
|
24
27
|
Dynamic: license-file
|
|
25
|
-
Dynamic: project-url
|
|
26
|
-
Dynamic: requires-dist
|
|
27
|
-
Dynamic: requires-python
|
|
28
|
-
Dynamic: summary
|
|
29
28
|
|
|
30
29
|
# custom-python-logger
|
|
31
30
|
A powerful and flexible Python logger with colored output, custom log levels, and advanced configuration options. <br>
|
|
@@ -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:
|
|
27
|
-
|
|
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:
|
{custom_python_logger-2.0.9 → custom_python_logger-2.0.11/custom_python_logger.egg-info}/PKG-INFO
RENAMED
|
@@ -1,31 +1,30 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: custom-python-logger
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.11
|
|
4
4
|
Summary: A custom logger with color support and additional features.
|
|
5
|
-
Home-page: https://github.com/aviz92/custom-python-logger
|
|
6
5
|
Author: Avi Zaguri
|
|
7
|
-
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/aviz92/custom-python-logger
|
|
8
8
|
Project-URL: Repository, https://github.com/aviz92/custom-python-logger
|
|
9
|
+
Project-URL: Issues, https://github.com/aviz92/custom-python-logger/issues
|
|
10
|
+
Keywords: logging,logger,color,debug,development
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Operating System :: OS Independent
|
|
15
|
+
Classifier: Topic :: System :: Logging
|
|
9
16
|
Requires-Python: >=3.11
|
|
10
17
|
Description-Content-Type: text/markdown
|
|
11
18
|
License-File: LICENSE
|
|
12
|
-
Requires-Dist:
|
|
13
|
-
Requires-Dist:
|
|
14
|
-
Requires-Dist:
|
|
15
|
-
Requires-Dist:
|
|
16
|
-
Requires-Dist:
|
|
17
|
-
Requires-Dist:
|
|
18
|
-
Requires-Dist:
|
|
19
|
-
Requires-Dist:
|
|
20
|
-
Dynamic: author
|
|
21
|
-
Dynamic: description
|
|
22
|
-
Dynamic: description-content-type
|
|
23
|
-
Dynamic: home-page
|
|
19
|
+
Requires-Dist: colorlog>=6.10.1
|
|
20
|
+
Requires-Dist: pathlib>=1.0.1
|
|
21
|
+
Requires-Dist: pre-commit>=4.5.0
|
|
22
|
+
Requires-Dist: pytest>=9.0.1
|
|
23
|
+
Requires-Dist: python-dotenv>=1.2.1
|
|
24
|
+
Requires-Dist: pyyaml>=6.0.3
|
|
25
|
+
Requires-Dist: setuptools>=80.9.0
|
|
26
|
+
Requires-Dist: wheel>=0.45.1
|
|
24
27
|
Dynamic: license-file
|
|
25
|
-
Dynamic: project-url
|
|
26
|
-
Dynamic: requires-dist
|
|
27
|
-
Dynamic: requires-python
|
|
28
|
-
Dynamic: summary
|
|
29
28
|
|
|
30
29
|
# custom-python-logger
|
|
31
30
|
A powerful and flexible Python logger with colored output, custom log levels, and advanced configuration options. <br>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "custom-python-logger"
|
|
7
|
+
version = "2.0.11"
|
|
8
|
+
description = "A custom logger with color support and additional features."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.11"
|
|
11
|
+
license = { text = "MIT" }
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "Avi Zaguri" },
|
|
14
|
+
]
|
|
15
|
+
keywords = ["logging", "logger", "color", "debug", "development"]
|
|
16
|
+
|
|
17
|
+
classifiers = [
|
|
18
|
+
"Development Status :: 4 - Beta",
|
|
19
|
+
"Intended Audience :: Developers",
|
|
20
|
+
"Programming Language :: Python :: 3.11",
|
|
21
|
+
"Operating System :: OS Independent",
|
|
22
|
+
"Topic :: System :: Logging",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
dependencies = [
|
|
26
|
+
"colorlog>=6.10.1",
|
|
27
|
+
"pathlib>=1.0.1",
|
|
28
|
+
"pre-commit>=4.5.0",
|
|
29
|
+
"pytest>=9.0.1",
|
|
30
|
+
"python-dotenv>=1.2.1",
|
|
31
|
+
"pyyaml>=6.0.3",
|
|
32
|
+
"setuptools>=80.9.0",
|
|
33
|
+
"wheel>=0.45.1",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
[project.urls]
|
|
37
|
+
Homepage = "https://github.com/aviz92/custom-python-logger"
|
|
38
|
+
Repository = "https://github.com/aviz92/custom-python-logger"
|
|
39
|
+
Issues = "https://github.com/aviz92/custom-python-logger/issues"
|
|
40
|
+
|
|
41
|
+
[tool.setuptools.packages.find]
|
|
42
|
+
where = ["."]
|
|
43
|
+
include = ["custom_python_logger*"]
|
|
44
|
+
namespaces = false
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
from setuptools import find_packages, setup
|
|
2
|
-
|
|
3
|
-
package_version = "2.0.9"
|
|
4
|
-
|
|
5
|
-
package_name = "custom-python-logger"
|
|
6
|
-
package_description = "A custom logger with color support and additional features."
|
|
7
|
-
|
|
8
|
-
package_name_ = package_name.replace("-", "_")
|
|
9
|
-
package_long_description_content_type = "text/markdown"
|
|
10
|
-
package_url = f"https://github.com/aviz92/{package_name}"
|
|
11
|
-
package_python_requires = ">=3.11"
|
|
12
|
-
package_author = "Avi Zaguri"
|
|
13
|
-
|
|
14
|
-
with open("requirements.txt") as file:
|
|
15
|
-
package_install_requires = [line.strip() for line in file.readlines() if line.strip() and not line.startswith("#")]
|
|
16
|
-
|
|
17
|
-
with open("README.md") as file:
|
|
18
|
-
package_long_description = file.read()
|
|
19
|
-
|
|
20
|
-
setup(
|
|
21
|
-
name=package_name,
|
|
22
|
-
version=package_version,
|
|
23
|
-
packages=find_packages(include=[package_name_, f"{package_name_}.*"]),
|
|
24
|
-
install_requires=package_install_requires,
|
|
25
|
-
author=package_author,
|
|
26
|
-
author_email="",
|
|
27
|
-
description=package_description,
|
|
28
|
-
long_description=package_long_description,
|
|
29
|
-
long_description_content_type=package_long_description_content_type,
|
|
30
|
-
url=package_url,
|
|
31
|
-
project_urls={
|
|
32
|
-
"Repository": package_url,
|
|
33
|
-
},
|
|
34
|
-
python_requires=package_python_requires,
|
|
35
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{custom_python_logger-2.0.9 → custom_python_logger-2.0.11}/tests/test_usage_example_pytest.py
RENAMED
|
File without changes
|