python-base-toolkit 0.0.15__tar.gz → 0.0.17__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-0.0.15/python_base_toolkit.egg-info → python_base_toolkit-0.0.17}/PKG-INFO +1 -1
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/pyproject.toml +1 -1
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/ci/task_files/default.yml +1 -1
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/ci/task_files/dependencies.yml +3 -3
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/ci/task_files/docker.yml +5 -5
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/ci/task_files/install.yml +7 -7
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/ci/task_files/lint.yml +1 -2
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17/python_base_toolkit.egg-info}/PKG-INFO +1 -1
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/LICENSE +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/MANIFEST.in +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/README.md +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/Taskfile.yml +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/__init__.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/base_structures/__init__.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/base_structures/base_enum.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/ci/task_files/deploy.yml +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/ci/task_files/includes.yml +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/ci/task_files/vars.yml +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/consts/__init__.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/consts/operating_system.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/consts/units/__init__.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/consts/units/binary_units.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/consts/units/time_units.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/decorators/__init__.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/decorators/telemetry.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/decorators/timer.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/instances/__init__.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/instances/instance_manager.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/scripts/__init__.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/scripts/remove_build_files.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/__init__.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/data_serialization.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/date_time.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/execute.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/file_utils.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/generate_id.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/logo.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/network.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/path_utils.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/pretty_print.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/pycache.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/random_utils.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/shorten_url.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/venv_details.py +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit.egg-info/SOURCES.txt +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit.egg-info/dependency_links.txt +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit.egg-info/not-zip-safe +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit.egg-info/requires.txt +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit.egg-info/top_level.txt +0 -0
- {python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/setup.cfg +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
version: "3"
|
|
2
2
|
|
|
3
3
|
tasks:
|
|
4
|
-
|
|
4
|
+
pip-update:
|
|
5
5
|
desc: "Update all Python dependencies"
|
|
6
6
|
cmds:
|
|
7
7
|
- echo "Updating Python dependencies..."
|
|
8
8
|
- pip install --upgrade -r requirements.txt
|
|
9
9
|
- echo "Dependencies updated."
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
update-uv:
|
|
12
12
|
desc: "Install or update UV binary"
|
|
13
13
|
cmds:
|
|
14
14
|
- |
|
|
@@ -19,7 +19,7 @@ tasks:
|
|
|
19
19
|
echo "UV not found. Pleasing install UV."
|
|
20
20
|
fi
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
poetry-update:
|
|
23
23
|
desc: "Update all Python dependencies using Poetry"
|
|
24
24
|
cmds:
|
|
25
25
|
- |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
version: "3"
|
|
2
2
|
|
|
3
3
|
tasks:
|
|
4
|
-
|
|
4
|
+
docker-build:
|
|
5
5
|
desc: "Build Docker image for the project"
|
|
6
6
|
params:
|
|
7
7
|
IMAGE_NAME:
|
|
@@ -11,7 +11,7 @@ tasks:
|
|
|
11
11
|
- docker build -t {{.IMAGE_NAME}} .
|
|
12
12
|
- echo "Docker image built - {{.IMAGE_NAME}}"
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
docker-run:
|
|
15
15
|
desc: "Run Docker container"
|
|
16
16
|
params:
|
|
17
17
|
IMAGE_NAME:
|
|
@@ -25,7 +25,7 @@ tasks:
|
|
|
25
25
|
- docker run -d --name {{.CONTAINER_NAME}} -p {{.PORT}}:{{.PORT}} {{.IMAGE_NAME}}
|
|
26
26
|
- echo "Container {{.CONTAINER_NAME}} is running on port {{.PORT}}"
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
docker-clean-all:
|
|
29
29
|
desc: "Remove old Docker containers and images"
|
|
30
30
|
cmds:
|
|
31
31
|
- echo "Stopping all running containers..."
|
|
@@ -36,7 +36,7 @@ tasks:
|
|
|
36
36
|
- docker images -q | xargs -r docker rmi
|
|
37
37
|
- echo "Docker cleanup completed."
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
docker-clean-project:
|
|
40
40
|
desc: "Clean Docker resources for a specific project"
|
|
41
41
|
params:
|
|
42
42
|
PROJECT_NAME:
|
|
@@ -51,7 +51,7 @@ tasks:
|
|
|
51
51
|
- docker volume ls -q --filter "name={{.PROJECT_NAME}}" | xargs -r docker volume rm
|
|
52
52
|
- echo "Project cleanup completed."
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
docker-clean-old:
|
|
55
55
|
desc: "Clean old/inactive Docker containers and images"
|
|
56
56
|
params:
|
|
57
57
|
AGE_HOURS:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
version: "3"
|
|
2
2
|
|
|
3
3
|
tasks:
|
|
4
|
-
|
|
4
|
+
uv-bin: # for ci ; command -v uv is the basic command to find uv if exists in PATH
|
|
5
5
|
desc: "Find the path to UV"
|
|
6
6
|
silent: true # do not print the command output unless needed
|
|
7
7
|
cmds:
|
|
@@ -16,11 +16,11 @@ tasks:
|
|
|
16
16
|
echo ""
|
|
17
17
|
fi
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
check-uv:
|
|
20
20
|
desc: "Check if UV is installed"
|
|
21
21
|
cmds:
|
|
22
22
|
- |
|
|
23
|
-
UV_PATH=$(task -s main:install:
|
|
23
|
+
UV_PATH=$(task -s main:install:uv-bin)
|
|
24
24
|
if [ -n "$UV_PATH" ]; then
|
|
25
25
|
echo "UV is installed at: $UV_PATH"
|
|
26
26
|
exit 0 # success
|
|
@@ -29,26 +29,26 @@ tasks:
|
|
|
29
29
|
exit 1 # failure
|
|
30
30
|
fi
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
install-uv:
|
|
33
33
|
desc: "Install UV"
|
|
34
34
|
cmds:
|
|
35
35
|
- echo "Installing UV..."
|
|
36
36
|
- |
|
|
37
|
-
if [ -n "$(task -s main:install:
|
|
37
|
+
if [ -n "$(task -s main:install:uv-bin)" ]; then
|
|
38
38
|
curl -sSfL https://astral.sh/uv/install.sh | sh
|
|
39
39
|
else
|
|
40
40
|
echo "UV is already installed at $(command -v uv)"
|
|
41
41
|
fi
|
|
42
42
|
- echo "🎉 UV installed."
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
reinstall-uv:
|
|
45
45
|
desc: "Force reinstall UV"
|
|
46
46
|
cmds:
|
|
47
47
|
- echo "🔁 Reinstalling UV..."
|
|
48
48
|
- curl -sSfL https://astral.sh/uv/install.sh | sh
|
|
49
49
|
- echo "🎉 UV reinstalled!"
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
install-dependencies:
|
|
52
52
|
desc: Install all dependencies.
|
|
53
53
|
deps:
|
|
54
54
|
- install-uv
|
|
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-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/ci/task_files/vars.yml
RENAMED
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/consts/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/decorators/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/decorators/timer.py
RENAMED
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/instances/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/scripts/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/date_time.py
RENAMED
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/execute.py
RENAMED
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/file_utils.py
RENAMED
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/generate_id.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/network.py
RENAMED
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/path_utils.py
RENAMED
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/pretty_print.py
RENAMED
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/pycache.py
RENAMED
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/random_utils.py
RENAMED
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/shorten_url.py
RENAMED
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit/utils/venv_details.py
RENAMED
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit.egg-info/requires.txt
RENAMED
|
File without changes
|
{python_base_toolkit-0.0.15 → python_base_toolkit-0.0.17}/python_base_toolkit.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|