pyhabitat 1.0.9__py3-none-any.whl → 1.0.10__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyhabitat
3
- Version: 1.0.9
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
@@ -0,0 +1,7 @@
1
+ pyhabitat/__init__.py,sha256=fy1SRFXok05bCprjGMCXS5afw27iKBJCLeSQTuBjlRI,1101
2
+ pyhabitat/environment.py,sha256=rteFLXko5VaxwgfQYRR7SBQaRygKqrNr0YjRYQ5mybo,18206
3
+ pyhabitat-1.0.10.dist-info/licenses/LICENSE,sha256=D4fg30ctUGnCJlWu3ONv5-V8JE1v3ctakoJTcVjsJlg,1072
4
+ pyhabitat-1.0.10.dist-info/METADATA,sha256=NgnZUKS9GsVT9e_sKbhzekLes5jrPTSMnvY5LhNfrnc,8819
5
+ pyhabitat-1.0.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
+ pyhabitat-1.0.10.dist-info/top_level.txt,sha256=zXYK44Qu8EqxUETREvd2diMUaB5JiGRErkwFaoLQnnI,10
7
+ pyhabitat-1.0.10.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- pyhabitat/__init__.py,sha256=fy1SRFXok05bCprjGMCXS5afw27iKBJCLeSQTuBjlRI,1101
2
- pyhabitat/environment.py,sha256=rteFLXko5VaxwgfQYRR7SBQaRygKqrNr0YjRYQ5mybo,18206
3
- pyhabitat-1.0.9.dist-info/licenses/LICENSE,sha256=D4fg30ctUGnCJlWu3ONv5-V8JE1v3ctakoJTcVjsJlg,1072
4
- pyhabitat-1.0.9.dist-info/METADATA,sha256=Th1AvU7Fvpy7WSaesAi1BMVoRcECPlWsmcWV2RGKgNA,8478
5
- pyhabitat-1.0.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
- pyhabitat-1.0.9.dist-info/top_level.txt,sha256=zXYK44Qu8EqxUETREvd2diMUaB5JiGRErkwFaoLQnnI,10
7
- pyhabitat-1.0.9.dist-info/RECORD,,