rkt-tool-lib 2.0.0__tar.gz → 2.0.3__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.
- rkt_tool_lib-2.0.3/PKG-INFO +33 -0
- {rkt_tool_lib-2.0.0 → rkt_tool_lib-2.0.3}/pyproject.toml +3 -2
- rkt_tool_lib-2.0.3/src/rkt_tool_lib.egg-info/PKG-INFO +33 -0
- rkt_tool_lib-2.0.0/PKG-INFO +0 -9
- rkt_tool_lib-2.0.0/src/rkt_tool_lib.egg-info/PKG-INFO +0 -9
- {rkt_tool_lib-2.0.0 → rkt_tool_lib-2.0.3}/README.md +0 -0
- {rkt_tool_lib-2.0.0 → rkt_tool_lib-2.0.3}/setup.cfg +0 -0
- {rkt_tool_lib-2.0.0 → rkt_tool_lib-2.0.3}/src/rkt_tool_lib.egg-info/SOURCES.txt +0 -0
- {rkt_tool_lib-2.0.0 → rkt_tool_lib-2.0.3}/src/rkt_tool_lib.egg-info/dependency_links.txt +0 -0
- {rkt_tool_lib-2.0.0 → rkt_tool_lib-2.0.3}/src/rkt_tool_lib.egg-info/top_level.txt +0 -0
- {rkt_tool_lib-2.0.0 → rkt_tool_lib-2.0.3}/src/tool/__init__.py +0 -0
- {rkt_tool_lib-2.0.0 → rkt_tool_lib-2.0.3}/src/tool/py.typed +0 -0
- {rkt_tool_lib-2.0.0 → rkt_tool_lib-2.0.3}/src/tool/tool.py +0 -0
- {rkt_tool_lib-2.0.0 → rkt_tool_lib-2.0.3}/tests/test_tool.py +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: rkt_tool_lib
|
|
3
|
+
Version: 2.0.3
|
|
4
|
+
Summary: RootKit custom tool Lib
|
|
5
|
+
Author-email: RootKit <rootkit@rootkit-lab.org>
|
|
6
|
+
License: MIT
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: Operating System :: OS Independent
|
|
9
|
+
Requires-Python: >=3.7
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
|
|
12
|
+
# rkt_tool_lib
|
|
13
|
+
|
|
14
|
+
Cross-platform file system utilities.
|
|
15
|
+
|
|
16
|
+
## Features
|
|
17
|
+
- **Path Normalization**: Automatically formats paths (`/` vs `\`) based on the operating system (Windows/Linux).
|
|
18
|
+
- **Recursive Search**: Utilities to find directories deeply nested in the file system.
|
|
19
|
+
- **Singleton Pattern**: (Optional usage via `Singleton` metaclass provided).
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```python
|
|
24
|
+
from tool import Tool
|
|
25
|
+
|
|
26
|
+
t = Tool()
|
|
27
|
+
|
|
28
|
+
# Get current working directory formatted for OS
|
|
29
|
+
cwd = t.get_cwd()
|
|
30
|
+
|
|
31
|
+
# Find a directory named 'logs' recursively
|
|
32
|
+
log_path = t.get_dir("logs")
|
|
33
|
+
```
|
|
@@ -4,14 +4,15 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "rkt_tool_lib"
|
|
7
|
-
version = "2.0.
|
|
7
|
+
version = "2.0.3"
|
|
8
8
|
description = "RootKit custom tool Lib"
|
|
9
|
+
readme = "README.md"
|
|
9
10
|
authors = [
|
|
10
11
|
{ name="RootKit", email="rootkit@rootkit-lab.org" },
|
|
11
12
|
]
|
|
13
|
+
license = { text = "MIT" }
|
|
12
14
|
classifiers = [
|
|
13
15
|
"Programming Language :: Python :: 3",
|
|
14
|
-
"License :: OSI Approved :: MIT License",
|
|
15
16
|
"Operating System :: OS Independent",
|
|
16
17
|
]
|
|
17
18
|
requires-python = ">=3.7"
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: rkt_tool_lib
|
|
3
|
+
Version: 2.0.3
|
|
4
|
+
Summary: RootKit custom tool Lib
|
|
5
|
+
Author-email: RootKit <rootkit@rootkit-lab.org>
|
|
6
|
+
License: MIT
|
|
7
|
+
Classifier: Programming Language :: Python :: 3
|
|
8
|
+
Classifier: Operating System :: OS Independent
|
|
9
|
+
Requires-Python: >=3.7
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
|
|
12
|
+
# rkt_tool_lib
|
|
13
|
+
|
|
14
|
+
Cross-platform file system utilities.
|
|
15
|
+
|
|
16
|
+
## Features
|
|
17
|
+
- **Path Normalization**: Automatically formats paths (`/` vs `\`) based on the operating system (Windows/Linux).
|
|
18
|
+
- **Recursive Search**: Utilities to find directories deeply nested in the file system.
|
|
19
|
+
- **Singleton Pattern**: (Optional usage via `Singleton` metaclass provided).
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
```python
|
|
24
|
+
from tool import Tool
|
|
25
|
+
|
|
26
|
+
t = Tool()
|
|
27
|
+
|
|
28
|
+
# Get current working directory formatted for OS
|
|
29
|
+
cwd = t.get_cwd()
|
|
30
|
+
|
|
31
|
+
# Find a directory named 'logs' recursively
|
|
32
|
+
log_path = t.get_dir("logs")
|
|
33
|
+
```
|
rkt_tool_lib-2.0.0/PKG-INFO
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: rkt_tool_lib
|
|
3
|
-
Version: 2.0.0
|
|
4
|
-
Summary: RootKit custom tool Lib
|
|
5
|
-
Author-email: RootKit <rootkit@rootkit-lab.org>
|
|
6
|
-
Classifier: Programming Language :: Python :: 3
|
|
7
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
8
|
-
Classifier: Operating System :: OS Independent
|
|
9
|
-
Requires-Python: >=3.7
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: rkt_tool_lib
|
|
3
|
-
Version: 2.0.0
|
|
4
|
-
Summary: RootKit custom tool Lib
|
|
5
|
-
Author-email: RootKit <rootkit@rootkit-lab.org>
|
|
6
|
-
Classifier: Programming Language :: Python :: 3
|
|
7
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
8
|
-
Classifier: Operating System :: OS Independent
|
|
9
|
-
Requires-Python: >=3.7
|
|
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
|