Skip to main content

PyHelpers

An open-source toolkit for facilitating Python users' data manipulation tasks.

Python Version from PEP 621 TOML License ReadTheDocs Documentation GitHub Actions Workflow Status Codacy - Code Quality Codecov - Test Coverage DOI

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.

Installation

PyHelpers can be installed using uv (recommended for speed, reliability and modern dependency resolution), conda-forge (including pixi) or traditional pip.

Using uv (Recommended)

To add PyHelpers to an existing project managed by uv:

uv add pyhelpers

To include all optional features (e.g. geospatial drivers and database connectors):

uv add "pyhelpers[full]"

If you are working in an activated virtual environment:

uv pip install --upgrade pyhelpers

To install all optional features inside an active virtual environment:

uv pip install --upgrade "pyhelpers[full]"
Using pixi

To add the core PyHelpers package to a workspace using pixi:

pixi add pyhelpers

To add PyHelpers along with optional dependencies (e.g. gdal, pyarrow, fiona and so on) via pixi:

pixi add pyhelpers gdal pyarrow fiona

Alternatively, to install PyHelpers with PyPI extras inside a pixi project:

pixi add --pypi "pyhelpers[full]"
Using pip

To install PyHelpers into an active environment using pip:

pip install --upgrade pyhelpers

To install with all optional dependencies:

pip install --upgrade "pyhelpers[full]"
Using conda

To install PyHelpers into an active environment using conda (or mamba):

# Core package
conda install -c conda-forge pyhelpers

# Full suite with binary C-extensions
conda install -c conda-forge pyhelpers gdal pyarrow fiona

For detailed options, development setup and Windows troubleshooting (e.g. installing C-extension wheels), see the full Installation Guide.

Quick start

For a concise guide on how to use PyHelpers, check out the Quick Start tutorial, which includes illustrative examples for each of the subpackages.

These examples briefly demonstrate the capabilities of PyHelpers in facilitating data manipulation tasks and streamlining work processes.

Documentation

The complete PyHelpers Documentation is available in HTML and PDF formats.

It is hosted on Read the Docs, and the HTML version is also accessible via GitHub Pages. The documentation includes detailed examples, tutorials and comprehensive references to help users get the most out of PyHelpers.

Cite as

Fu, Q. (2020). PyHelpers: An open-source toolkit for facilitating Python users' data manipulation tasks. Zenodo. doi:10.5281/zenodo.4017438.

@software{Fu_PyHelpers_2020, 
    author = {Fu, Qian},
    title = {{PyHelpers: An open-source toolkit for facilitating Python users' data manipulation tasks}},
    year = {2020},
    publisher = {Zenodo},
    doi = {10.5281/zenodo.4017438},
    license = {MIT},
    url = {https://doi.org/10.5281/zenodo.4017438},
}

For specific version references, please refer to Zenodo.

License

PyHelpers is licensed under the MIT License.

Please note that this project was initially licensed under the GPLv3+ up to version 1.5.2. Starting with version 2.0.0, it has been re-licensed under the MIT License.

Metadata

Release files for pyhelpers 2.5.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyhelpers 2.5.4
File Size Uploaded Provenance Actions
pyhelpers-2.5.4.tar.gz 245.3 kB Without provenance Details for pyhelpers-2.5.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyhelpers 2.5.4
File Interpreter ABI Platform Actions
pyhelpers-2.5.4-py3-none-any.whl Python 3 none any Details for pyhelpers-2.5.4-py3-none-any.whl

Total release size: 497.8 kB

Release files / pyhelpers-2.5.4.tar.gz

Download URL pyhelpers-2.5.4.tar.gz
Size 245.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e19a47eb9a48cd31eb88fb9018fe6c680f8281a1b4485911760f728027db6ec7
BLAKE2b-256 checksum
How to use checksums
bc1ea83fe337a5c2bd0cef0658fd61a24c6620e49c26498775213a8d2823df1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / pyhelpers-2.5.4-py3-none-any.whl

Download URL pyhelpers-2.5.4-py3-none-any.whl
Size 252.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be89fe15b976ea656b0ade279f37264d1991d14ea984a4efae4e288dfb81f279
BLAKE2b-256 checksum
How to use checksums
0a56922e0de814ef7c18accccdcb8c0dd6031e80cf00eb4dc633f1d08b6fc772
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for pyhelpers 2.5.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.5.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page