pyhabitat 1.0.9__tar.gz → 1.0.10__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.
Potentially problematic release.
This version of pyhabitat might be problematic. Click here for more details.
- {pyhabitat-1.0.9 → pyhabitat-1.0.10}/PKG-INFO +9 -3
- {pyhabitat-1.0.9 → pyhabitat-1.0.10}/README.md +8 -2
- {pyhabitat-1.0.9 → pyhabitat-1.0.10}/pyhabitat.egg-info/PKG-INFO +9 -3
- {pyhabitat-1.0.9 → pyhabitat-1.0.10}/pyproject.toml +1 -1
- {pyhabitat-1.0.9 → pyhabitat-1.0.10}/LICENSE +0 -0
- {pyhabitat-1.0.9 → pyhabitat-1.0.10}/pyhabitat/__init__.py +0 -0
- {pyhabitat-1.0.9 → pyhabitat-1.0.10}/pyhabitat/environment.py +0 -0
- {pyhabitat-1.0.9 → pyhabitat-1.0.10}/pyhabitat.egg-info/SOURCES.txt +0 -0
- {pyhabitat-1.0.9 → pyhabitat-1.0.10}/pyhabitat.egg-info/dependency_links.txt +0 -0
- {pyhabitat-1.0.9 → pyhabitat-1.0.10}/pyhabitat.egg-info/top_level.txt +0 -0
- {pyhabitat-1.0.9 → pyhabitat-1.0.10}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyhabitat
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.10
|
|
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
|
|
@@ -27,7 +27,7 @@ Stop writing verbose `sys.platform` and environment variable checks. Use **`pyha
|
|
|
27
27
|
|
|
28
28
|
---
|
|
29
29
|
|
|
30
|
-
Read the code on [github](https://github.com/City-of-Memphis-Wastewater/pyhabitat/blob/main/pyhabitat/environment.py).
|
|
30
|
+
Read the code on [github](https://github.com/City-of-Memphis-Wastewater/pyhabitat/blob/main/pyhabitat/environment.py). 🌐
|
|
31
31
|
|
|
32
32
|
---
|
|
33
33
|
|
|
@@ -36,10 +36,12 @@ Read the code on [github](https://github.com/City-of-Memphis-Wastewater/pyhabita
|
|
|
36
36
|
```bash
|
|
37
37
|
pip install pyhabitat
|
|
38
38
|
```
|
|
39
|
+
|
|
39
40
|
---
|
|
40
41
|
|
|
41
42
|
<details>
|
|
42
|
-
<summary> Motivation </summary>
|
|
43
|
+
<summary> 🧠 Motivation </summary>
|
|
44
|
+
|
|
43
45
|
This library is especially useful for **leveraging Python in mobile environments** (`Termux` on Android and `iSH` on iOS), which often have particular limitations and require special handling. For example, it helps automate work-arounds like using **localhost plotting** when `matplotlib` is unavailable or **web-based interfaces** when `tkinter` is missing.
|
|
44
46
|
|
|
45
47
|
Our team is fundamentally driven by enabling mobile computing for true utility applications, leveraging environments like Termux (Android) and iSH (iOS). This includes highly practical solutions, such as deploying a lightweight Python web server (e.g., Flask, http.server, FastAPI) directly on a handset, or orchestrating full-stack, utility-grade applications that allow technicians to manage data and systems right from their mobile device in a way that is cross-platform and not overly catered to the App Store.
|
|
@@ -119,6 +121,10 @@ Key Question: "What could I do next?"
|
|
|
119
121
|
|
|
120
122
|
The module exposes all detection functions directly for easy access.
|
|
121
123
|
|
|
124
|
+
### 0\. Current Use
|
|
125
|
+
|
|
126
|
+
The `pipeline-eds` pacakge uses the `pyhabitat` library to handle [configuration](https://github.com/City-of-Memphis-Wastewater/pipeline/blob/main/src/pipeline/security_and_config.py) and [plotting](https://github.com/City-of-Memphis-Wastewater/pipeline/blob/main/src/pipeline/cli.py), among other things.
|
|
127
|
+
|
|
122
128
|
### 1\. Checking Environment and Build Type
|
|
123
129
|
|
|
124
130
|
```python
|
|
@@ -12,7 +12,7 @@ Stop writing verbose `sys.platform` and environment variable checks. Use **`pyha
|
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
-
Read the code on [github](https://github.com/City-of-Memphis-Wastewater/pyhabitat/blob/main/pyhabitat/environment.py).
|
|
15
|
+
Read the code on [github](https://github.com/City-of-Memphis-Wastewater/pyhabitat/blob/main/pyhabitat/environment.py). 🌐
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
@@ -21,10 +21,12 @@ Read the code on [github](https://github.com/City-of-Memphis-Wastewater/pyhabita
|
|
|
21
21
|
```bash
|
|
22
22
|
pip install pyhabitat
|
|
23
23
|
```
|
|
24
|
+
|
|
24
25
|
---
|
|
25
26
|
|
|
26
27
|
<details>
|
|
27
|
-
<summary> Motivation </summary>
|
|
28
|
+
<summary> 🧠 Motivation </summary>
|
|
29
|
+
|
|
28
30
|
This library is especially useful for **leveraging Python in mobile environments** (`Termux` on Android and `iSH` on iOS), which often have particular limitations and require special handling. For example, it helps automate work-arounds like using **localhost plotting** when `matplotlib` is unavailable or **web-based interfaces** when `tkinter` is missing.
|
|
29
31
|
|
|
30
32
|
Our team is fundamentally driven by enabling mobile computing for true utility applications, leveraging environments like Termux (Android) and iSH (iOS). This includes highly practical solutions, such as deploying a lightweight Python web server (e.g., Flask, http.server, FastAPI) directly on a handset, or orchestrating full-stack, utility-grade applications that allow technicians to manage data and systems right from their mobile device in a way that is cross-platform and not overly catered to the App Store.
|
|
@@ -104,6 +106,10 @@ Key Question: "What could I do next?"
|
|
|
104
106
|
|
|
105
107
|
The module exposes all detection functions directly for easy access.
|
|
106
108
|
|
|
109
|
+
### 0\. Current Use
|
|
110
|
+
|
|
111
|
+
The `pipeline-eds` pacakge uses the `pyhabitat` library to handle [configuration](https://github.com/City-of-Memphis-Wastewater/pipeline/blob/main/src/pipeline/security_and_config.py) and [plotting](https://github.com/City-of-Memphis-Wastewater/pipeline/blob/main/src/pipeline/cli.py), among other things.
|
|
112
|
+
|
|
107
113
|
### 1\. Checking Environment and Build Type
|
|
108
114
|
|
|
109
115
|
```python
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyhabitat
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.10
|
|
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
|
|
@@ -27,7 +27,7 @@ Stop writing verbose `sys.platform` and environment variable checks. Use **`pyha
|
|
|
27
27
|
|
|
28
28
|
---
|
|
29
29
|
|
|
30
|
-
Read the code on [github](https://github.com/City-of-Memphis-Wastewater/pyhabitat/blob/main/pyhabitat/environment.py).
|
|
30
|
+
Read the code on [github](https://github.com/City-of-Memphis-Wastewater/pyhabitat/blob/main/pyhabitat/environment.py). 🌐
|
|
31
31
|
|
|
32
32
|
---
|
|
33
33
|
|
|
@@ -36,10 +36,12 @@ Read the code on [github](https://github.com/City-of-Memphis-Wastewater/pyhabita
|
|
|
36
36
|
```bash
|
|
37
37
|
pip install pyhabitat
|
|
38
38
|
```
|
|
39
|
+
|
|
39
40
|
---
|
|
40
41
|
|
|
41
42
|
<details>
|
|
42
|
-
<summary> Motivation </summary>
|
|
43
|
+
<summary> 🧠 Motivation </summary>
|
|
44
|
+
|
|
43
45
|
This library is especially useful for **leveraging Python in mobile environments** (`Termux` on Android and `iSH` on iOS), which often have particular limitations and require special handling. For example, it helps automate work-arounds like using **localhost plotting** when `matplotlib` is unavailable or **web-based interfaces** when `tkinter` is missing.
|
|
44
46
|
|
|
45
47
|
Our team is fundamentally driven by enabling mobile computing for true utility applications, leveraging environments like Termux (Android) and iSH (iOS). This includes highly practical solutions, such as deploying a lightweight Python web server (e.g., Flask, http.server, FastAPI) directly on a handset, or orchestrating full-stack, utility-grade applications that allow technicians to manage data and systems right from their mobile device in a way that is cross-platform and not overly catered to the App Store.
|
|
@@ -119,6 +121,10 @@ Key Question: "What could I do next?"
|
|
|
119
121
|
|
|
120
122
|
The module exposes all detection functions directly for easy access.
|
|
121
123
|
|
|
124
|
+
### 0\. Current Use
|
|
125
|
+
|
|
126
|
+
The `pipeline-eds` pacakge uses the `pyhabitat` library to handle [configuration](https://github.com/City-of-Memphis-Wastewater/pipeline/blob/main/src/pipeline/security_and_config.py) and [plotting](https://github.com/City-of-Memphis-Wastewater/pipeline/blob/main/src/pipeline/cli.py), among other things.
|
|
127
|
+
|
|
122
128
|
### 1\. Checking Environment and Build Type
|
|
123
129
|
|
|
124
130
|
```python
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|