thresholdfloor 0.2.0__tar.gz → 0.2.2__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.
Files changed (24) hide show
  1. {thresholdfloor-0.2.0/src/thresholdfloor.egg-info → thresholdfloor-0.2.2}/PKG-INFO +2 -2
  2. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/pyproject.toml +2 -2
  3. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor/__init__.py +1 -1
  4. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor/bundle.py +0 -16
  5. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2/src/thresholdfloor.egg-info}/PKG-INFO +2 -2
  6. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor.egg-info/requires.txt +1 -1
  7. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/LICENSE +0 -0
  8. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/MANIFEST.in +0 -0
  9. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/README.md +0 -0
  10. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/setup.cfg +0 -0
  11. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor/aether_thresher.py +0 -0
  12. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor/assets_bundle.pkl +0 -0
  13. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor/elevation.py +0 -0
  14. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor/floor_sigil.py +0 -0
  15. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor/shadow_calibration.py +0 -0
  16. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor/shadow_simulation.py +0 -0
  17. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor/tests/__init__.py +0 -0
  18. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor/tests/test_geometric.py +0 -0
  19. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor/tests/test_solar.py +0 -0
  20. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor/tests/test_threshold.py +0 -0
  21. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor/threshold_floor.py +0 -0
  22. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor.egg-info/SOURCES.txt +0 -0
  23. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor.egg-info/dependency_links.txt +0 -0
  24. {thresholdfloor-0.2.0 → thresholdfloor-0.2.2}/src/thresholdfloor.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: thresholdfloor
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: A floor below for tuning to what's above
5
5
  Author: WitchMithras
6
6
  License: Proprietary (staging)
@@ -16,7 +16,7 @@ Requires-Dist: numpy>=1.21.0
16
16
  Requires-Dist: Pillow>=9.0.0
17
17
  Requires-Dist: cryptography>=40.0.0
18
18
  Requires-Dist: scipy>=1.9.0
19
- Requires-Dist: dotenv>=0.19.0
19
+ Requires-Dist: python-dotenv>=0.19.0
20
20
  Dynamic: license-file
21
21
 
22
22
  # ThresholdFloor
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "thresholdfloor"
7
- version = "0.2.0"
7
+ version = "0.2.2"
8
8
  description = "A floor below for tuning to what's above"
9
9
  requires-python = ">=3.11"
10
10
  dependencies = [
@@ -17,7 +17,7 @@ dependencies = [
17
17
  "Pillow>=9.0.0",
18
18
  "cryptography>=40.0.0",
19
19
  "scipy>=1.9.0",
20
- "dotenv>=0.19.0"
20
+ "python-dotenv>=0.19.0"
21
21
  ]
22
22
  readme = "README.md"
23
23
  authors = [{ name = "WitchMithras" }]
@@ -13,7 +13,7 @@ Dependencies:
13
13
  - skyfieldcomm: Sign offsets and celestial markers
14
14
  """
15
15
 
16
- __version__ = "0.1.9"
16
+ __version__ = "0.2.1"
17
17
  __author__ = "WitchMithras"
18
18
 
19
19
  from typing import Optional, Tuple, List, Dict, Any
@@ -7,22 +7,6 @@ import importlib.resources as res
7
7
  ASSET_BYTES = {}
8
8
  _LOADED = False
9
9
 
10
- def _save_image_bundle_and_or_disk(img: Image.Image, out_path: Optional[str] = None, bundle_key: Optional[str] = None, fmt: str = "PNG") -> str:
11
- """
12
- If both out_path and bundle_key are given, writes both.
13
- Returns a string key/path preferring bundle_key if provided, else out_path.
14
- """
15
- if out_path:
16
- out_dir = os.path.dirname(out_path)
17
- if out_dir and not os.path.exists(out_dir):
18
- os.makedirs(out_dir, exist_ok=True)
19
- img.save(out_path, format=fmt)
20
-
21
- if bundle_key:
22
- bundle_put_image(bundle_key, img, fmt=fmt)
23
-
24
- return bundle_key or (out_path or "")
25
-
26
10
  def _bundle_load():
27
11
  global ASSET_BYTES, _LOADED
28
12
  if _LOADED:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: thresholdfloor
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: A floor below for tuning to what's above
5
5
  Author: WitchMithras
6
6
  License: Proprietary (staging)
@@ -16,7 +16,7 @@ Requires-Dist: numpy>=1.21.0
16
16
  Requires-Dist: Pillow>=9.0.0
17
17
  Requires-Dist: cryptography>=40.0.0
18
18
  Requires-Dist: scipy>=1.9.0
19
- Requires-Dist: dotenv>=0.19.0
19
+ Requires-Dist: python-dotenv>=0.19.0
20
20
  Dynamic: license-file
21
21
 
22
22
  # ThresholdFloor
@@ -7,4 +7,4 @@ numpy>=1.21.0
7
7
  Pillow>=9.0.0
8
8
  cryptography>=40.0.0
9
9
  scipy>=1.9.0
10
- dotenv>=0.19.0
10
+ python-dotenv>=0.19.0
File without changes
File without changes
File without changes