python-base-toolkit 1.0.5__tar.gz → 1.1.0__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.
- {python_base_toolkit-1.0.5/python_base_toolkit.egg-info → python_base_toolkit-1.1.0}/PKG-INFO +2 -2
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/pyproject.toml +2 -2
- python_base_toolkit-1.1.0/python_base_toolkit/const.py +1 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/decorators/telemetry.py +3 -1
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/decorators/timer.py +3 -1
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/instances/instance_manager.py +4 -2
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/data_serialization.py +3 -1
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/file_utils.py +3 -1
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/generate_id.py +3 -1
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/network.py +2 -1
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/pretty_print.py +3 -1
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/pycache.py +2 -1
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0/python_base_toolkit.egg-info}/PKG-INFO +2 -2
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit.egg-info/SOURCES.txt +1 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit.egg-info/requires.txt +1 -1
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/LICENSE +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/MANIFEST.in +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/README.md +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/Taskfile.yml +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/__init__.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/base_structures/__init__.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/base_structures/base_enum.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/base_structures/base_pydantic_model.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/ci/task_files/default.yml +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/ci/task_files/dependencies.yml +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/ci/task_files/deploy.yml +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/ci/task_files/docker.yml +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/ci/task_files/includes.yml +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/ci/task_files/install.yml +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/ci/task_files/lint.yml +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/ci/task_files/vars.yml +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/consts/__init__.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/consts/operating_system.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/consts/units/__init__.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/consts/units/binary_units.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/consts/units/time_units.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/decorators/__init__.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/instances/__init__.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/scripts/__init__.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/scripts/remove_build_files.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/__init__.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/date_time.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/execute.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/logo.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/path_utils.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/random_utils.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/shorten_url.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/venv_details.py +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit.egg-info/dependency_links.txt +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit.egg-info/not-zip-safe +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit.egg-info/top_level.txt +0 -0
- {python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/setup.cfg +0 -0
{python_base_toolkit-1.0.5/python_base_toolkit.egg-info → python_base_toolkit-1.1.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-base-toolkit
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: A Python package for managing pytest plugins.
|
|
5
5
|
Author: Avi Zaguri
|
|
6
6
|
License: MIT
|
|
@@ -18,7 +18,7 @@ Description-Content-Type: text/markdown
|
|
|
18
18
|
License-File: LICENSE
|
|
19
19
|
Requires-Dist: build>=1.3.0
|
|
20
20
|
Requires-Dist: colorlog>=6.10.1
|
|
21
|
-
Requires-Dist: custom-python-logger>=
|
|
21
|
+
Requires-Dist: custom-python-logger>=4.0.0
|
|
22
22
|
Requires-Dist: pandas>=2.3.3
|
|
23
23
|
Requires-Dist: pathlib>=1.0.1
|
|
24
24
|
Requires-Dist: pre-commit>=4.5.0
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python-base-toolkit"
|
|
7
|
-
version = "1.0
|
|
7
|
+
version = "1.1.0"
|
|
8
8
|
description = "A Python package for managing pytest plugins."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.12"
|
|
@@ -23,7 +23,7 @@ classifiers = [
|
|
|
23
23
|
dependencies = [
|
|
24
24
|
"build>=1.3.0",
|
|
25
25
|
"colorlog>=6.10.1",
|
|
26
|
-
"custom-python-logger>=
|
|
26
|
+
"custom-python-logger>=4.0.0",
|
|
27
27
|
"pandas>=2.3.3",
|
|
28
28
|
"pathlib>=1.0.1",
|
|
29
29
|
"pre-commit>=4.5.0",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
LOGGER_NAME = "pytest_depends_on"
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
from custom_python_logger.logger import get_logger
|
|
2
2
|
|
|
3
|
+
from python_base_toolkit.const import LOGGER_NAME
|
|
4
|
+
|
|
3
5
|
|
|
4
6
|
class InstanceManager:
|
|
5
7
|
def __init__(self) -> None:
|
|
6
|
-
self.logger = get_logger(
|
|
8
|
+
self.logger = get_logger(LOGGER_NAME)
|
|
7
9
|
self._instances = []
|
|
8
10
|
|
|
9
11
|
def add(self, instance: object) -> None:
|
|
@@ -31,7 +33,7 @@ class InstanceManager:
|
|
|
31
33
|
def main() -> None:
|
|
32
34
|
class SomeInstance:
|
|
33
35
|
def __init__(self, add_to_instance_manager: bool = False) -> None:
|
|
34
|
-
self.logger = get_logger(
|
|
36
|
+
self.logger = get_logger(LOGGER_NAME)
|
|
35
37
|
|
|
36
38
|
if add_to_instance_manager:
|
|
37
39
|
instance_manager.add(self) # pylint: disable=E0601
|
|
@@ -10,7 +10,9 @@ import pandas as pd
|
|
|
10
10
|
from custom_python_logger import get_logger
|
|
11
11
|
from pydantic import BaseModel
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
from python_base_toolkit.const import LOGGER_NAME
|
|
14
|
+
|
|
15
|
+
logger = get_logger(LOGGER_NAME)
|
|
14
16
|
|
|
15
17
|
|
|
16
18
|
def default_serialize(obj: object) -> object:
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/file_utils.py
RENAMED
|
@@ -12,7 +12,9 @@ from typing import Any, BinaryIO, TextIO, cast
|
|
|
12
12
|
import yaml
|
|
13
13
|
from custom_python_logger import get_logger
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
from python_base_toolkit.const import LOGGER_NAME
|
|
16
|
+
|
|
17
|
+
logger = get_logger(LOGGER_NAME)
|
|
16
18
|
|
|
17
19
|
|
|
18
20
|
class _FileCompression:
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/network.py
RENAMED
|
@@ -4,9 +4,10 @@ import re
|
|
|
4
4
|
|
|
5
5
|
from custom_python_logger import get_logger
|
|
6
6
|
|
|
7
|
+
from python_base_toolkit.const import LOGGER_NAME
|
|
7
8
|
from python_base_toolkit.consts.operating_system import Platform
|
|
8
9
|
|
|
9
|
-
logger = get_logger(
|
|
10
|
+
logger = get_logger(LOGGER_NAME)
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
def is_ip_address(ip: str) -> bool:
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/pycache.py
RENAMED
|
@@ -3,9 +3,10 @@ from pathlib import Path
|
|
|
3
3
|
|
|
4
4
|
from custom_python_logger.logger import get_logger
|
|
5
5
|
|
|
6
|
+
from python_base_toolkit.const import LOGGER_NAME
|
|
6
7
|
from python_base_toolkit.utils.path_utils import get_project_path_by_file
|
|
7
8
|
|
|
8
|
-
logger = get_logger(
|
|
9
|
+
logger = get_logger(LOGGER_NAME)
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
def delete_pycache_folder(root_dir: Path = None, ignored_dirs: set = None) -> None:
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0/python_base_toolkit.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-base-toolkit
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: A Python package for managing pytest plugins.
|
|
5
5
|
Author: Avi Zaguri
|
|
6
6
|
License: MIT
|
|
@@ -18,7 +18,7 @@ Description-Content-Type: text/markdown
|
|
|
18
18
|
License-File: LICENSE
|
|
19
19
|
Requires-Dist: build>=1.3.0
|
|
20
20
|
Requires-Dist: colorlog>=6.10.1
|
|
21
|
-
Requires-Dist: custom-python-logger>=
|
|
21
|
+
Requires-Dist: custom-python-logger>=4.0.0
|
|
22
22
|
Requires-Dist: pandas>=2.3.3
|
|
23
23
|
Requires-Dist: pathlib>=1.0.1
|
|
24
24
|
Requires-Dist: pre-commit>=4.5.0
|
|
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
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/ci/task_files/deploy.yml
RENAMED
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/ci/task_files/docker.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/ci/task_files/lint.yml
RENAMED
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/ci/task_files/vars.yml
RENAMED
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/consts/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/consts/units/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/decorators/__init__.py
RENAMED
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/instances/__init__.py
RENAMED
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/scripts/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/__init__.py
RENAMED
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/date_time.py
RENAMED
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/execute.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/path_utils.py
RENAMED
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/random_utils.py
RENAMED
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/shorten_url.py
RENAMED
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit/utils/venv_details.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{python_base_toolkit-1.0.5 → python_base_toolkit-1.1.0}/python_base_toolkit.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|