pyhabitat 1.0.12__py3-none-any.whl → 1.0.14__py3-none-any.whl
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.
Potentially problematic release.
This version of pyhabitat might be problematic. Click here for more details.
- pyhabitat/__init__.py +2 -2
- {pyhabitat-1.0.12.dist-info → pyhabitat-1.0.14.dist-info}/METADATA +3 -3
- pyhabitat-1.0.14.dist-info/RECORD +7 -0
- pyhabitat-1.0.12.dist-info/RECORD +0 -7
- {pyhabitat-1.0.12.dist-info → pyhabitat-1.0.14.dist-info}/WHEEL +0 -0
- {pyhabitat-1.0.12.dist-info → pyhabitat-1.0.14.dist-info}/licenses/LICENSE +0 -0
- {pyhabitat-1.0.12.dist-info → pyhabitat-1.0.14.dist-info}/top_level.txt +0 -0
pyhabitat/__init__.py
CHANGED
|
@@ -20,7 +20,7 @@ from .environment import (
|
|
|
20
20
|
is_pipx,
|
|
21
21
|
interactive_terminal_is_available,
|
|
22
22
|
web_browser_is_available,
|
|
23
|
-
|
|
23
|
+
open_text_file_for_editing,
|
|
24
24
|
)
|
|
25
25
|
|
|
26
26
|
# Optional: Set __all__ for explicit documentation and cleaner imports
|
|
@@ -44,5 +44,5 @@ __all__ = [
|
|
|
44
44
|
'is_pipx',
|
|
45
45
|
'interactive_terminal_is_available',
|
|
46
46
|
'web_browser_is_available',
|
|
47
|
-
'
|
|
47
|
+
'open_text_file_for_editing',
|
|
48
48
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyhabitat
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.14
|
|
4
4
|
Summary: A lightweight library for detecting system environment, GUI, and build properties.
|
|
5
5
|
Author-email: George Clayton Bennett <george.bennett@memphistn.gov>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -110,7 +110,7 @@ Key Question: "What could I do next?"
|
|
|
110
110
|
|
|
111
111
|
| Function | Description |
|
|
112
112
|
| :--- | :--- |
|
|
113
|
-
| `
|
|
113
|
+
| `open_text_file_for_editing()` | Smoothly opens a text file for editing (for configuration editing prompted by a CLI flag). |
|
|
114
114
|
|
|
115
115
|
</details>
|
|
116
116
|
|
|
@@ -177,7 +177,7 @@ Use this function to smoothly open a text file for editing.
|
|
|
177
177
|
Ideal use case: Edit a configuration file, if prompted by a CLI command like 'config --textedit'.
|
|
178
178
|
|
|
179
179
|
```python
|
|
180
|
-
|
|
180
|
+
open_text_file_for_editing(filepath=Path('./config.json'))
|
|
181
181
|
```
|
|
182
182
|
</details>
|
|
183
183
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
pyhabitat/__init__.py,sha256=XVMOgp7YPR0xYD1F_4-VEhG4rTwx3ga3CttdRKpkyxA,1115
|
|
2
|
+
pyhabitat/environment.py,sha256=c_eUqlqiAYGBX2LLCMo3PctOYhwTywOrCBrvjg_rXUs,20248
|
|
3
|
+
pyhabitat-1.0.14.dist-info/licenses/LICENSE,sha256=D4fg30ctUGnCJlWu3ONv5-V8JE1v3ctakoJTcVjsJlg,1072
|
|
4
|
+
pyhabitat-1.0.14.dist-info/METADATA,sha256=2_t5JIthRCcKCg5s4cX-CnAGLzfd36LNNmksec8zrM0,8813
|
|
5
|
+
pyhabitat-1.0.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
6
|
+
pyhabitat-1.0.14.dist-info/top_level.txt,sha256=zXYK44Qu8EqxUETREvd2diMUaB5JiGRErkwFaoLQnnI,10
|
|
7
|
+
pyhabitat-1.0.14.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
pyhabitat/__init__.py,sha256=HCsuYmUpq5qmAMUgmPrJbXp4Ojq_HLfHOsqTOHDShc4,1121
|
|
2
|
-
pyhabitat/environment.py,sha256=c_eUqlqiAYGBX2LLCMo3PctOYhwTywOrCBrvjg_rXUs,20248
|
|
3
|
-
pyhabitat-1.0.12.dist-info/licenses/LICENSE,sha256=D4fg30ctUGnCJlWu3ONv5-V8JE1v3ctakoJTcVjsJlg,1072
|
|
4
|
-
pyhabitat-1.0.12.dist-info/METADATA,sha256=ZN8eb1aqT8gWu2XuAYdB6hwdTtwsPVSimRoZj5ycgAs,8819
|
|
5
|
-
pyhabitat-1.0.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
6
|
-
pyhabitat-1.0.12.dist-info/top_level.txt,sha256=zXYK44Qu8EqxUETREvd2diMUaB5JiGRErkwFaoLQnnI,10
|
|
7
|
-
pyhabitat-1.0.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|