PyHelpers: An open-source toolkit for facilitating Python users' data manipulation tasks
Description
PyHelpers is an open-source Python package designed to streamline data (pre-)processing and manipulation tasks. It accommodates a wide range of functions and classes grounded in practical applications, making common data operations more accessible and efficient. This toolkit is particularly useful for Python learners, researchers and data scientists seeking to enhance their workflows.
The package supports handling various data types, such as geographical and textual data, allowing for flexibility for diverse data processing needs. It also simplifies data input and output operations by offering functionalities for managing many different file-like objects. In addition, PyHelpers facilitates communication with relational databases, such as PostgreSQL and Microsoft SQL Server. This capability greatly smooths data integration with database systems through efficient data storage and retrieval.
With its comprehensive suite of practical tools, PyHelpers simplifies complex data processing tasks and boosts productivity. It is ready to serve as an essential resource for effective data manipulation, management and analysis for anyone working with data in Python.
For more information and detailed specifications, check out the PyHelpers 2.5.0 documentation.
Notes (English)
Technical info (English)
📦 Release v2.5.0
This release introduces a robust, native pathlib overhaul for path validation and normalization, enhances structural API consistency across text and filesystem operations, resolves critical download execution issues, and optimizes numeric downcasting logic across multiple data engines.
Summary of changes since 2.4.0:
🛤️ Path normalisation & structural consistency
- Pathlib migration (#139): Migrated core path navigation systems to native
pathlib.Patharchitectures to standardise validation signatures and resolve cross-platform inconsistencies (fixes #135). - Filesystem standardisation (#139): Added
standardize_path()in thedirssubpackage to secure and unify filesystem interactions. - Text & column formatting (#139): Added
standardize_name()andstandardize_column_names()utilities to enforce clean, uniform layout structures in operation pipelines. - Flexible executable resolution (#139): Extended
find_executable()with an optionalas_strparameter toggle for flexible return schemas.
🛠️ Core fixes & enhancements
- Download function fixes (#137): Resolved internal execution bottlenecks and structural edge cases within data download utilities.
- Downcasting function optimization (#139): Optimized
downcast_numeric_columnsto natively handle and downcast standaloneSeriesobjects across both pandas and polars backends.
🔧 Refactoring & maintenance
- Subpackage layout reorganisation (#139): Streamlined the internal structural topology of the
dirssubpackage, deprecating redundant pathways and updating downstream imports globally. - Documentation & links (#139): Updated Sphinx-generated documentation and aligned reference endpoints within the
dirsdocstrings. - Release assets & metadata (#140): Updated root and documentation dependency requirements, and refreshed the packaged
user-agent-strings.jsonasset.
🧪 Testing & reliability
- Expanded unit testing suites across
ops,dirs,text, and_cachemodules to safeguard against regression and enforce strict type contracts. - Strengthened verification assertions for download modules and downcasting operations.
Files
mikeqfu/pyhelpers-2.5.0.zip
Files
(1.5 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:794ef53d96f765a4e5621adc3e061c3c
|
1.5 MB | Preview Download |
Additional details
Related works
- Documents
- Software documentation: https://pyhelpers.readthedocs.io/en/2.5.0/ (URL)
- Is supplement to
- Software: https://github.com/mikeqfu/pyhelpers/tree/2.5.0 (URL)
Dates
- Available
-
2026-07-07
Software
- Repository URL
- https://github.com/mikeqfu/pyhelpers
- Programming language
- Python
- Development Status
- Active