A centralized toolkit for Python developers
Project description
Helper Library
๐ Available Languages
PyHelper offers built-in translations for up to 131 languages including:
๐ 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
DataBaseclass - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyhelper_tools_jbhm-3.1.1.tar.gz.
File metadata
- Download URL: pyhelper_tools_jbhm-3.1.1.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2f0937a847e9d338f60a1754247e694023eedd778c32d885da09ff6f76b2acc
|
|
| MD5 |
c1b1101de0583bae280da2e2e7decdca
|
|
| BLAKE2b-256 |
d436fac523643f66c0c317bf3780cd5ea43de83444f6cdee9b35eefea0bfb165
|
File details
Details for the file pyhelper_tools_jbhm-3.1.1-py3-none-any.whl.
File metadata
- Download URL: pyhelper_tools_jbhm-3.1.1-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e16e039b3ce6abd23e1c2c79d14cccd74114d51474dd9853cd0a6a358f3e98b7
|
|
| MD5 |
4d978a147b6a5a48071eae8385bdb079
|
|
| BLAKE2b-256 |
605a3df14d4aa17f3fc6b2c7eeec815d2ae05ae883a7911bd434d239e50f195c
|