hydrotoolbox 2.0.5__tar.gz → 2.0.7__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 (85) hide show
  1. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/.github/workflows/clean-workflow-runs.yml +3 -3
  2. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/.gitignore +1 -0
  3. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/.pre-commit-config.yaml +9 -16
  4. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/CHANGELOG.md +4 -0
  5. {hydrotoolbox-2.0.5/src/hydrotoolbox.egg-info → hydrotoolbox-2.0.7}/PKG-INFO +13 -3
  6. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/README.rst +12 -2
  7. hydrotoolbox-2.0.7/VERSION +1 -0
  8. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/docs/function_summary.rst +5 -6
  9. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/pyproject.toml +2 -2
  10. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/setup.py +2 -1
  11. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/hydrotoolbox.py +2 -2
  12. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7/src/hydrotoolbox.egg-info}/PKG-INFO +13 -3
  13. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox.egg-info/requires.txt +1 -1
  14. hydrotoolbox-2.0.5/VERSION +0 -1
  15. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/.deepsource.toml +0 -0
  16. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/.github/workflows/python-package.yml +0 -0
  17. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/AUTHORS.rst +0 -0
  18. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/BADGES.rst +0 -0
  19. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/CONTRIBUTING.rst +0 -0
  20. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/LICENSE.txt +0 -0
  21. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/docs/Makefile +0 -0
  22. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/docs/authors.rst +0 -0
  23. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/docs/command_line.rst +0 -0
  24. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/docs/conf.py +0 -0
  25. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/docs/contributing.rst +0 -0
  26. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/docs/index.rst +0 -0
  27. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/docs/license.rst +0 -0
  28. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/docs/make.bat +0 -0
  29. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/docs/readme.rst +0 -0
  30. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/pytest.ini +0 -0
  31. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/setup.cfg +0 -0
  32. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/__init__.py +0 -0
  33. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/__init__.py +0 -0
  34. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/comparison.py +0 -0
  35. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/example.csv +0 -0
  36. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/Boughton.py +0 -0
  37. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/CM.py +0 -0
  38. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/Chapman.py +0 -0
  39. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/EWMA.py +0 -0
  40. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/Eckhardt.py +0 -0
  41. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/Fixed.py +0 -0
  42. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/Furey.py +0 -0
  43. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/LH.py +0 -0
  44. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/Local.py +0 -0
  45. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/Slide.py +0 -0
  46. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/UKIH.py +0 -0
  47. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/Willems.py +0 -0
  48. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/__init__.py +0 -0
  49. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/five_day.py +0 -0
  50. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/ihacres.py +0 -0
  51. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/methods/strict.py +0 -0
  52. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/param_estimate.py +0 -0
  53. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/separation.py +0 -0
  54. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow/utils.py +0 -0
  55. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/baseflow_sep.py +0 -0
  56. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/indices/indices.py +0 -0
  57. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox/utils.py +0 -0
  58. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox.egg-info/SOURCES.txt +0 -0
  59. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox.egg-info/dependency_links.txt +0 -0
  60. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox.egg-info/entry_points.txt +0 -0
  61. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/src/hydrotoolbox.egg-info/top_level.txt +0 -0
  62. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/BEC_test.sh +0 -0
  63. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data.csv +0 -0
  64. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_02239501.csv +0 -0
  65. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_boughton.csv +0 -0
  66. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_chapman.csv +0 -0
  67. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_cm.csv +0 -0
  68. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_eckhardt.csv +0 -0
  69. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_ewma.csv +0 -0
  70. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_five_day.csv +0 -0
  71. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_furey.csv +0 -0
  72. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_ihacres.csv +0 -0
  73. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_lh.csv +0 -0
  74. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_percentile_test.csv +0 -0
  75. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_strict.csv +0 -0
  76. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_ukih.csv +0 -0
  77. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_usgs_hysep_fixed.csv +0 -0
  78. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_usgs_hysep_local.csv +0 -0
  79. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_usgs_hysep_slide.csv +0 -0
  80. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/data_willems.csv +0 -0
  81. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/hydrotoolbox_indices.txt +0 -0
  82. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/run_test.sh +0 -0
  83. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/test_baseflow_sep.py +0 -0
  84. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/tsproc_hydrologic_indices.inp +0 -0
  85. {hydrotoolbox-2.0.5 → hydrotoolbox-2.0.7}/tests/tsproc_hydrologic_indices_percentile_test.inp +0 -0
@@ -3,9 +3,9 @@ name: clean-workflow-runs
3
3
 
4
4
  on: # yamllint disable-line rule:truthy
5
5
  push:
6
- branches: [master]
6
+ branches: [main]
7
7
  pull_request:
8
- branches: [master]
8
+ branches: [main]
9
9
  workflow_dispatch:
10
10
 
11
11
  jobs:
@@ -15,7 +15,7 @@ jobs:
15
15
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16
16
  steps:
17
17
  - name: Delete workflow runs
18
- uses: dmvict/clean-workflow-runs@v1.0.0
18
+ uses: dmvict/clean-workflow-runs@v1.2.1
19
19
 
20
20
  with:
21
21
  save_period: 5
@@ -34,3 +34,4 @@ __pycache__/*
34
34
  stats.dat
35
35
  .ropeproject
36
36
  _function_autosummary
37
+ debug_*
@@ -2,9 +2,6 @@
2
2
  # See https://pre-commit.com for more information
3
3
  # See https://pre-commit.com/hooks.html for more hooks
4
4
 
5
- default_language_version:
6
- python: python3.8
7
-
8
5
  repos:
9
6
  - repo: https://github.com/pre-commit/pre-commit-hooks
10
7
  rev: v4.4.0
@@ -26,19 +23,19 @@ repos:
26
23
  exclude: notebooks/tstoolbox_plot_bash.sh
27
24
 
28
25
  - repo: https://github.com/pappasam/toml-sort
29
- rev: v0.22.3
26
+ rev: v0.23.1
30
27
  hooks:
31
28
  - id: toml-sort-fix
32
29
  args: [--in-place, --spaces-indent-inline-array, '4']
33
30
 
34
31
  - repo: https://github.com/adrienverge/yamllint.git
35
- rev: v1.29.0
32
+ rev: v1.32.0
36
33
  hooks:
37
34
  - id: yamllint
38
35
  args: [--format, parsable, --strict]
39
36
 
40
37
  - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
41
- rev: 0.2.2
38
+ rev: 0.2.3
42
39
  hooks:
43
40
  - id: yamlfmt
44
41
 
@@ -55,9 +52,10 @@ repos:
55
52
  args: [--indent-size, '4']
56
53
 
57
54
  - repo: https://github.com/psf/black
58
- rev: 23.1.0
55
+ rev: 23.7.0
59
56
  hooks:
60
57
  - id: black
58
+ - id: black-jupyter
61
59
 
62
60
  - repo: https://github.com/pycqa/isort
63
61
  rev: 5.12.0
@@ -74,29 +72,24 @@ repos:
74
72
  types: [pyi]
75
73
  args: [--profile, black, --filter-files]
76
74
 
77
- - repo: https://github.com/dfm/black_nbconvert
78
- rev: v0.4.0
79
- hooks:
80
- - id: black_nbconvert
81
-
82
75
  - repo: https://github.com/asottile/blacken-docs
83
- rev: 1.13.0
76
+ rev: 1.15.0
84
77
  hooks:
85
78
  - id: blacken-docs
86
79
 
87
80
  - repo: https://github.com/asottile/pyupgrade
88
- rev: v3.3.1
81
+ rev: v3.9.0
89
82
  hooks:
90
83
  - id: pyupgrade
91
84
 
92
85
  - repo: https://github.com/commitizen-tools/commitizen
93
- rev: v2.41.0
86
+ rev: 3.5.3
94
87
  hooks:
95
88
  - id: commitizen
96
89
  stages: [commit-msg]
97
90
 
98
91
  - repo: https://github.com/mwouts/jupytext
99
- rev: v1.14.4
92
+ rev: v1.14.7
100
93
  hooks:
101
94
  - id: jupytext
102
95
  args: [--from, ipynb, --to, auto:percent, --sync]
@@ -1,3 +1,7 @@
1
+ ## v2.0.7 (2023-07-24)
2
+
3
+ ## v2.0.6 (2023-04-29)
4
+
1
5
  ## v2.0.5 (2023-02-14)
2
6
 
3
7
  ### Refactor
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hydrotoolbox
3
- Version: 2.0.5
3
+ Version: 2.0.7
4
4
  Summary: Command line script and Python library for analysis of flow time-series.
5
5
  Author-email: Tim Cera <tim@cerazone.net>
6
6
  License: BSD-3-Clause
@@ -71,8 +71,18 @@ Requirements
71
71
 
72
72
  Installation
73
73
  ------------
74
- Should be as easy as running ``pip install hydrotoolbox``
75
- at any command line.
74
+ pip
75
+ ~~~
76
+ .. code-block:: bash
77
+
78
+ pip install hydrotoolbox
79
+
80
+ conda
81
+ ~~~~~
82
+ .. code-block:: bash
83
+
84
+ conda install -c conda-forge hydrotoolbox
85
+
76
86
 
77
87
  Usage - Command Line
78
88
  --------------------
@@ -40,8 +40,18 @@ Requirements
40
40
 
41
41
  Installation
42
42
  ------------
43
- Should be as easy as running ``pip install hydrotoolbox``
44
- at any command line.
43
+ pip
44
+ ~~~
45
+ .. code-block:: bash
46
+
47
+ pip install hydrotoolbox
48
+
49
+ conda
50
+ ~~~~~
51
+ .. code-block:: bash
52
+
53
+ conda install -c conda-forge hydrotoolbox
54
+
45
55
 
46
56
  Usage - Command Line
47
57
  --------------------
@@ -0,0 +1 @@
1
+ 2.0.7
@@ -6,7 +6,6 @@ Python API Function Summary
6
6
  .. autosummary::
7
7
  :toctree: _function_autosummary
8
8
 
9
- hydrotoolbox.about
10
9
  hydrotoolbox.baseflow_sep.boughton
11
10
  hydrotoolbox.baseflow_sep.chapman
12
11
  hydrotoolbox.baseflow_sep.cm
@@ -22,8 +21,8 @@ Python API Function Summary
22
21
  hydrotoolbox.baseflow_sep.usgs_hysep_local
23
22
  hydrotoolbox.baseflow_sep.usgs_hysep_slide
24
23
  hydrotoolbox.baseflow_sep.willems
25
- hydrotoolbox.hydrotoolbox.exceedance_time
26
- hydrotoolbox.hydrotoolbox.flow_duration
27
- hydrotoolbox.hydrotoolbox.indices
28
- hydrotoolbox.hydrotoolbox.recession
29
- hydrotoolbox.hydrotoolbox.storm_events
24
+ hydrotoolbox.exceedance_time
25
+ hydrotoolbox.flow_duration
26
+ hydrotoolbox.indices
27
+ hydrotoolbox.recession
28
+ hydrotoolbox.storm_events
@@ -14,7 +14,7 @@ readme = "README.rst"
14
14
  description = "Command line script and Python library for analysis of flow time-series."
15
15
  dependencies = [
16
16
  "cltoolbox >= 1.0.0",
17
- "toolbox_utils >= 3.0.0, < 4.0.0",
17
+ "toolbox_utils >= 5.0.0, < 6.0.0",
18
18
  "pydantic"
19
19
  ]
20
20
  authors = [
@@ -97,7 +97,7 @@ ignore = [
97
97
  name = "cz_conventional_commits"
98
98
  tag_format = "v$version"
99
99
  update_changelog_on_bump = true
100
- version = "2.0.5"
100
+ version = "2.0.7"
101
101
  version_files = ["VERSION"]
102
102
 
103
103
  [tool.isort]
@@ -13,7 +13,8 @@ if sys.argv[-1] == "publish":
13
13
  subprocess.run(shlex.split("cleanpy ."), check=True)
14
14
  subprocess.run(shlex.split("python setup.py sdist"), check=True)
15
15
  subprocess.run(
16
- shlex.split(f"twine upload dist/{pkg_name}-{version}.tar.gz"), check=True
16
+ shlex.split(f"twine upload --skip-existing dist/{pkg_name}-{version}.tar.gz"),
17
+ check=True,
17
18
  )
18
19
  sys.exit()
19
20
 
@@ -652,8 +652,7 @@ def _strict_cli(
652
652
 
653
653
  Parameters
654
654
  ----------
655
- input_ts
656
- Streamflow
655
+ ${input_ts}
657
656
  ${columns}
658
657
  ${source_units}
659
658
  ${start_date}
@@ -665,6 +664,7 @@ def _strict_cli(
665
664
  ${index_type}
666
665
  ${names}
667
666
  ${target_units}
667
+ ${print_input}
668
668
  ${tablefmt}
669
669
  """
670
670
  tsutils.printiso(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hydrotoolbox
3
- Version: 2.0.5
3
+ Version: 2.0.7
4
4
  Summary: Command line script and Python library for analysis of flow time-series.
5
5
  Author-email: Tim Cera <tim@cerazone.net>
6
6
  License: BSD-3-Clause
@@ -71,8 +71,18 @@ Requirements
71
71
 
72
72
  Installation
73
73
  ------------
74
- Should be as easy as running ``pip install hydrotoolbox``
75
- at any command line.
74
+ pip
75
+ ~~~
76
+ .. code-block:: bash
77
+
78
+ pip install hydrotoolbox
79
+
80
+ conda
81
+ ~~~~~
82
+ .. code-block:: bash
83
+
84
+ conda install -c conda-forge hydrotoolbox
85
+
76
86
 
77
87
  Usage - Command Line
78
88
  --------------------
@@ -1,5 +1,5 @@
1
1
  cltoolbox>=1.0.0
2
- toolbox_utils<4.0.0,>=3.0.0
2
+ toolbox_utils<6.0.0,>=5.0.0
3
3
  pydantic
4
4
 
5
5
  [dev]
@@ -1 +0,0 @@
1
- 2.0.5
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes