voxcity 0.7.0__py3-none-any.whl → 1.0.2__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.
Files changed (42) hide show
  1. voxcity/__init__.py +14 -14
  2. voxcity/exporter/__init__.py +12 -12
  3. voxcity/exporter/cityles.py +633 -633
  4. voxcity/exporter/envimet.py +733 -728
  5. voxcity/exporter/magicavoxel.py +333 -333
  6. voxcity/exporter/netcdf.py +238 -238
  7. voxcity/exporter/obj.py +1480 -1480
  8. voxcity/generator/__init__.py +47 -44
  9. voxcity/generator/api.py +721 -675
  10. voxcity/generator/grids.py +381 -379
  11. voxcity/generator/io.py +94 -94
  12. voxcity/generator/pipeline.py +282 -282
  13. voxcity/generator/update.py +429 -0
  14. voxcity/generator/voxelizer.py +18 -6
  15. voxcity/geoprocessor/__init__.py +75 -75
  16. voxcity/geoprocessor/draw.py +1488 -1219
  17. voxcity/geoprocessor/merge_utils.py +91 -91
  18. voxcity/geoprocessor/mesh.py +806 -806
  19. voxcity/geoprocessor/network.py +708 -708
  20. voxcity/geoprocessor/raster/buildings.py +435 -428
  21. voxcity/geoprocessor/raster/export.py +93 -93
  22. voxcity/geoprocessor/raster/landcover.py +5 -2
  23. voxcity/geoprocessor/utils.py +824 -824
  24. voxcity/models.py +113 -113
  25. voxcity/simulator/solar/__init__.py +66 -43
  26. voxcity/simulator/solar/integration.py +336 -336
  27. voxcity/simulator/solar/sky.py +668 -0
  28. voxcity/simulator/solar/temporal.py +792 -434
  29. voxcity/utils/__init__.py +11 -0
  30. voxcity/utils/classes.py +194 -0
  31. voxcity/utils/lc.py +80 -39
  32. voxcity/utils/shape.py +230 -0
  33. voxcity/visualizer/__init__.py +24 -24
  34. voxcity/visualizer/builder.py +43 -43
  35. voxcity/visualizer/grids.py +141 -141
  36. voxcity/visualizer/maps.py +187 -187
  37. voxcity/visualizer/renderer.py +1145 -928
  38. {voxcity-0.7.0.dist-info → voxcity-1.0.2.dist-info}/METADATA +90 -49
  39. {voxcity-0.7.0.dist-info → voxcity-1.0.2.dist-info}/RECORD +42 -38
  40. {voxcity-0.7.0.dist-info → voxcity-1.0.2.dist-info}/WHEEL +0 -0
  41. {voxcity-0.7.0.dist-info → voxcity-1.0.2.dist-info}/licenses/AUTHORS.rst +0 -0
  42. {voxcity-0.7.0.dist-info → voxcity-1.0.2.dist-info}/licenses/LICENSE +0 -0
voxcity/__init__.py CHANGED
@@ -1,14 +1,14 @@
1
- __author__ = """Kunihiko Fujiwara"""
2
- __email__ = 'kunihiko@nus.edu.sg'
3
- __version__ = '0.1.0'
4
-
5
- # Keep package __init__ lightweight to avoid import-time failures.
6
- # Re-exports of heavy modules/classes are intentionally omitted here.
7
- # Downstream modules should import directly from their subpackages, e.g.:
8
- # from voxcity.geoprocessor.draw import draw_rectangle_map_cityname
9
-
10
- __all__ = [
11
- "__author__",
12
- "__email__",
13
- "__version__",
14
- ]
1
+ __author__ = """Kunihiko Fujiwara"""
2
+ __email__ = 'kunihiko@nus.edu.sg'
3
+ __version__ = '0.1.0'
4
+
5
+ # Keep package __init__ lightweight to avoid import-time failures.
6
+ # Re-exports of heavy modules/classes are intentionally omitted here.
7
+ # Downstream modules should import directly from their subpackages, e.g.:
8
+ # from voxcity.geoprocessor.draw import draw_rectangle_map_cityname
9
+
10
+ __all__ = [
11
+ "__author__",
12
+ "__email__",
13
+ "__version__",
14
+ ]
@@ -1,13 +1,13 @@
1
- from typing import Protocol, runtime_checkable
2
-
3
- from .envimet import *
4
- from .magicavoxel import *
5
- from .obj import *
6
- from .cityles import *
7
- from .netcdf import *
8
-
9
-
10
- @runtime_checkable
11
- class Exporter(Protocol):
12
- def export(self, obj, output_directory: str, base_filename: str): # pragma: no cover - protocol
1
+ from typing import Protocol, runtime_checkable
2
+
3
+ from .envimet import *
4
+ from .magicavoxel import *
5
+ from .obj import *
6
+ from .cityles import *
7
+ from .netcdf import *
8
+
9
+
10
+ @runtime_checkable
11
+ class Exporter(Protocol):
12
+ def export(self, obj, output_directory: str, base_filename: str): # pragma: no cover - protocol
13
13
  ...