corio 2.2.7__tar.gz → 2.3.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.
- {corio-2.2.7 → corio-2.3.0}/PKG-INFO +1 -1
- {corio-2.2.7 → corio-2.3.0}/corio/path/path.py +1 -53
- {corio-2.2.7 → corio-2.3.0}/corio/pyproject.package.toml +8 -3
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_path.py +0 -21
- {corio-2.2.7 → corio-2.3.0}/corio.egg-info/PKG-INFO +1 -1
- {corio-2.2.7 → corio-2.3.0}/corio.egg-info/SOURCES.txt +1 -1
- {corio-2.2.7 → corio-2.3.0}/pyproject.toml +8 -3
- {corio-2.2.7 → corio-2.3.0}/LICENSE +0 -0
- {corio-2.2.7 → corio-2.3.0}/README.md +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/__init__.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/ai/__init__.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/ai/agentic.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/ai/infer.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/aio.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/api.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/augmentation.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/av.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/caching.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/constants.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/context.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/dataclass.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/datatype.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/db/__init__.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/db/document.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/debug.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/dm.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/dns/__init__.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/dns/client.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/dns/dm.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/dns/proxy.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/dns/server.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/docker/__init__.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/dt.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/encrypt.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/entrypoint.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/env.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/function.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/google_api.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/ha/__init__.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/ha/constants.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/ha/core.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/ha/supervisor.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/ha/utils.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/hash.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/hfh.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/hook.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/https.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/infra/__init__.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/infra/api.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/infra/incrementor_pyproject.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/infra/project.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/infra/releaser.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/infra/repository.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/infra/stack.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/inherit.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/inspection.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/interface/__init__.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/interface/context.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/interface/controls.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/interface/interface.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/iterator.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/jsn.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/json_fix.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/logs.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/markup.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/merging.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/metric.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/mqtt.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/name.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/net.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/netrc.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/openai.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/parallel.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/path/__init__.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/path/app.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/path/type.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/paths.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/patterns.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/pdf.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/plat.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/process.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/profiling.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/rand.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/sec.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/semantic.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/sets.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/setup/__init__.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/spaces.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/strings.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tabular.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/__init__.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/conftest.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/helpers.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_caching.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_datatype.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_dns.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_dt.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_encrypt.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_env.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_hash.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_hook.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_infra.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_iterator.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_jsn.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_name.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_patterns.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_rand.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_strings.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_toml.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tests/test_tools.py +0 -0
- /corio-2.2.7/corio/tests/test_yaml.py → /corio-2.3.0/corio/tests/test_yml.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tokenization.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/toml.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/tools.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/unicode.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/version/__init__.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/version/version.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/webhook.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/yml.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio/youtube.py +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio.egg-info/dependency_links.txt +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio.egg-info/entry_points.txt +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio.egg-info/requires.txt +0 -0
- {corio-2.2.7 → corio-2.3.0}/corio.egg-info/top_level.txt +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/add-service +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/add-user-path +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/add-ve-shell +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/apt-essentials +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/apt-headless +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/auth-token +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/compose-update +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/compress-dir +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/cru +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/docker-build-bases +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/docker-build-bases-dev +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/docker-install-deps +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/docker-install-prod +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/docker-prune +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/docker-sandbox +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/docker-sandbox-init +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/docs-deploy +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/download +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/encrypt-secrets +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/fmtr-test-script +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/git-clone +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/ha-addon-launch +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/infra +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/install-browser +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/install-docker +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/install-ts +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/install-ys +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/mirror-dir +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/opt-dev-init +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/parse-args +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/pypi-check +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/pypi-reserve +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/run-script +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/run-tests +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/set-password +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/set-secure-path +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/set-user-sudo +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/snips-install +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/ssh-auth +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/ssh-serve +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/tasmota-config +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/tasmota-flash +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/tasmota-terminal +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/vlc-tn +0 -0
- {corio-2.2.7 → corio-2.3.0}/scripts/vm-launch +0 -0
- {corio-2.2.7 → corio-2.3.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: corio
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Collection of high-level tools to simplify everyday development tasks, with a focus on AI/ML
|
|
5
5
|
Author-email: Frontmatter AI <innovative.fowler@mask.pro.fmtr.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -3,7 +3,6 @@ from __future__ import annotations
|
|
|
3
3
|
import os
|
|
4
4
|
import re
|
|
5
5
|
import site
|
|
6
|
-
import subprocess
|
|
7
6
|
import typing
|
|
8
7
|
from contextlib import contextmanager
|
|
9
8
|
from dataclasses import dataclass, field
|
|
@@ -15,70 +14,19 @@ from typing import Self, Tuple, Callable
|
|
|
15
14
|
from typing import Union, Any
|
|
16
15
|
|
|
17
16
|
from corio.constants import Constants
|
|
18
|
-
from corio.plat import is_wsl
|
|
19
17
|
from corio.strings import join_natural
|
|
20
18
|
|
|
21
19
|
if typing.TYPE_CHECKING:
|
|
22
20
|
from datetime import datetime, timezone
|
|
23
21
|
|
|
24
22
|
|
|
25
|
-
WIN_PATH_PATTERN = r'''([a-z]:(\\|$)|\\\\)'''
|
|
26
|
-
WIN_PATH_RX = re.compile(WIN_PATH_PATTERN, flags=re.IGNORECASE)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
class WSLPathConversionError(EnvironmentError):
|
|
30
|
-
"""
|
|
31
|
-
|
|
32
|
-
Error to raise if WSL path conversion fails.
|
|
33
|
-
|
|
34
|
-
"""
|
|
35
|
-
|
|
36
|
-
|
|
37
23
|
class Path(type(Path())):
|
|
38
24
|
"""
|
|
39
25
|
|
|
40
|
-
Custom path object
|
|
26
|
+
Custom path object with additional read/write methods.
|
|
41
27
|
|
|
42
28
|
"""
|
|
43
29
|
|
|
44
|
-
def __new__(cls, *segments: Union[str, Path], convert_wsl: bool = True, **kwargs):
|
|
45
|
-
"""
|
|
46
|
-
|
|
47
|
-
Intercept arguments to detect whether WSL conversion is required.
|
|
48
|
-
|
|
49
|
-
"""
|
|
50
|
-
if convert_wsl and len(segments) == 1 and is_wsl() and cls.is_abs_win_path(*segments):
|
|
51
|
-
segments = [cls.from_wsl(*segments)]
|
|
52
|
-
|
|
53
|
-
return super().__new__(cls, *segments, **kwargs)
|
|
54
|
-
|
|
55
|
-
@classmethod
|
|
56
|
-
def is_abs_win_path(cls, path: Union[str, Path]) -> bool:
|
|
57
|
-
"""
|
|
58
|
-
|
|
59
|
-
Infer if the current path is an absolute Windows path.
|
|
60
|
-
|
|
61
|
-
"""
|
|
62
|
-
path = str(path)
|
|
63
|
-
return bool(WIN_PATH_RX.match(path))
|
|
64
|
-
|
|
65
|
-
@classmethod
|
|
66
|
-
def from_wsl(cls, path: Union[str, Path]) -> bool: # pragma: no cover
|
|
67
|
-
"""
|
|
68
|
-
|
|
69
|
-
Call `wslpath` to convert the path to its Unix equivalent.
|
|
70
|
-
|
|
71
|
-
"""
|
|
72
|
-
result = subprocess.run(['wslpath', '-u', str(path)], capture_output=True, text=True)
|
|
73
|
-
|
|
74
|
-
if result.returncode:
|
|
75
|
-
msg = f'Could not convert Windows path to Unix equivalent: "{path}"'
|
|
76
|
-
raise WSLPathConversionError(msg)
|
|
77
|
-
|
|
78
|
-
path_wsl = result.stdout.strip()
|
|
79
|
-
path_wsl = cls(path_wsl, convert_wsl=False)
|
|
80
|
-
return path_wsl
|
|
81
|
-
|
|
82
30
|
@classmethod
|
|
83
31
|
def package(cls) -> 'Path':
|
|
84
32
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "corio"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.3.0"
|
|
4
4
|
description = "Collection of high-level tools to simplify everyday development tasks, with a focus on AI/ML"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
dependencies = []
|
|
@@ -83,7 +83,7 @@ Homepage = "https://github.com/fmtr/corio"
|
|
|
83
83
|
corio = "corio.entrypoint:main"
|
|
84
84
|
|
|
85
85
|
[tool.corio.metadata]
|
|
86
|
-
version = "2.
|
|
86
|
+
version = "2.3.0"
|
|
87
87
|
port = 0
|
|
88
88
|
base = "python"
|
|
89
89
|
description = "Collection of high-level tools to simplify everyday development tasks, with a focus on AI/ML"
|
|
@@ -177,7 +177,7 @@ corio = ["pyproject.package.toml"]
|
|
|
177
177
|
|
|
178
178
|
[tool.tox]
|
|
179
179
|
requires = ["tox>=4.22", "tox-uv>=1"]
|
|
180
|
-
env_list = ["caching", "datatype", "dns", "dt", "encrypt", "env", "hash", "hook", "infra", "iterator", "jsn", "name", "path", "patterns", "rand", "strings", "toml", "tools"]
|
|
180
|
+
env_list = ["caching", "datatype", "dns", "dt", "encrypt", "env", "hash", "hook", "infra", "iterator", "jsn", "name", "path", "patterns", "rand", "strings", "toml", "tools", "yml"]
|
|
181
181
|
|
|
182
182
|
[tool.tox.env.caching]
|
|
183
183
|
description = "Run caching tests."
|
|
@@ -269,6 +269,11 @@ description = "Run tools tests."
|
|
|
269
269
|
deps = ["pytest", "pytest-cov"]
|
|
270
270
|
commands = [["python", "-m", "pytest", "-q", "corio/tests/test_tools.py"]]
|
|
271
271
|
|
|
272
|
+
[tool.tox.env.yml]
|
|
273
|
+
description = "Run yml tests."
|
|
274
|
+
deps = ["pytest", "pytest-cov", "pyyaml", "yamlscript"]
|
|
275
|
+
commands = [["python", "-m", "pytest", "-q", "corio/tests/test_yml.py"]]
|
|
276
|
+
|
|
272
277
|
[build-system]
|
|
273
278
|
requires = ["setuptools>=82", "wheel"]
|
|
274
279
|
build-backend = "setuptools.build_meta"
|
|
@@ -19,27 +19,6 @@ def test_path_args(args):
|
|
|
19
19
|
assert actual == expected
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
@pytest.mark.parametrize(
|
|
23
|
-
'raw, expected',
|
|
24
|
-
[
|
|
25
|
-
(r'C:\test', True),
|
|
26
|
-
(r'd:\test', True),
|
|
27
|
-
(r'u:', True),
|
|
28
|
-
(r'x:\test\file.exe', True),
|
|
29
|
-
(r'\\wsl.localhost\shell\bin', True),
|
|
30
|
-
(r'/opt/data', False),
|
|
31
|
-
(r'/bin/usr/python', False),
|
|
32
|
-
(r'test/path', False),
|
|
33
|
-
(r'test\path', False),
|
|
34
|
-
]
|
|
35
|
-
)
|
|
36
|
-
def test_path_is_abs_win_path(raw, expected):
|
|
37
|
-
actual = path.Path.is_abs_win_path(raw)
|
|
38
|
-
assert actual == expected
|
|
39
|
-
actual = path.Path.is_abs_win_path(path.Path(raw, convert_wsl=False))
|
|
40
|
-
assert actual == expected
|
|
41
|
-
|
|
42
|
-
|
|
43
22
|
def test_path_module():
|
|
44
23
|
"""
|
|
45
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: corio
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Collection of high-level tools to simplify everyday development tasks, with a focus on AI/ML
|
|
5
5
|
Author-email: Frontmatter AI <innovative.fowler@mask.pro.fmtr.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -118,7 +118,7 @@ corio/tests/test_rand.py
|
|
|
118
118
|
corio/tests/test_strings.py
|
|
119
119
|
corio/tests/test_toml.py
|
|
120
120
|
corio/tests/test_tools.py
|
|
121
|
-
corio/tests/
|
|
121
|
+
corio/tests/test_yml.py
|
|
122
122
|
corio/version/__init__.py
|
|
123
123
|
corio/version/version.py
|
|
124
124
|
scripts/add-service
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "corio"
|
|
3
|
-
version = "2.
|
|
3
|
+
version = "2.3.0"
|
|
4
4
|
description = "Collection of high-level tools to simplify everyday development tasks, with a focus on AI/ML"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
dependencies = []
|
|
@@ -83,7 +83,7 @@ Homepage = "https://github.com/fmtr/corio"
|
|
|
83
83
|
corio = "corio.entrypoint:main"
|
|
84
84
|
|
|
85
85
|
[tool.corio.metadata]
|
|
86
|
-
version = "2.
|
|
86
|
+
version = "2.3.0"
|
|
87
87
|
port = 0
|
|
88
88
|
base = "python"
|
|
89
89
|
description = "Collection of high-level tools to simplify everyday development tasks, with a focus on AI/ML"
|
|
@@ -177,7 +177,7 @@ corio = ["pyproject.package.toml"]
|
|
|
177
177
|
|
|
178
178
|
[tool.tox]
|
|
179
179
|
requires = ["tox>=4.22", "tox-uv>=1"]
|
|
180
|
-
env_list = ["caching", "datatype", "dns", "dt", "encrypt", "env", "hash", "hook", "infra", "iterator", "jsn", "name", "path", "patterns", "rand", "strings", "toml", "tools"]
|
|
180
|
+
env_list = ["caching", "datatype", "dns", "dt", "encrypt", "env", "hash", "hook", "infra", "iterator", "jsn", "name", "path", "patterns", "rand", "strings", "toml", "tools", "yml"]
|
|
181
181
|
|
|
182
182
|
[tool.tox.env.caching]
|
|
183
183
|
description = "Run caching tests."
|
|
@@ -269,6 +269,11 @@ description = "Run tools tests."
|
|
|
269
269
|
deps = ["pytest", "pytest-cov"]
|
|
270
270
|
commands = [["python", "-m", "pytest", "-q", "corio/tests/test_tools.py"]]
|
|
271
271
|
|
|
272
|
+
[tool.tox.env.yml]
|
|
273
|
+
description = "Run yml tests."
|
|
274
|
+
deps = ["pytest", "pytest-cov", "pyyaml", "yamlscript"]
|
|
275
|
+
commands = [["python", "-m", "pytest", "-q", "corio/tests/test_yml.py"]]
|
|
276
|
+
|
|
272
277
|
[build-system]
|
|
273
278
|
requires = ["setuptools>=82", "wheel"]
|
|
274
279
|
build-backend = "setuptools.build_meta"
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|