Skip to main content

A centralized data-handling toolkit for Python developers

Project description

Helper Library

License: MIT PyPI es fr de ru tr zh it pt sv

📖 Overview

PyHelper is a comprehensive Python toolkit designed to simplify common data handling, visualization, and utility tasks. It provides:

  • Statistical analysis functions
  • Data visualization tools
  • File handling utilities
  • Syntax checking capabilities
  • Multi-language support

✨ Features

📊 Data Visualization

  • Horizontal/vertical bar charts (hbar, vbar)
  • Pie charts (pie)
  • Box plots (boxplot)
  • Histograms (histo)
  • Heatmaps (heatmap)
  • Data tables (table)

📈 Statistical Analysis

  • Central tendency measures (get_media, get_median, get_moda)
  • Dispersion measures (get_rank, get_var, get_desv)
  • Data normalization (normalize)
  • Conditional column creation (conditional)

🛠 Utilities

  • File search and loading (call)
  • Enhanced switch-case system (Switch, AsyncSwitch)
  • Syntax checking (PythonFileChecker, check_syntax)
  • Multi-language support (set_language, t)
  • Help system (help)

🌍 Multi-language Support

The library supports multiple languages. Change the language with:

from helper import set_language

set_language("en")  # English
set_language("es")  # Spanish
set_language("fr")  # French
set_language("de")  # German
set_language("ru")  # Russian
set_language("tr")  # Turkish
set_language("zh")  # Chinese
set_language("it")  # Italian
set_language("pt")  # Portuguese
set_language("sv")  # Swedish

You can also add your own translations by creating a lang.json file and using the load_user_translations() function:

from helper import load_user_translations

# Load custom translations from lang.json (default path)
load_user_translations()

# Or specify a custom path
load_user_translations("path/to/your/translations.json")

Example lang.json structure:

{
    "your_key": {
    "en": "English translation",
    "es": "Spanish translation",
    "fr": "French translation",
    "de": "German translation",
    "ru": "Russian translation",
    "tr": "Turkish translation",
    "zh": "Chinese translation",
    "it": "Italian translation",
    "pt": "Portuguese translation",
    "sv": "Swedish translation"
  }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyhelper_tools_jbhm-1.1.4.tar.gz (71.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyhelper_tools_jbhm-1.1.4-py3-none-any.whl (63.9 kB view details)

Uploaded Python 3

File details

Details for the file pyhelper_tools_jbhm-1.1.4.tar.gz.

File metadata

  • Download URL: pyhelper_tools_jbhm-1.1.4.tar.gz
  • Upload date:
  • Size: 71.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for pyhelper_tools_jbhm-1.1.4.tar.gz
Algorithm Hash digest
SHA256 de12afabae4b35b55c52d327da953d678f9e4ec338f5c4f29e537766d47cd6c6
MD5 a46ecc609c316b8f2704eb9c5a55c3ed
BLAKE2b-256 2e6db2be7658637680008fe680f58a4c20616f1c4f41d5d7d966bab9cc8098fa

See more details on using hashes here.

File details

Details for the file pyhelper_tools_jbhm-1.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pyhelper_tools_jbhm-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6149f42e65e762afaff564a9a8a6fb8fbf9f843c4dab62929481ea6726e0f8b7
MD5 414d295d1419f7558644311352ac905b
BLAKE2b-256 a368be8d3f366f407db3bed94d631e1babc45c0d2b17742a04e11c096eaadce2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page