oafuncs 0.0.97.3__tar.gz → 0.0.97.5__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 (49) hide show
  1. oafuncs-0.0.97.5/MANIFEST.in +5 -0
  2. {oafuncs-0.0.97.3/oafuncs.egg-info → oafuncs-0.0.97.5}/PKG-INFO +80 -8
  3. oafuncs-0.0.97.5/README.md +131 -0
  4. oafuncs-0.0.97.5/oafuncs/_script/auto_optimized_parallel_executor.py +459 -0
  5. oafuncs-0.0.97.5/oafuncs/_script/parallel_example_usage.py +83 -0
  6. oafuncs-0.0.97.5/oafuncs/_script/replace_file_concent.py +151 -0
  7. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_file.py +30 -10
  8. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_nc.py +1 -1
  9. oafuncs-0.0.97.5/oafuncs/oa_tool/parallel.py +563 -0
  10. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5/oafuncs.egg-info}/PKG-INFO +80 -8
  11. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs.egg-info/SOURCES.txt +6 -3
  12. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/setup.py +9 -6
  13. oafuncs-0.0.97.3/MANIFEST.in +0 -4
  14. oafuncs-0.0.97.3/README.md +0 -60
  15. oafuncs-0.0.97.3/oafuncs/oa_tool/parallel.py +0 -90
  16. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/LICENSE.txt +0 -0
  17. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/__init__.py +0 -0
  18. {oafuncs-0.0.97.3/oafuncs/data_store → oafuncs-0.0.97.5/oafuncs/_data}/OAFuncs.png +0 -0
  19. {oafuncs-0.0.97.3/oafuncs/data_store → oafuncs-0.0.97.5/oafuncs/_data}/hycom_3hourly.png +0 -0
  20. {oafuncs-0.0.97.3/oafuncs/_nc_script → oafuncs-0.0.97.5/oafuncs/_script}/plot_dataset.py +0 -0
  21. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_cmap.py +0 -0
  22. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_data.py +0 -0
  23. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_down/User_Agent-list.txt +0 -0
  24. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_down/__init__.py +0 -0
  25. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_down/hycom_3hourly.py +0 -0
  26. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_down/hycom_3hourly_20250129.py +0 -0
  27. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_down/idm.py +0 -0
  28. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_down/literature.py +0 -0
  29. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_down/test_ua.py +0 -0
  30. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_down/user_agent.py +0 -0
  31. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_draw.py +0 -0
  32. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_help.py +0 -0
  33. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_model/__init__.py +0 -0
  34. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_model/roms/__init__.py +0 -0
  35. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_model/roms/test.py +0 -0
  36. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_model/wrf/__init__.py +0 -0
  37. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_model/wrf/little_r.py +0 -0
  38. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_python.py +0 -0
  39. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_sign/__init__.py +0 -0
  40. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_sign/meteorological.py +0 -0
  41. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_sign/ocean.py +0 -0
  42. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_sign/scientific.py +0 -0
  43. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_tool/__init__.py +0 -0
  44. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_tool/email.py +0 -0
  45. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs/oa_tool/time.py +0 -0
  46. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs.egg-info/dependency_links.txt +0 -0
  47. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs.egg-info/requires.txt +0 -0
  48. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/oafuncs.egg-info/top_level.txt +0 -0
  49. {oafuncs-0.0.97.3 → oafuncs-0.0.97.5}/setup.cfg +0 -0
@@ -0,0 +1,5 @@
1
+ include LICENSE.txt
2
+ include README.md
3
+ recursive-include oafuncs/_data *
4
+ recursive-include oafuncs/oa_down *.txt
5
+ recursive-include oafuncs/_script *.py
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: oafuncs
3
- Version: 0.0.97.3
3
+ Version: 0.0.97.5
4
4
  Summary: Oceanic and Atmospheric Functions
5
5
  Home-page: https://github.com/Industry-Pays/OAFuncs
6
6
  Author: Kun Liu
@@ -39,6 +39,7 @@ Dynamic: description
39
39
  Dynamic: description-content-type
40
40
  Dynamic: home-page
41
41
  Dynamic: license
42
+ Dynamic: license-file
42
43
  Dynamic: requires-dist
43
44
  Dynamic: requires-python
44
45
  Dynamic: summary
@@ -86,17 +87,88 @@ oafuncs.oa_help.use('query')
86
87
  ```
87
88
 
88
89
  ```shell
89
- # 此小板块于2024/12/26更新,仅为示例,不代表最新情况
90
+ # 此小板块于2025/03/16更新,仅为示例,不代表最新情况
90
91
  函数数量:
91
- 49
92
+ 62
92
93
  函数列表:
93
- ['MidpointNormalize', 'add_cartopy', 'add_gridlines', 'add_lonlat_unit', 'check_ncfile', 'choose_cmap', 'clear_folder', 'cmap2colors', 'convert_longitude', 'copy_file', 'create_cmap', 'create_cmap_rgbtxt', 'create_gif', 'download', 'download5doi', 'draw_time_range', 'extract5nc', 'fig_minus', 'file_size', 'find_file', 'get_time_list', 'get_ua', 'get_var', 'how_to_use', 'install_lib', 'interp_2d', 'link_file', 'make_folder', 'merge5nc', 'modify_var_attr', 'modify_var_value', 'nc_isel', 'plot_contourf', 'plot_contourf_cartopy', 'plot_contourf_lonlat', 'plot_quiver', 'query', 'remove', 'remove_empty_folder', 'rename_file', 'rename_var_or_dim', 'send', 'show', 'sign_in_love_ocean', 'sign_in_meteorological_home', 'sign_in_scientific_research', 'upgrade_lib', 'use', 'write2nc']
94
+ [
95
+ 'MidpointNormalize',
96
+ 'ParallelExecutor',
97
+ 'add_cartopy',
98
+ 'add_gridlines',
99
+ 'add_lonlat_unit',
100
+ 'check',
101
+ 'clear_folder',
102
+ 'contour',
103
+ 'contourf',
104
+ 'convert_longitude',
105
+ 'copy_file',
106
+ 'create',
107
+ 'create_rgbtxt',
108
+ 'data_record',
109
+ 'download',
110
+ 'download5doi',
111
+ 'downloader',
112
+ 'draw',
113
+ 'draw_time_range',
114
+ 'ending_record',
115
+ 'ensure_list',
116
+ 'extract',
117
+ 'fig_minus',
118
+ 'file_size',
119
+ 'find_file',
120
+ 'get',
121
+ 'get_days',
122
+ 'get_time_list',
123
+ 'get_ua',
124
+ 'get_var',
125
+ 'gif',
126
+ 'header_record',
127
+ 'how_to_use',
128
+ 'install_lib',
129
+ 'interp_2d',
130
+ 'interp_along_dim',
131
+ 'isel',
132
+ 'link_file',
133
+ 'log',
134
+ 'make_dir',
135
+ 'make_folder',
136
+ 'mask_shapefile',
137
+ 'mean_size',
138
+ 'merge',
139
+ 'modify',
140
+ 'query',
141
+ 'quiver',
142
+ 'remove',
143
+ 'remove_empty_folder',
144
+ 'rename',
145
+ 'rename_file',
146
+ 'save',
147
+ 'send',
148
+ 'show',
149
+ 'sign_in_love_ocean',
150
+ 'sign_in_meteorological_home',
151
+ 'sign_in_scientific_research',
152
+ 'tail_record',
153
+ 'test',
154
+ 'to_color',
155
+ 'upgrade_lib',
156
+ 'use'
157
+ ]
158
+ 同名函数:
159
+ ----------------------------------------
94
160
  模块全路径:
95
161
  oafuncs.oa_help.query
96
- 函数提示:
97
162
 
98
- description: 查看oafuncs模块的函数列表
99
- example: query()
163
+ Help on function query in module oafuncs.oa_help:
164
+
165
+ query()
166
+ Description:
167
+ Show the number of functions and the list of functions in the module.
168
+ Example:
169
+ query()
170
+
171
+ ----------------------------------------
100
172
  ```
101
173
 
102
174
  ## Structure
@@ -0,0 +1,131 @@
1
+ # oafuncs
2
+
3
+ ## Description
4
+
5
+ **Python Function**
6
+
7
+ ```text
8
+ In the field of geoscience, some commonly used and universal operations!
9
+
10
+ Just for the convenience of daily use, some complex operations are integrated into general functions.
11
+
12
+ The code will be optimized and updated from time to time, with additions, deletions, or modifications…
13
+
14
+ Existing functions will not be completely removed, they might just have a different function name, or the parameter passing might have been optimized…
15
+
16
+ Note: If there are any requirements, you can email to liukun0312@stu.ouc.edu.cn. Within my capabilities, I can consider implementing them.
17
+ ```
18
+
19
+ ## PyPI
20
+
21
+ ```html
22
+ https://pypi.org/project/oafuncs
23
+ ```
24
+
25
+ ## Github
26
+
27
+ ```html
28
+ https://github.com/Industry-Pays/OAFuncs
29
+ ```
30
+
31
+ ## Example
32
+
33
+ ```python
34
+ import oafuncs
35
+
36
+ # 查询当前所有可用函数
37
+ oafuncs.oa_help.query()
38
+ # 根据函数名获取使用方法
39
+ oafuncs.oa_help.use('query')
40
+ ```
41
+
42
+ ```shell
43
+ # 此小板块于2025/03/16更新,仅为示例,不代表最新情况
44
+ 函数数量:
45
+ 62
46
+ 函数列表:
47
+ [
48
+ 'MidpointNormalize',
49
+ 'ParallelExecutor',
50
+ 'add_cartopy',
51
+ 'add_gridlines',
52
+ 'add_lonlat_unit',
53
+ 'check',
54
+ 'clear_folder',
55
+ 'contour',
56
+ 'contourf',
57
+ 'convert_longitude',
58
+ 'copy_file',
59
+ 'create',
60
+ 'create_rgbtxt',
61
+ 'data_record',
62
+ 'download',
63
+ 'download5doi',
64
+ 'downloader',
65
+ 'draw',
66
+ 'draw_time_range',
67
+ 'ending_record',
68
+ 'ensure_list',
69
+ 'extract',
70
+ 'fig_minus',
71
+ 'file_size',
72
+ 'find_file',
73
+ 'get',
74
+ 'get_days',
75
+ 'get_time_list',
76
+ 'get_ua',
77
+ 'get_var',
78
+ 'gif',
79
+ 'header_record',
80
+ 'how_to_use',
81
+ 'install_lib',
82
+ 'interp_2d',
83
+ 'interp_along_dim',
84
+ 'isel',
85
+ 'link_file',
86
+ 'log',
87
+ 'make_dir',
88
+ 'make_folder',
89
+ 'mask_shapefile',
90
+ 'mean_size',
91
+ 'merge',
92
+ 'modify',
93
+ 'query',
94
+ 'quiver',
95
+ 'remove',
96
+ 'remove_empty_folder',
97
+ 'rename',
98
+ 'rename_file',
99
+ 'save',
100
+ 'send',
101
+ 'show',
102
+ 'sign_in_love_ocean',
103
+ 'sign_in_meteorological_home',
104
+ 'sign_in_scientific_research',
105
+ 'tail_record',
106
+ 'test',
107
+ 'to_color',
108
+ 'upgrade_lib',
109
+ 'use'
110
+ ]
111
+ 同名函数:
112
+ ----------------------------------------
113
+ 模块全路径:
114
+ oafuncs.oa_help.query
115
+
116
+ Help on function query in module oafuncs.oa_help:
117
+
118
+ query()
119
+ Description:
120
+ Show the number of functions and the list of functions in the module.
121
+ Example:
122
+ query()
123
+
124
+ ----------------------------------------
125
+ ```
126
+
127
+ ## Structure
128
+
129
+ <img title="" src="./oafuncs/data_store/OAFuncs.png" alt="">
130
+
131
+ <img title="OAFuncs" src="https://raw.githubusercontent.com/Industry-Pays/OAFuncs/main/oafuncs/data_store/OAFuncs.png" alt="OAFuncs">