BERATools 0.1.1__tar.gz → 0.1.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 (45) hide show
  1. {beratools-0.1.1 → beratools-0.1.2}/PKG-INFO +1 -1
  2. beratools-0.1.2/beratools/__init__.py +8 -0
  3. {beratools-0.1.1 → beratools-0.1.2}/beratools/gui/main.py +3 -7
  4. {beratools-0.1.1 → beratools-0.1.2}/beratools/tools/canopy_threshold_relative.py +9 -6
  5. {beratools-0.1.1 → beratools-0.1.2}/pyproject.toml +5 -1
  6. beratools-0.1.1/beratools/__init__.py +0 -3
  7. beratools-0.1.1/beratools/core/__init__.py +0 -0
  8. beratools-0.1.1/beratools/gui/__init__.py +0 -11
  9. beratools-0.1.1/beratools/tools/__init__.py +0 -7
  10. {beratools-0.1.1 → beratools-0.1.2}/.gitignore +0 -0
  11. {beratools-0.1.1 → beratools-0.1.2}/LICENSE +0 -0
  12. {beratools-0.1.1 → beratools-0.1.2}/README.md +0 -0
  13. {beratools-0.1.1 → beratools-0.1.2}/beratools/core/algo_centerline.py +0 -0
  14. {beratools-0.1.1 → beratools-0.1.2}/beratools/core/algo_common.py +0 -0
  15. {beratools-0.1.1 → beratools-0.1.2}/beratools/core/algo_cost.py +0 -0
  16. {beratools-0.1.1 → beratools-0.1.2}/beratools/core/algo_dijkstra.py +0 -0
  17. {beratools-0.1.1 → beratools-0.1.2}/beratools/core/algo_footprint_rel.py +0 -0
  18. {beratools-0.1.1 → beratools-0.1.2}/beratools/core/algo_line_grouping.py +0 -0
  19. {beratools-0.1.1 → beratools-0.1.2}/beratools/core/algo_merge_lines.py +0 -0
  20. {beratools-0.1.1 → beratools-0.1.2}/beratools/core/algo_split_with_lines.py +0 -0
  21. {beratools-0.1.1 → beratools-0.1.2}/beratools/core/algo_vertex_optimization.py +0 -0
  22. {beratools-0.1.1 → beratools-0.1.2}/beratools/core/constants.py +0 -0
  23. {beratools-0.1.1 → beratools-0.1.2}/beratools/core/logger.py +0 -0
  24. {beratools-0.1.1 → beratools-0.1.2}/beratools/core/tool_base.py +0 -0
  25. {beratools-0.1.1 → beratools-0.1.2}/beratools/gui/assets/BERALogo.png +0 -0
  26. {beratools-0.1.1 → beratools-0.1.2}/beratools/gui/assets/beratools.json +0 -0
  27. {beratools-0.1.1 → beratools-0.1.2}/beratools/gui/assets/closed.gif +0 -0
  28. {beratools-0.1.1 → beratools-0.1.2}/beratools/gui/assets/closed.png +0 -0
  29. {beratools-0.1.1 → beratools-0.1.2}/beratools/gui/assets/gui.json +0 -0
  30. {beratools-0.1.1 → beratools-0.1.2}/beratools/gui/assets/open.gif +0 -0
  31. {beratools-0.1.1 → beratools-0.1.2}/beratools/gui/assets/open.png +0 -0
  32. {beratools-0.1.1 → beratools-0.1.2}/beratools/gui/assets/tool.gif +0 -0
  33. {beratools-0.1.1 → beratools-0.1.2}/beratools/gui/assets/tool.png +0 -0
  34. {beratools-0.1.1 → beratools-0.1.2}/beratools/gui/bt_data.py +0 -0
  35. {beratools-0.1.1 → beratools-0.1.2}/beratools/gui/bt_gui_main.py +0 -0
  36. {beratools-0.1.1 → beratools-0.1.2}/beratools/gui/tool_widgets.py +0 -0
  37. {beratools-0.1.1 → beratools-0.1.2}/beratools/tools/centerline.py +0 -0
  38. {beratools-0.1.1 → beratools-0.1.2}/beratools/tools/check_seed_line.py +0 -0
  39. {beratools-0.1.1 → beratools-0.1.2}/beratools/tools/common.py +0 -0
  40. {beratools-0.1.1 → beratools-0.1.2}/beratools/tools/line_footprint_absolute.py +0 -0
  41. {beratools-0.1.1 → beratools-0.1.2}/beratools/tools/line_footprint_fixed.py +0 -0
  42. {beratools-0.1.1 → beratools-0.1.2}/beratools/tools/line_footprint_functions.py +0 -0
  43. {beratools-0.1.1 → beratools-0.1.2}/beratools/tools/line_footprint_relative.py +0 -0
  44. {beratools-0.1.1 → beratools-0.1.2}/beratools/tools/tool_template.py +0 -0
  45. {beratools-0.1.1 → beratools-0.1.2}/beratools/tools/vertex_optimization.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: BERATools
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: An advanced forest line feature analysis platform
5
5
  Project-URL: Homepage, https://github.com/appliedgrg/beratools
6
6
  Author-email: AppliedGRG <appliedgrg@gmail.com>, Richard Zeng <richardqzeng@gmail.com>
@@ -0,0 +1,8 @@
1
+ __author__ = """AppliedGRG"""
2
+ __email__ = 'appliedgrg@gmail.com'
3
+ __version__ = '0.1.0'
4
+ __license__ = "MIT"
5
+ __copyright__ = "Copyright (c) AppliedGRG"
6
+ __status__ = "Pre-Alpha"
7
+ __url__ = "https://github.com/appliedgrg/beratools"
8
+ __all__ = ["core", "tools", "gui"]
@@ -13,15 +13,11 @@ Description:
13
13
  Main entry point of BERA Tools.
14
14
  """
15
15
 
16
- import sys
17
- from pathlib import Path
16
+ from beratools.gui.bt_gui_main import runner
18
17
 
19
- if __name__ == "__main__":
20
- current_file = Path(__file__).resolve()
21
- btool_dir = current_file.parents[2]
22
- sys.path.insert(0, btool_dir.as_posix())
23
18
 
24
- from beratools.gui.bt_gui_main import runner
19
+ def gui_main():
20
+ runner()
25
21
 
26
22
  if __name__ == "__main__":
27
23
  runner()
@@ -1,16 +1,19 @@
1
+ import argparse
2
+ import json
3
+ import math
1
4
  import os.path
5
+ import sys
6
+ import time
2
7
  from multiprocessing.pool import Pool
8
+ from pathlib import Path
9
+
3
10
  import geopandas as gpd
4
- import json
5
- import argparse
6
- import time
7
- import pandas as pd
8
11
  import numpy as np
12
+ import pandas as pd
9
13
  import shapely
14
+
10
15
  from beratools.core.constants import *
11
16
  from beratools.tools.common import *
12
- import sys
13
- import math
14
17
 
15
18
 
16
19
  class OperationCancelledException(Exception):
@@ -54,7 +54,7 @@ dev = [
54
54
  ]
55
55
 
56
56
  [project.scripts]
57
- BERATools = "beratools.gui:gui_main"
57
+ BERATools = "beratools.gui.main:gui_main"
58
58
 
59
59
  [project.urls]
60
60
  Homepage = "https://github.com/appliedgrg/beratools"
@@ -62,6 +62,10 @@ Homepage = "https://github.com/appliedgrg/beratools"
62
62
  [tool.hatch.version]
63
63
  source = "vcs"
64
64
 
65
+ [tool.hatch.version.raw-options]
66
+ local_scheme = "no-local-version"
67
+ version_scheme = "post-release"
68
+
65
69
  [tool.hatch.build.targets.sdist]
66
70
  include = ["/beratools"]
67
71
 
@@ -1,3 +0,0 @@
1
- __author__ = """AppliedGRG"""
2
- __email__ = 'appliedgrg@gmail.com'
3
- __version__ = '0.1.0'
File without changes
@@ -1,11 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
-
3
- """Top-level package for BERA Tools."""
4
- from beratools.gui.bt_gui_main import *
5
-
6
- name = 'gui'
7
-
8
-
9
- def gui_main():
10
- runner()
11
-
@@ -1,7 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
-
3
- # import os
4
- # import sys
5
- # sys.path.append(os.path.dirname(os.path.realpath(__file__)))
6
-
7
- name = 'tools'
File without changes
File without changes
File without changes