thresholdfloor 0.2.1__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.1/src/thresholdfloor.egg-info → thresholdfloor-0.2.2}/PKG-INFO +1 -1
  2. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/pyproject.toml +1 -1
  3. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor/bundle.py +0 -16
  4. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2/src/thresholdfloor.egg-info}/PKG-INFO +1 -1
  5. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/LICENSE +0 -0
  6. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/MANIFEST.in +0 -0
  7. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/README.md +0 -0
  8. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/setup.cfg +0 -0
  9. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor/__init__.py +0 -0
  10. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor/aether_thresher.py +0 -0
  11. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor/assets_bundle.pkl +0 -0
  12. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor/elevation.py +0 -0
  13. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor/floor_sigil.py +0 -0
  14. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor/shadow_calibration.py +0 -0
  15. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor/shadow_simulation.py +0 -0
  16. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor/tests/__init__.py +0 -0
  17. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor/tests/test_geometric.py +0 -0
  18. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor/tests/test_solar.py +0 -0
  19. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor/tests/test_threshold.py +0 -0
  20. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor/threshold_floor.py +0 -0
  21. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor.egg-info/SOURCES.txt +0 -0
  22. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor.egg-info/dependency_links.txt +0 -0
  23. {thresholdfloor-0.2.1 → thresholdfloor-0.2.2}/src/thresholdfloor.egg-info/requires.txt +0 -0
  24. {thresholdfloor-0.2.1 → 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.1
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)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "thresholdfloor"
7
- version = "0.2.1"
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 = [
@@ -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.1
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)
File without changes
File without changes
File without changes