Small library for common tasks
Project description
📦 Helper Package for Coding and Automation Changelog
v0.2.x (Experiment & Core Updates)
v0.2.54
- 🚀 Improvement:: enhance
zprofilerallow to inject pre-calculated time for a context (ctx) or a step.
v0.2.49
- ✨ New Feature:: introduce
utils/csv_op.py= a YAML-driven declarative CSV transformation pipeline supporting operations like filter, rename, convert, limit, sort, and drop with flexible output path handling.
v0.2.43
-
🚀 Improvement:: enhance
log_funcdecorator with additional logging options and better formatting (in Rich table). -
✨ New Feature:: introduce
utils.PlotlyUtilswith parallel coordinates plot and data table support -
🚀 Improvement:: move
wandb_op.pytoutilsand addscriptsfolder -
✨ New Feature:: add
common.common.log_funcas decorator to log function entry, exit, with execution time and arguments. -
🚀 Improvement:: enhance
utils.dict.DictUtilswithdeep_exclude/includeandprunefunction
v0.2.28
-
✨ New Feature: Implement
utils.slack.SlackUtilsclass for managing Slack channel message deletion -
✨ New Feature: Added
utils.dict.DictUtilsfor advanced dictionary manipulations (merging, filtering, transforming). -
✨ New Feature: Added
common.common.pprint_stack_traceto print stack traces with optional custom messages and force stop capability. -
🚀 Improvement:
exp.perf.profiler- allow to export report dict as csv files for further analysis
v0.2.19
- ✨ New Feature: Added
exp.core.param_gento facilitate fast generation of parameter combination sweeps (grid search) using YAML configurations.
v0.2.17
- 🚀 Improvement: Updated
exp.perf.profilerwith anenabledflag for dynamic toggling. - 🚀 Improvement: Added a
measurecontext manager to simplify performance measuring of code blocks.
v0.2.13
- ♻️ Refactor: Major reorganization of packages. Renamed
researchpackage toexp(Experiment Management). - 🚀 Improvement: Updated
exp/perfcalc.pyto allow saving computed performance metrics to CSV without explicitly callingcalc_perfs.
v0.2.1
- ✨ New Feature: Added
eval_expmethod toexp/base_expfor running evaluations (e.g., model testing) after experiments conclude.
v0.1.9x (Visualization & Generators)
v0.1.99
- ✨ New Feature: Added
gen_ipynb_nametofiletype/ipynb. Generates filenames based on the current notebook name with optional timestamps.
v0.1.96
- ✨ New Feature: Added
PlotHelperclass inresearch/plotfor plotting training history and image grids (dataset samples or model outputs).
v0.1.91
- ✨ New Feature: Added
ParamGenclass toresearch/param_genfor parsing YAML files into parameter lists for hyperparameter searches.
v0.1.90
- ✨ New Feature: Added
zProfilerclass toresearch/profilerfor measuring context/step execution time, supporting dynamic color scales in plots.
v0.1.5x - v0.1.7x (Infrastructure & Utilities)
v0.1.77
- ✨ New Feature: Added
BaseExpclass inresearch/base_expto handle common experiment tasks (performance calculation, result saving).
v0.1.67
- 🔧 Maintenance: Switched to uv for virtual environment management.
- 🚀 Improvement: Updated
research/perfcalcto support bothtorchmetricsand custom metrics.
v0.1.61
- ✨ New Feature: Added
VideoUtils(util/video) for common video handling tasks. - ✨ New Feature: Added
GPUMonitor(util/gpu_mon) for tracking GPU usage and performance.
v0.1.59
- 🔨 Architecture: Added
util/perfcalcabstract base class. This requires implementation of specific performance calculation logic.
v0.1.55
- ✨ New Feature: Added
util/dataclass_utilfor dynamic creation ofdataclassobjects from dictionaries or YAML (supports nested structures).
v0.1.52
- ✨ New Feature: Added
research/perftbmodule for managing experiment performance tables (filtering by dataset, metric, etc.).
v0.1.50
- ✨ New Feature: Added
pprint_local_pathto print clickable file URIs for local paths. - ✨ New Feature: Added
researchpackage containingbenchqueryfor dataframe benchmarking. - ✨ New Feature: Added
wandbmodule for offline syncing and batch clearing of Weights & Biases runs.
v0.1.4x (Display & formatting)
v0.1.47
- ✨ New Feature: Added
pprint_boxto print objects or strings inside a decorative box frame.
v0.1.46
- 🐛 Fix: Filtered
UserWarning: Unable to import Axes3D. - 🚀 Improvement: Added
auto_wrap_texttofn_display_dfto prevent long text overflow in tables.
v0.1.42
- ✨ New Feature: Added
rich_color.pywrapper for basic color lists.
v0.1.41
- ✨ New Feature: Added
rich_color.pyto support rich color information (palettes, strings) using therichlibrary.
v0.1.40
- 🚀 Improvement: Updated
csvfile.pyto useitablesandpygwalkerfor interactive dataframe display in Jupyter notebooks.
v0.1.3x (Data & Loading)
v0.1.38
- ✨ New Feature: Added
torchloader.pyto search for optimalDataLoaderconfigurations (num_workers, batch_size, pin_memory).
v0.1.37
- ✨ New Feature: Added
dataset.pyfor splitting classification datasets into train/val/test sets.
v0.1.33
- ✨ New Feature: Added
plot.pyfor plotting Deep Learning training history (accuracy/loss) usingseabornandmatplotlib.
v0.1.0 - v0.1.2x (Early Utilities)
v0.1.29
- 🐛 Fix: Pinned
kaleido==0.1.*fortele_notias version0.2.*caused image generation hangs.
v0.1.24
- ♻️ Refactor: Renamed
sysmodule tosystemto avoid conflicts with Python's built-insys. - ✨ New Feature: Added
tele_notimodule for Telegram notifications regarding training progress.
v0.1.22
- ✨ New Feature: Added
cuda.pyto check CUDA availability for both PyTorch and TensorFlow.
v0.1.21
- ✨ New Feature: Added YAML inheritance and overriding support using
networkxandomegaconf.
v0.1.15
- ✨ New Feature: Added common logging library and
@console_logdecorator for function tracing.
v0.1.10
- 🐛 Fix: Fixed typo
is_exit->is_existinfilesys. - 🚀 Improvement: Updated
gdriveto support uploading to specific folders and returning direct shareable links.
v0.1.9
- 🔧 Maintenance: Added
requirements.txt.
v0.1.6 - v0.1.8
- 🚀 Performance: Optimized table insertion by using an in-memory
row_pool_dictbefore committing to the DataFrame. - ✨ New Feature: Added
DFCreatorfor manipulating DataFrames (create, insert, display, save).
v0.1.4 - v0.1.5
- ✨ New Feature: Added
cmdmodule. - ✨ New Feature: Support for creating Bitbucket Projects from templates.
v0.1.2
- ✨ New Feature: Added support for uploading local files to Google Drive.
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 halib-0.2.54.tar.gz.
File metadata
- Download URL: halib-0.2.54.tar.gz
- Upload date:
- Size: 80.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73049c2eac4b83a013b787fad54f9fc77330744deca7b798b637dd04183f6cfa
|
|
| MD5 |
c31d3c88453d499c7d76a06303060d98
|
|
| BLAKE2b-256 |
66ce2e3dd8689060e8592fd9882b5ec36c8517f280becd35e8f5bf4aae0ae04b
|
File details
Details for the file halib-0.2.54-py3-none-any.whl.
File metadata
- Download URL: halib-0.2.54-py3-none-any.whl
- Upload date:
- Size: 201.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0f1e4848524e267d6731f015f0ea9f3fa7d5fe5f4fb72eebb5718c289e9d4a8
|
|
| MD5 |
e2373eacbc153d3b551e0d61f55630f5
|
|
| BLAKE2b-256 |
080674e25a44c4c3b33cc2e3ae66930800d94f042f4117bc3daa5dff58200239
|