PyHelpers: an open-source toolkit for facilitating Python users' data manipulation tasks
Description
PyHelpers is an open-source Python package designed as a lite tool kit for facilitating data (pre)processing tasks. It provides a miscellaneous collection of easy-to-use Python functions/classes that can help with day-to-day reading/writing of file-like objects, manipulation of various types of data (e.g. geographical data and textual data) and communication with a SQL database.
This release:
1.2.6 (6 November 2020)
- Renamed two functions in the module geom:
- Reduced the number of essential dependencies for installing the package (see also the installation note).
- Enabled direct access to all functions/classes from importing the package without having to specifying the modules they reside in.
- Fixed a minor bug in the function fake_requests_headers() in the module ops.
Release history:
1.2.5 (12 October 2020)
- Renamed the function rm_dir() to delete_dir() in the module dir.
- Moved the function save_web_page_as_pdf() from the module text to store.
- Removed two functions from the module ops: get_variable_name() and get_variable_names().
- Improved the following function/class:
- save() in the module store;
- PostgreSQL in the module sql.
1.2.4 (7 September 2020)
- Improved the function fake_requests_headers() in the module ops.
1.2.3 (7 September 2020)
- Fixed a few bugs in the following functions/class:
- download_file_from_url() in the module ops;
- get_specific_filepath_info() in the module store;
- PostgreSQL in the module sql.
- Added a new function fake_requests_headers() to the module ops.
1.2.2 (18 July 2020)
- Improved the following functions:
- get_specific_filepath_info() in the module store;
- split_list() and get_all_values_from_nested_dict() in the module ops.
1.2.1 (1 July 2020)
Note that the release 1.2.0 had been permanently deleted.
- Integrated the module download into ops and made the following changes:
- renamed the function download() to download_file_from_url();
- added a new function convert_md_to_rst();
- improved the following functions: split_list_by_size(), split_list(), get_extreme_outlier_bounds(),
interquartile_range(), find_closest_date() and detect_nan_for_str_column().
- Moved the function save_web_page_as_pdf() from the module store to text.
- Improved the following functions/class:
- get_specific_filepath_info(), save_fig(), save_svg_as_emf(), seven_zip() and load_csr_matrix() in the module store;
- PostgreSQL in the module sql.
1.1.2 (30 May 2020)
Note that the release 1.1.1 had been permanently deleted.
- Renamed the following function/method:
- save_excel() to save_spreadsheet() in the module store;
- .disconnect() to .disconnect_database() of the class PostgreSQL in the module sql.
- Removed the function csr_matrix_to_dict() from the module text.
- Removed redundant parameters from functions in the module store.
- Improved the following functions by adding optional parameters:
- cd(), cdd(), cd_data and rm_dir() in the module dir;
- download() in the module download;
- save_svg_as_emf() and save_web_page_as_pdf() in the module store.
- Added new functions:
- to the module geom: sketch_square();
- to the module ops: create_rotation_matrix() and dict_to_dataframe();
- to the module store: save_multiple_spreadsheets(), load_multiple_spreadsheets(),
unzip(), seven_zip() and load_csr_matrix(); - to the module text: remove_punctuation(), count_words(), calculate_idf(), calculate_tf_idf(),
euclidean_distance_between_texts() and cosine_similarity_between_texts().
1.1.0 (22 April 2020)
- Made a few modifications to the class sql.PostgreSQL to speed up importing data into, and retrieving data from, a PostgreSQL database.
- Fixed a minor bug in the function text.find_matched_str().
- Improved the two modules store and text.
1.0.26 (12 March 2020)
- Fixed a few bugs in the module store.
1.0.25 (6 March 2020)
- Improved the functions, osgb36_to_wgs84() and wgs84_to_osgb36(), in the module geom.
1.0.24 (28 January 2020)
Note that the release 1.0.23 had been permanently deleted.
1.0.22 (27 January 2020)
- Renamed the function divide_list_into_chunks() to split_list_by_size() in the module ops.
- Added two new functions to the module ops: split_list() and split_iterable().
- Improved the following function/class:
- gdal_configurations() in the module settings;
- PostgreSQL in the module sql.
1.0.21 (20 January 2020)
- Added a new module sql.
- Added a new function detect_nan_for_str_column() to the module ops.
1.0.20 (7 January 2020)
- Fixed a few minor bugs in the module store.
1.0.19 (28 November 2019)
Note that the release 1.0.18 had been permanently deleted.
- Renamed the module misc to ops; moved the function csr_matrix_to_dict() to the module text.
- Fixed minor bugs:
- save_feather() and load_feather() in the module store;
- download() in the module download;
- mpl_preferences() in the module settings.
- Added new functions:
- show_square(), locate_square_vertices() and locate_square_vertices_calc() to the module geom;
- is_dirname() to the module dir.
- Improved the module store with modifications to the functions: save_pickle(), load_pickle(), save_json(), load_json() and save().
1.0.17 (10 September 2019)
- Improved the function rm_dir() in the module dir.
- Tidied up the code of the three modules: misc, geom and store.
1.0.16 (3 September 2019)
This is a release of a brand-new version.
Note that the initial releases (of early versions up to 1.0.15) had been permanently deleted.
Files
mikeqfu/pyhelpers-1.2.6.zip
Files
(392.5 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:8d7bf876e6cf5f584de265a31cca04e3
|
392.5 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/mikeqfu/pyhelpers/tree/1.2.6 (URL)