Skip to main content

A centralized toolkit for Python developers

Project description

Helper Library

License: MIT
PyPI

๐ŸŒ Available Languages

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


๐Ÿ“– 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 prototyping and educational purposes

โœจ Features

๐Ÿ“Š Data Visualization

  • Horizontal & vertical bar charts (hbar, vbar)
  • Pie charts (pie)
  • Box plots (boxplot)
  • Histograms (histo)
  • Heatmaps (heatmap)
  • Data tables (table)
  • Advanced visualizations (scatter, violin, KDE, pairplot, etc.)

๐Ÿ“ˆ Statistical Analysis

  • Measures of central tendency: get_media, get_median, get_moda
  • Measures of dispersion: get_rank, get_var, get_desv, disp
  • Data normalization (normalize)
  • Outlier detection (IQR & Z-score methods)
  • Conditional data transformations (conditional)

๐Ÿ›  Utilities

  • File discovery and loading (call)
  • Enhanced Switch / AsyncSwitch system
  • Syntax checking & analysis (PythonFileChecker, check_syntax)
  • Error reporting with context
  • Integrated help system (help, previews, docs)

๐ŸŒ Multi-language Support

  • Built-in translations for 12 languages
  • Extendable with load_user_translations()
  • Dynamic selection with set_language(lang_code)
  • Default fallback to English

๐Ÿš€ Installation

Install from PyPI:

pip install pyhelper-tools-jbhm

๐Ÿ”ง Usage Examples

Set language

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
# ... support for 100+ languages

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
from helper.submodules import graph as gr

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

File handling

from helper import call

data = call("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")

๐Ÿ“‚ Project Structure

helper/
 โ”œโ”€โ”€ core.py              # Main functions
 โ”œโ”€โ”€ lang/                # Translation files (JSON)
 โ”œโ”€โ”€ submodules/
 โ”‚   โ”œโ”€โ”€ graph.py         # Visualization functions
 โ”‚   โ”œโ”€โ”€ statics.py       # Statistical functions
 โ”‚   โ”œโ”€โ”€ utils.py         # Utility helpers
 โ””โ”€โ”€ __init__.py

๐Ÿค Contributing

Contributions are welcome!
Please open issues, suggest improvements, or submit pull requests on the GitHub repository.


๐Ÿ“œ License

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


โšก 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-2.0.1.tar.gz (411.5 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-2.0.1-py3-none-any.whl (664.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyhelper_tools_jbhm-2.0.1.tar.gz
  • Upload date:
  • Size: 411.5 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-2.0.1.tar.gz
Algorithm Hash digest
SHA256 81d5b792310be785e54a5cbe01f18c110138fe33cd80a6e4f69f206502f8627a
MD5 2e4eaa7242bf0f0f361676a892214484
BLAKE2b-256 1dba1dd110b1d3ebf2d0fc857b77a644bb61265e6c4087714470997b973b5ec5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyhelper_tools_jbhm-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7236960657c7127c2175096a0e2aad0b616b887cafc2670748f9dff187c25a4d
MD5 33dca0e20b2b8c0d4a6d81b7d845cf88
BLAKE2b-256 546a812521e0a89a4ec189837e8b0b4b2fd02fd11f7407e77de1c98b13ac5dc2

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