Recent Releases of pyhelpers
pyhelpers - 2.2.0
Notable changes since 2.1.0:
- Code enhancements: Refactored multiple submodules for better maintainability.
- Testing: Improved test cases and updated test data for better coverage.
- Bug fixes: Fixed various issues.
- Documentation: Enhanced docstrings for clarity.
For more information and detailed specifications, check out the PyHelpers 2.2.0 documentation.
- Python
Published by mikeqfu about 1 year ago
pyhelpers - 2.1.0
Notable changes since 2.0.0:
- Resolved several identified issues for improved stability.
- Introduced new features and fixed various bugs.
- Deployed GitHub Pages as an alternative for documentation hosting to Read the Docs.
For more information and detailed specifications, check out the PyHelpers 2.1.0 documentation.
- Python
Published by mikeqfu over 1 year ago
pyhelpers - 2.0.0
Notable changes since 1.5.2:
- Major Release: Version 2.0.0 features significant improvements to code and docstrings.
- Code enhancements: Optimised performance and refactored core modules for better readability and maintainability.
- Bug fixes: Resolved issues identified in practical use.
- License Update: This new release is re-licensed under the MIT License, providing more clarity, flexibility and usability.
For more information and detailed specifications, check out the PyHelpers 2.0.0 documentation.
- Python
Published by mikeqfu almost 2 years ago
pyhelpers - 1.5.2
Notable changes since 1.5.1:
- Turned the module dbms into a sub-package.
For more information and detailed specifications, check out PyHelpers 1.5.2 documentation.
- Python
Published by mikeqfu over 2 years ago
pyhelpers - 1.5.1
Notable changes since 1.5.0:
- Renamed arguments for the functions of saving/loading data within the module store.
- Modified the following functions:
- save_spreadsheet() in the module store;
- findsimilarstr() in the module text.
For more information and detailed specifications, check out PyHelpers 1.5.1 documentation.
- Python
Published by mikeqfu almost 3 years ago
pyhelpers - 1.5.0
Notable changes since 1.4.6:
- Improved the structure of the package and a few functions and class methods.
- Added the following new functions/classes:
- path2linux(), validate_filename(), getfilepathnames(), and checkfilesexist() to the module dir;
- GitHubFileDownloader() and funcrunningtime() to the module ops.
For more information and detailed specifications, check out PyHelpers 1.5.0 documentation.
- Python
Published by mikeqfu almost 3 years ago
pyhelpers - 1.4.6
Notable changes since 1.4.5:
- Improved the module dbms (for migrating to SQLAlchemy 2.0).
- Improved the following functions (with bug fixes):
- cmap_discretisation() in the module ops;
- findclosestpoints() in the module geom;
- savewebpageaspdf() in the module store.
For more information and detailed specifications, check out PyHelpers 1.4.6 documentation.
- Python
Published by mikeqfu over 3 years ago
pyhelpers - 1.4.5
Notable changes since 1.4.4:
- Improved the classes PostgreSQL and MSSQL in the module dbms (for migrating to SQLAlchemy 2.0).
For more information and detailed specifications, check out PyHelpers 1.4.5 documentation.
- Python
Published by mikeqfu over 3 years ago
pyhelpers - 1.4.4
Notable changes since 1.4.3:
- Improved a few functions in the module geom (as per warnings by Shapely 2.0), including drop_axis(), projectpointto_line(), getcoordinatesas_array(), findclosestpoint() and getrectanglecentroid().
For more information and detailed specifications, check out PyHelpers 1.4.4 documentation.
- Python
Published by mikeqfu over 3 years ago
pyhelpers - 1.4.3
Notable changes since 1.4.2:
- Improved the following functions (with bug fixes):
- is_dir() in the module dirs;
- findclosestpoint(), findclosestpoints(), projectpointto_line(), transformgeompoint_type() and findshortestpath() in the module geom;
- loaduseragent_strings(), cmap_discretisation() and colourbarindex() in the module ops;
- pd_preferences() in the module settings;
- save_spreadsheets() and xlsxtocsv() in the module store;
- findsimilarstr() and remove_punctuation() in the module text.
- Added the following new functions:
- getcoordinatesas_array() to the module geom;
- getrelativepath() to the module ops.
For more information and detailed specifications, check out PyHelpers 1.4.3 documentation.
- Python
Published by mikeqfu over 3 years ago
pyhelpers - 1.4.2
Notable changes since 1.4.1:
- Renamed the parameter
methodtoenginefor the following functions:- findsimilarstr() in the module text;
- save_json(), load_json(), markdowntorst() and xlsxtocsv() in the module store.
- Improved the functions save_data(), load_csv(), load_data() in the module store.
For more information and detailed specifications, check out PyHelpers 1.4.2 documentation.
- Python
Published by mikeqfu almost 4 years ago
pyhelpers - 1.4.1
Notable changes since 1.4.0:
- Improved the following functions (with bug fixes):
- update_dict() in the module ops;
- gdal_configurations() and mpl_preferences() in the module settings.
For more information and detailed specifications, check out PyHelpers 1.4.1 documentation.
- Python
Published by mikeqfu almost 4 years ago
pyhelpers - 1.4.0
Notable changes since 1.3.4:
- Renamed the module dir to dirs (to avoid a possible redefinition of, or any potential conflict with, the Python built-in function dir()).
For more information and detailed specifications, check out PyHelpers 1.4.0 documentation.
- Python
Published by mikeqfu almost 4 years ago
pyhelpers - 1.3.4
Notable changes since 1.3.3:
- Enabled direct access to all modules through importing pyhelpers, and all functions/classes in each module through importing pyhelpers.
. - Improved the following function/class (with bug fixes):
- findsimilarstr() in the module text;
- PostgreSQL in the module dbms.
For more information and detailed specifications, check out PyHelpers 1.3.4 documentation.
- Python
Published by mikeqfu almost 4 years ago
pyhelpers - 1.3.3
Notable changes since 1.3.2:
- Improved the following class/functions with bug fixes:
- PostgreSQL in the module dbms;
- save_data() and savesvgas_emf() in the module store;
- delete_dir() in the module dir;
- euclideandistancebetween_texts() and cosinesimilaritybetween_texts() in the module text.
- Added a new class MSSQL to the module dbms.
For more information and detailed specifications, check out PyHelpers 1.3.3 documentation.
- Python
Published by mikeqfu about 4 years ago
pyhelpers - 1.3.2
Notable changes since 1.3.1:
- Added the following new functions:
- xlsxtocsv() to the module store;
- np_shift() to the module ops;
- projectpointto_line() and findshortestpath() to the module geom.
For more information and detailed specifications, check out PyHelpers 1.3.2 documentation.
- Python
Published by mikeqfu about 4 years ago
pyhelpers - 1.3.1
Notable changes since 1.3.0:
- Changed LICENSE to GPLv3+.
- Renamed the following functions:
- ~~save()~~ to save_data() in the module store;
- ~~getuseragent_strings()~~ to loaduseragent_strings() in the module ops.
- Improved the functions:
- remove_punctuation(), findsimilarstr() and convertmdto_rst() in the module text;
- merge_dicts() in the module ops.
- Added a few constants cached as the package/module is imported.
- Added the following new functions/methods:
- load_csv() and load_data() to the module store;
- numeralenglishto_arabic() to the module text;
- PostgreSQL.listschemanames() to the module dbms;
- find_executable() and compare_dicts() to the module ops.
For more information and detailed specifications, check out PyHelpers 1.3.1 documentation.
- Python
Published by mikeqfu over 4 years ago
pyhelpers - 1.3.0
Notable changes since 1.2.18:
- Renamed the module ~~sql~~ to dbms.
- Renamed the following functions:
- in the module dir:
- ~~validateinputdata_dir()~~ to validate_dir();
- in the module ops:
- ~~updatenesteddict()~~ to update_dict();
- ~~getallvaluesfromnested_dict()~~ to getdictvalues();
- ~~removemultiplekeysfromdict()~~ to removedictkeys();
- ~~instantiaterequestssession()~~ to initrequestssession().
- Improved the following functions/class:
- PostgreSQL in the module dbms (previously ~~sql~~);
- wgs84toosgb36() and osgb36towgs84() in the module geom.
- parse_size() (newly added), initrequestssession() and downloadfilefrom_url() in the module ops;
- load_json() in the module store;
- findsimilarstr() in the module text;
- Added the following functions to the module ops: parse_size(), getnumberof_chunks(), loopinpairs(), is_url() and updatedictkeys().
- Reduced the number of essential dependencies.
For more information and detailed specifications, check out PyHelpers 1.3.0 documentation.
- Python
Published by mikeqfu over 4 years ago
pyhelpers - 1.2.18
Notable changes since 1.2.17:
- Improved the module ops by:
- fixing the issue in fakerequestsheaders() that may occasionally raise IndexError;
- adding a new function getfakeuser_agent().
For more information and detailed specifications, check out PyHelpers 1.2.18 documentation.
- Python
Published by mikeqfu over 4 years ago
pyhelpers - 1.2.17
Notable changes since 1.2.16:
- Improved the function fakerequestsheaders() to avoid raising IndexError.
For more information and detailed specifications, check out PyHelpers 1.2.17 documentation.
- Python
Published by mikeqfu over 4 years ago
pyhelpers - 1.2.16
Notable changes since 1.2.15:
- Renamed the function ~~is_dirname()~~ to is_dir() in the module dir.
- Improved the following functions (with bug fixes):
- cd() in the module dir;
- findclosestpoints() in the module geom;
- confirmed(), swap_cols(), swap_rows(), fakerequestsheaders() and downloadfilefrom_url() in the module ops;
- all the functions in the module settings;
- savemultiplespreadsheets(), save_json() and load_json() in the module store;
- findsimilarstr() in the module text.
- Added the following new functions:
- gofromaltered_cwd() to the module dir;
- drop_axis() to the module geom;
- instantiaterequestssession() to the module ops;
- save_joblib() and load_joblib() to the module store.
For more information and detailed specifications, check out PyHelpers 1.2.16 documentation.
- Python
Published by mikeqfu over 4 years ago
pyhelpers - 1.2.15
Notable changes since 1.2.14:
- Improved the following functions/methods with bug fixes:
- findsimilarstr() and convertmdto_rst() in the module text;
- downloadfilefrom_url() in the module ops;
- savesvgas_emf() in the module store;
- PostgreSQL.import_data() and PostgreSQL.drop_schema() in the module sql.
- Added a new function is_downloadable() to the module ops.
For more information and detailed specifications, check out PyHelpers 1.2.15 documentation.
- Python
Published by mikeqfu about 5 years ago
pyhelpers - 1.2.12
Notable changes since 1.2.11:
- Resolved an issue that failed importing modules (after updating or reinstalling the package).
- Added a new function gpstoutc() to the module ops.
For more information and detailed specifications, check out PyHelpers 1.2.12 documentation.
- Python
Published by mikeqfu about 5 years ago
pyhelpers - 1.2.11
Notable changes since 1.2.10:
- Fixed a bug in the method PostgreSQL.import_data() in the module sql.
For more information and detailed specifications, check out PyHelpers 1.2.11 documentation.
- Python
Published by mikeqfu about 5 years ago
pyhelpers - 1.2.10
Notable changes since 1.2.9:
- Improved the following functions/method with bug fixes to:
- np_preferences() in the module settings;
- savemultiplespreadsheets() in the module store;
- PostgreSQL.readsqlquery() in the module sql.
- Added new functions/methods:
- eval_dtype(), swap_cols() and swap_rows() to the module ops;
- getrectanglecentroid() to the module geom;
- .listtablenames() and .altertableschema() to the class PostgreSQL in the module sql.
For more information and detailed specifications, check out PyHelpers 1.2.10 documentation.
- Python
Published by mikeqfu over 5 years ago
pyhelpers - 1.2.9
Note that the release *~~1.2.8~~** had been permanently deleted.*
Notable changes since 1.2.7:
- Made modifications with bug fixes to the following functions/class:
- validateinputdata_dir() in the module dir;
- confirmed() and fakerequestsheaders() in the module ops;
- PostgreSQL in the module sql.
- Added new functions:
- getobjattr() to the module ops;
- getdbaddress() to the module sql.
- Python
Published by mikeqfu over 5 years ago
pyhelpers - 1.2.7
Notable changes since 1.2.6:
- Fixed a minor bug in the method PostgreSQL.import_data() in the module sql
- Added new functions:
- merge_dicts(), isnetworkconnected() and isurlconnectable() to the module ops;
- get_acronym() and extract_words1upper() to the module text.
- Python
Published by mikeqfu over 5 years ago
pyhelpers - 1.2.6
Notable changes since 1.2.5:
- 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 fakerequestsheaders() in the module ops.
- Python
Published by mikeqfu over 5 years ago
pyhelpers - 1.2.5
Notable changes since 1.2.4:
- Renamed the function ~~rm_dir()~~ to delete_dir() in the module dir.
- Moved the function savewebpageaspdf() from the module text to store.
- Removed two functions from the module ops: ~~getvariablename()~~ and ~~getvariablenames()~~.
- Improved the following function/class:
- save() in the module store;
- PostgreSQL in the module sql.
- Python
Published by mikeqfu over 5 years ago
pyhelpers - 1.2.3
Notable changes since 1.2.2:
- Fixed a few bugs in the following functions/class:
- downloadfilefrom_url() in the module ops;
- getspecificfilepath_info() in the module store;
- PostgreSQL in the module sql.
- Added a new function fakerequestsheaders() to the module ops.
- Python
Published by mikeqfu over 5 years ago
pyhelpers - 1.2.2
Notable changes since 1.2.1:
- Improved the following functions:
- getspecificfilepath_info() in the module store;
- split_list() and getallvaluesfromnested_dict() in the module ops.
- Python
Published by mikeqfu almost 6 years ago
pyhelpers - 1.2.1
Note that the release *~~1.2.0~~** had been permanently deleted.*
Notable changes since 1.1.2:
- Integrated the module ~~download~~ into ops and made the following changes:
- renamed the function ~~download()~~ to downloadfilefrom_url();
- added a new function convertmdto_rst();
- improved the following functions: splitlistby_size(), split_list(), getextremeoutlier_bounds(),
interquartile_range(), findclosestdate() and detectnanforstrcolumn().
- Moved the function savewebpageaspdf() from the module store to text.
- Improved the following functions/class:
- getspecificfilepath_info(), save_fig(), savesvgas_emf(), seven_zip() and loadcsrmatrix() in the module store;
- PostgreSQL in the module sql.
- Python
Published by mikeqfu almost 6 years ago
pyhelpers - 1.1.2
Note that the release *~~1.1.1~~** had been permanently deleted.*
Notable changes since 1.1.0:
- 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 ~~csrmatrixto_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;
- savesvgas_emf() and savewebpageaspdf() in the module store.
- Added new functions:
- to the module geom: sketch_square();
- to the module ops: createrotationmatrix() and dicttodataframe();
- to the module store: savemultiplespreadsheets(), loadmultiplespreadsheets(),
unzip(), seven_zip() and loadcsrmatrix(); - to the module text: remove_punctuation(), count_words(), calculate_idf(), calculatetfidf(),
euclideandistancebetween_texts() and cosinesimilaritybetween_texts().
- Python
Published by mikeqfu about 6 years ago
pyhelpers - 1.1.0
Notable changes since 1.0.26:
- 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.findmatchedstr().
- Improved the two modules store and text.
- Python
Published by mikeqfu about 6 years ago
pyhelpers - 1.0.25
Notable changes since 1.0.24:
- Improved the functions, osgb36towgs84() and wgs84toosgb36(), in the module geom.
- Python
Published by mikeqfu about 6 years ago
pyhelpers - 1.0.22
Notable changes since 1.0.21:
- Renamed the function ~~dividelistinto_chunks()~~ to splitlistby_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.
- Python
Published by mikeqfu over 6 years ago
pyhelpers - 1.0.19
Note that the release *~~1.0.18~~** had been permanently deleted.*
Notable changes since 1.0.17:
- Renamed the module ~~misc~~ to ops; moved the function csrmatrixto_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(), locatesquarevertices() and locatesquarevertices_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().
- Python
Published by mikeqfu over 6 years ago