Skip to main content

A centralized toolkit for Python developers

Project description

Helper Library

License: MIT PyPI

๐ŸŒ Available Languages

PyHelper offers built-in translations for up to 131 languages including:

en es fr de ru tr zh it pt sv
ja ar af sq am hy as ay az bm
eu be bn bho bs bg ca ceb ny co
hr cs da dv doi nl eo et ee tl
fi fy gl ka el gn gu ht ha haw
iw hi hmn hu is ig ilo id ga jw
kn kk km rw gom ko kri ku ckb ky
lo la lv ln lt lg lb mk mai mg
ms ml mt mi mr lus mn my ne no or
om ps fa qu ro sm sa gd nso st sn
sd si sk sl so su sw tg ta tt te
th ti ts tk ak uk ur ug uz vi cy
xh yi yo zu


๐Ÿš€ Installation

Install from PyPI:

pip install pyhelper-tools-jbhm

๐Ÿ“– Overview

PyHelper is a versatile Python toolkit designed to simplify data analysis, visualization, statistical operations, and utility workflows.
It integrates seamlessly into academic, research, and professional projects, allowing you to focus on insights rather than boilerplate code.

Key advantages:

  • ๐Ÿงฎ Built-in statistics and math utilities
  • ๐Ÿ“Š Easy-to-use data visualization wrappers
  • ๐Ÿ—‚ Handy file handling and searching
  • ๐Ÿ” Syntax validation for Python files
  • ๐ŸŒ Multi-language support with ready-to-use translations
  • ๐Ÿš€ Optimized for fast prototypingandeducation

โœจ Key Features

๐Ÿ“Š Data Visualization

  • Bar Charts: Horizontal & vertical (hbar, vbar)
  • Distribution Plots: Histograms (histo), box plots (boxplot), KDE plots (kdeplot)
  • Comparative Plots: Violin, swarm, strip plots
  • Correlation Analysis: Heatmaps (heatmap), scatter plots (scatter)
  • Advanced Visualizations: Pair plots, joint plots, regression plots
  • Data Tables: Formatted table displays (table)

๐Ÿ“ˆ Statistical Analysis

  • Central Tendency : Mean (get_media), median (get_median), mode (get_moda)
  • Dispersion : Range (get_rank), variance (get_var), standard deviation (get_desv)
  • Analysis : Dispersion reports (disp), IQR calculations, normalization, conditional transforms
  • Outlier Detection : IQR and Z-score methods

๐Ÿ—‚๏ธ File Management

  • Smart discovery with call() (auto-detect CSV, JSON, XML, etc.)
  • Multi-format support (CSV, JSON, XML, PDF, spatial data)
  • SQL database management with DataBase class
  • Conversion utilities (convert_file)

๐Ÿ› ๏ธ Developer Tools

  • Switch system (Switch, AsyncSwitch)
  • Syntax checking (check_syntax, PythonFileChecker)
  • Rich error reporting (multi-language)
  • Integrated help system (help)

๐ŸŒ Internationalization

  • 100+ built-in translations
  • Load custom translations
  • Runtime language switching (set_language())
  • Automatic English fallback

Dependencies (handled automatically):

  • pandas, numpy (data manipulation)

  • matplotlib, seaborn (visualization)

  • scikit-learn (statistics)

  • sqlalchemy (database)

  • geopandas (spatial data)


๐Ÿ”ง Usage Examples

Set language

support for up to 131 languages

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
set_language("ja")  # Japanese
set_language("ar")  # Arabic
...

Basic statistics

import helper as hp

data = [1, 2, 2, 3, 4, 5]

print(hp.get_media(data))   # Mean
print(hp.get_median(data))  # Median
print(hp.get_moda(data))    # Mode

Visualization

import helper as hp

df = hp.pd.DataFrame({"values": [5, 3, 7, 2, 9]})
hp.histo(df, "values", bins=5, title="Sample Histogram")

File handling

from helper import call

data = call(name="my_data", type="csv")  # Finds and loads a CSV file automatically

Custom translations

from helper import load_user_translations

# Load custom translations from lang.json
load_user_translations("custom/lang.json")

Syntax validation

from helper import run

run("./path/to/my_script.py")
#Show gui pop up with results

๐Ÿ“‚ Project Structure

helper/
โ”œโ”€โ”€ core.py
โ”œโ”€โ”€ __init__.py
โ”œโ”€โ”€ lang/
โ”‚   โ”œโ”€โ”€ en.json
โ”‚   โ”œโ”€โ”€ es.json
โ”‚   โ””โ”€โ”€ ... (100+ files)
โ””โ”€โ”€ submodules/
    โ”œโ”€โ”€ graph.py
    โ”œโ”€โ”€ statics.py
    โ”œโ”€โ”€ utils.py
    โ”œโ”€โ”€ caller.py
    โ”œโ”€โ”€ checker.py
    โ”œโ”€โ”€ manager.py
    โ”œโ”€โ”€ pyswitch.py
    โ”œโ”€โ”€ shared.py
    โ””โ”€โ”€ DBManager.py

๐Ÿ“œ License

This project is licensed under the MIT License.
See the LICENSE file for details.


๐Ÿ”ฎ Roadmap

  • Additional visualization types

  • Extended database support (NoSQL, graph databases)

  • Machine learning integration

  • Web-based interface

  • Plugin system


โšก Ready to supercharge your Python workflows with PyHelper? Start exploring today!

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-3.0.1.tar.gz (1.1 MB 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-3.0.1-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyhelper_tools_jbhm-3.0.1.tar.gz
Algorithm Hash digest
SHA256 455965e15ec19c4e43c6f1de5ee5840d25d24dfcf6e9bf7ceebd8acb81ee7e06
MD5 00318cda700393f51207be908c0db519
BLAKE2b-256 67bcccf583e0701ac7699cfe0b2d271c8f5d3c349133f1ae4fe438f1e7f8e0e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyhelper_tools_jbhm-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9367eff2ae1a0e9e860b765f178f2eac3941550d64ec36cf79f47bac8e5b9534
MD5 b049b479497a686b6c51a378467e5aa2
BLAKE2b-256 5e355d4d661ffcbc801abf4bcdb7ad863dadeb7e53a0d7fe718b737a9106577d

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