Pyhelpers

Latest version: v1.5.2

Safety actively analyzes 621724 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

1.5.1

(*17 June 2023*)

**Notable [changes](https://github.com/mikeqfu/pyhelpers/compare/1.5.0...1.5.1) since [1.5.0](https://pypi.org/project/pyhelpers/1.5.0/):**

- Renamed arguments for the functions of saving/loading data within the module [store](https://github.com/mikeqfu/pyhelpers/commit/fb1629caf52af8382967d16dd1888b44da33d1b9).
- Modified the following functions:
- [save_spreadsheet()](https://github.com/mikeqfu/pyhelpers/commit/fb1629caf52af8382967d16dd1888b44da33d1b9?diff=unified#diff-5be4770b2702d34ea60ff69d076c06b6311d2de302323f4313f5829f857e7607L170-R265) in the module [store](https://github.com/mikeqfu/pyhelpers/blob/21d8271cc0cfc8e01ee183f3c7e192b02e047a73/pyhelpers/store.py);
- [find_similar_str()](https://github.com/mikeqfu/pyhelpers/commit/b99678ba7cf1e493a01b4461d4352264ccf15c1c) in the module [text](https://github.com/mikeqfu/pyhelpers/blob/21d8271cc0cfc8e01ee183f3c7e192b02e047a73/pyhelpers/text.py).

**For more information and detailed specifications, check out [PyHelpers 1.5.1 documentation](https://pyhelpers.readthedocs.io/en/1.5.1/).**

<br/>

1.5.0

(*8 June 2023*)

**Notable [changes](https://github.com/mikeqfu/pyhelpers/compare/1.4.6...1.5.0) since [1.4.6](https://pypi.org/project/pyhelpers/1.4.6/):**

- Improved the structure of the package and a few functions and class methods.
- Added the following new functions/classes:
- [path2linux()](https://github.com/mikeqfu/pyhelpers/blob/85d483e35f34ff8a766c203d920bf04cf7a82c00/pyhelpers/dirs.py#L251-L279), [validate_filename()](https://github.com/mikeqfu/pyhelpers/blob/85d483e35f34ff8a766c203d920bf04cf7a82c00/pyhelpers/dirs.py#L417-L480), [get_file_pathnames()](https://github.com/mikeqfu/pyhelpers/blob/85d483e35f34ff8a766c203d920bf04cf7a82c00/pyhelpers/dirs.py#L487-L549), and [check_files_exist()](https://github.com/mikeqfu/pyhelpers/blob/85d483e35f34ff8a766c203d920bf04cf7a82c00/pyhelpers/dirs.py#L552-L598) to the module [dir](https://github.com/mikeqfu/pyhelpers/blob/85d483e35f34ff8a766c203d920bf04cf7a82c00/pyhelpers/dirs.py);
- [GitHubFileDownloader()](https://github.com/mikeqfu/pyhelpers/blob/85d483e35f34ff8a766c203d920bf04cf7a82c00/pyhelpers/ops.py#L2313-L2567) and [func_running_time()](https://github.com/mikeqfu/pyhelpers/blob/85d483e35f34ff8a766c203d920bf04cf7a82c00/pyhelpers/ops.py#L481-L516) to the module [ops](https://github.com/mikeqfu/pyhelpers/blob/85d483e35f34ff8a766c203d920bf04cf7a82c00/pyhelpers/ops.py).

**For more information and detailed specifications, check out [PyHelpers 1.5.0 documentation](https://pyhelpers.readthedocs.io/en/1.5.0/).**

<br/>

1.4.6

(*26 February 2023*)

**Notable [changes](https://github.com/mikeqfu/pyhelpers/compare/1.4.5...1.4.6) since [1.4.5](https://pypi.org/project/pyhelpers/1.4.5/):**

- Improved the module [dbms](https://github.com/mikeqfu/pyhelpers/blob/6602ace1cf7c04731970c01e01c0ad29f45a4b62/pyhelpers/dbms.py) (for migrating to SQLAlchemy 2.0).
- Improved the following functions (with bug fixes):
- [cmap_discretisation()](https://github.com/mikeqfu/pyhelpers/commit/c268c3e70fe2812102d90c9739e9c9c636c42977) in the module [ops](https://github.com/mikeqfu/pyhelpers/blob/24f56435571f9a72810ee6eca63e22289b917335/pyhelpers/ops.py);
- [find_closest_points()](https://github.com/mikeqfu/pyhelpers/commit/117d5c3469a029e38ecf3d35d2a3d6f7c2eadaf2) in the module [geom](https://github.com/mikeqfu/pyhelpers/blob/24f56435571f9a72810ee6eca63e22289b917335/pyhelpers/geom.py);
- [save_web_page_as_pdf()](https://github.com/mikeqfu/pyhelpers/commit/e0ff2cfa36c0d4811d71274faff27fe8b5fb7a9d) in the module [store](https://github.com/mikeqfu/pyhelpers/blob/24f56435571f9a72810ee6eca63e22289b917335/pyhelpers/store.py).

**For more information and detailed specifications, check out [PyHelpers 1.4.6 documentation](https://pyhelpers.readthedocs.io/en/1.4.6/).**

<br/>

1.4.5

(*9 January 2023*)

**Notable [changes](https://github.com/mikeqfu/pyhelpers/compare/1.4.4...1.4.5) since [1.4.4](https://pypi.org/project/pyhelpers/1.4.4/):**

- Improved the classes [PostgreSQL](https://github.com/mikeqfu/pyhelpers/commit/6787602820b000bb92803761dad24879ac171fc2#diff-402d385f94d69cd9596a357c63ccdf2d12f55165339af5d3c1bd554fb5a5e146L527-R1501) and [MSSQL](https://github.com/mikeqfu/pyhelpers/commit/6787602820b000bb92803761dad24879ac171fc2#diff-402d385f94d69cd9596a357c63ccdf2d12f55165339af5d3c1bd554fb5a5e146L2339-R3241) in the module [dbms](https://github.com/mikeqfu/pyhelpers/blob/6602ace1cf7c04731970c01e01c0ad29f45a4b62/pyhelpers/dbms.py) (for migrating to SQLAlchemy 2.0).

**For more information and detailed specifications, check out [PyHelpers 1.4.5 documentation](https://pyhelpers.readthedocs.io/en/1.4.5/).**

<br/>

1.4.4

(*3 January 2023*)

**Notable [changes](https://github.com/mikeqfu/pyhelpers/compare/1.4.3...1.4.4) since [1.4.3](https://pypi.org/project/pyhelpers/1.4.3/):**

- Improved a few functions in the module [geom](https://github.com/mikeqfu/pyhelpers/blob/7ae9c172e940afea457f2ab7495980463173f6e5/pyhelpers/geom.py) (as per warnings by Shapely 2.0), including [drop_axis()](https://github.com/mikeqfu/pyhelpers/commit/5d3eac8904d5a56c0af2a78129377d357a4a712c#diff-dc4a0e4af0eb0e5a833d868a38bde78a7c5736be4021d9ddf03b97c6f0cc8af8L342-R352), [project_point_to_line()](https://github.com/mikeqfu/pyhelpers/commit/5d3eac8904d5a56c0af2a78129377d357a4a712c#diff-dc4a0e4af0eb0e5a833d868a38bde78a7c5736be4021d9ddf03b97c6f0cc8af8L420-R426), [get_coordinates_as_array()](https://github.com/mikeqfu/pyhelpers/commit/5d3eac8904d5a56c0af2a78129377d357a4a712c#diff-dc4a0e4af0eb0e5a833d868a38bde78a7c5736be4021d9ddf03b97c6f0cc8af8L634-R646), [find_closest_point()](https://github.com/mikeqfu/pyhelpers/commit/5d3eac8904d5a56c0af2a78129377d357a4a712c#diff-dc4a0e4af0eb0e5a833d868a38bde78a7c5736be4021d9ddf03b97c6f0cc8af8L717-R737) and [get_rectangle_centroid()](https://github.com/mikeqfu/pyhelpers/commit/5d3eac8904d5a56c0af2a78129377d357a4a712c#diff-dc4a0e4af0eb0e5a833d868a38bde78a7c5736be4021d9ddf03b97c6f0cc8af8L1175-R1214).

**For more information and detailed specifications, check out [PyHelpers 1.4.4 documentation](https://pyhelpers.readthedocs.io/en/1.4.4/).**

<br/>

1.4.3

(*11 November 2022*)

**Notable [changes](https://github.com/mikeqfu/pyhelpers/compare/1.4.2...1.4.3) since [1.4.2](https://pypi.org/project/pyhelpers/1.4.2/):**

- Improved the following functions (with bug fixes):
- [is_dir()](https://github.com/mikeqfu/pyhelpers/commit/b85f82929a2ebb65d21f9f264acbba077558c94d) in the module [dirs](https://github.com/mikeqfu/pyhelpers/blob/0acb1e1f15096820e2ed1ed892c0634450c60cea/pyhelpers/dirs.py);
- [find_closest_point()](https://github.com/mikeqfu/pyhelpers/commit/896f8c3980f3a60bd485b7b1a5abc1a95d4b8eaa#diff-dc4a0e4af0eb0e5a833d868a38bde78a7c5736be4021d9ddf03b97c6f0cc8af8L566), [find_closest_points()](https://github.com/mikeqfu/pyhelpers/commit/896f8c3980f3a60bd485b7b1a5abc1a95d4b8eaa#diff-dc4a0e4af0eb0e5a833d868a38bde78a7c5736be4021d9ddf03b97c6f0cc8af8R744), [project_point_to_line()](https://github.com/mikeqfu/pyhelpers/commit/896f8c3980f3a60bd485b7b1a5abc1a95d4b8eaa#diff-dc4a0e4af0eb0e5a833d868a38bde78a7c5736be4021d9ddf03b97c6f0cc8af8L353), [transform_geom_point_type()](https://github.com/mikeqfu/pyhelpers/commit/896f8c3980f3a60bd485b7b1a5abc1a95d4b8eaa#diff-dc4a0e4af0eb0e5a833d868a38bde78a7c5736be4021d9ddf03b97c6f0cc8af8L22) and [find_shortest_path()](https://github.com/mikeqfu/pyhelpers/commit/896f8c3980f3a60bd485b7b1a5abc1a95d4b8eaa#diff-dc4a0e4af0eb0e5a833d868a38bde78a7c5736be4021d9ddf03b97c6f0cc8af8L769) in the module [geom](https://github.com/mikeqfu/pyhelpers/blob/0acb1e1f15096820e2ed1ed892c0634450c60cea/pyhelpers/geom.py);
- [load_user_agent_strings()](https://github.com/mikeqfu/pyhelpers/commit/61ae56587aca0a8f06e3dfbb2bcacee27622af04), [cmap_discretisation()](https://github.com/mikeqfu/pyhelpers/commit/dc2f70c65e8a09106e70d381a22a234afe246c64#diff-9266f224c0227114f50836ba656288a96bd7cca831301fe025c5a7cf9f4ab45aL1449) and [colour_bar_index()](https://github.com/mikeqfu/pyhelpers/commit/dc2f70c65e8a09106e70d381a22a234afe246c64#diff-9266f224c0227114f50836ba656288a96bd7cca831301fe025c5a7cf9f4ab45aL1520) in the module [ops](https://github.com/mikeqfu/pyhelpers/blob/0acb1e1f15096820e2ed1ed892c0634450c60cea/pyhelpers/ops.py);
- [pd_preferences()](https://github.com/mikeqfu/pyhelpers/commit/92b3c1f2e5203076800b9f7d7f991310ae6cf836) in the module [settings](https://github.com/mikeqfu/pyhelpers/blob/0acb1e1f15096820e2ed1ed892c0634450c60cea/pyhelpers/settings.py);
- [save_spreadsheets()](https://github.com/mikeqfu/pyhelpers/commit/38bd7e3675e17e1864c7731b08fe065d8ceb0216) and [xlsx_to_csv()](https://github.com/mikeqfu/pyhelpers/commit/fb92561a090a161e14fcce64eeb90772ffc066e4) in the module [store](https://github.com/mikeqfu/pyhelpers/blob/0acb1e1f15096820e2ed1ed892c0634450c60cea/pyhelpers/store.py);
- [find_similar_str()](https://github.com/mikeqfu/pyhelpers/commit/d39e7ad04bc77ec84d0f371e9fa77b741baec618#diff-07b6d8c6102940f884435a3670eb5007494d5c51b4deb718ba79c3b267825127L557) and [remove_punctuation()](https://github.com/mikeqfu/pyhelpers/commit/d39e7ad04bc77ec84d0f371e9fa77b741baec618#diff-07b6d8c6102940f884435a3670eb5007494d5c51b4deb718ba79c3b267825127L63) in the module [text](https://github.com/mikeqfu/pyhelpers/blob/0acb1e1f15096820e2ed1ed892c0634450c60cea/pyhelpers/text.py).
- Added the following new functions:
- [get_coordinates_as_array()](https://github.com/mikeqfu/pyhelpers/commit/896f8c3980f3a60bd485b7b1a5abc1a95d4b8eaa#diff-dc4a0e4af0eb0e5a833d868a38bde78a7c5736be4021d9ddf03b97c6f0cc8af8R571-R662) to the module [geom](https://github.com/mikeqfu/pyhelpers/blob/0acb1e1f15096820e2ed1ed892c0634450c60cea/pyhelpers/geom.py);
- [get_relative_path()](https://github.com/mikeqfu/pyhelpers/commit/f5d0fb15521648ff4c526d3ed9575bfb9d9d0e7e) to the module [ops](https://github.com/mikeqfu/pyhelpers/blob/0acb1e1f15096820e2ed1ed892c0634450c60cea/pyhelpers/ops.py).

**For more information and detailed specifications, check out [PyHelpers 1.4.3 documentation](https://pyhelpers.readthedocs.io/en/1.4.3/).**

<br/>

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.