Skip to main content

Small library for common tasks

Project description

Helper package for coding and automation

Version 0.1.59

  • add util/perfcalc: abstract class for performance calculation. This class need to be inherited and implemented with specific performance calculation logic.

Version 0.1.55

  • add util/dataclass_util to help dynamically create dataclass classes from dictionary or YAML file, including support for nested dataclasses. From there, we can use dataclass_wizard to create a list of dataclass classes with the help from ChatGPT.

Version 0.1.52

  • add research/perftb module to allow creating and managing performance tables for experiments, including filtering by datasets, metrics, and experiments.

Version 0.1.50

  • add pprint_local_path to print local path (file/directory) in clickable link (as file URI)

  • add research package to help with research tasks, including benchquery for benchmarking queries from dataframe

  • add wandb module to allow easy sync offline data to Weights & Biases (wandb) and batch clear wandb runs.

Version 0.1.47

  • add pprint_box to print object/string in a box frame (like in inspect)

Version 0.1.46

  • filter the warning message of UserWarning: Unable to import Axes3D.
  • auto_wrap_text for fn_display_df to avoid long text in the table

Version 0.1.42

  • add <rich_color.py>: add basic color list (for easy usage)

Version 0.1.41

  • add <rich_color.py> to display rich color information in python package (rcolor_str, rcolor_pallet_all, etc.)

Version 0.1.40

  • update <csvfile.py> to use itables and pygwalker to display dataframe in jupyter notebook.

Version 0.1.38

  • add <torchloader.py> to search for best cfg for torch dataloader (num_workers, batch_size, pin_memory, et.)

Version 0.1.37

  • add <dataset.py> to help split classification dataset into train/val(test)

Version 0.1.33

  • add plot.py module to plot DL model training history (with columlns: epoch, train_accuracy, val_accuracy, train_loss, val_loss) using seaborn and matplotlib

Version 0.1.29

  • for tele_noti module, kaleido==0.1.* is required for plotly since kaleido 0.2.* is not working (taking for ever to generate image)

Version 0.1.24

  • rename sys to system to avoid conflict with built-in sys module
  • add tele_noti module to send notification to telegram after a specific interval for training progress monitoring

Version 0.1.22

  • add cuda.py module to check CUDA availability (for both pytorch and tensorflow)

Version 0.1.21

  • using networkx and omegaconf to allow yaml file inheritance and override

Version 0.1.15

  • __init__.py: add common logging library; also console_log decorator to log function (start and end)

Version 0.1.10

  • filesys: fix typo on "is_exit" to "is_exist"
  • gdrive: now support uploading file to folder and return direct link (shareable link)

Version 0.1.9

  • add dependencies requirement.txt

Version 0.1.8

Fix bugs:

  • [performance] instead of inserting directly new rows into table dataframe, first insert it into in-memory row_pool_dict, that fill data in that dict into the actual dataframe when needed.

Version 0.1.7

Fix bugs:

  • fix insert into table so slow by allowing insert multiple rows at once

Version 0.1.6

New features:

  • add DFCreator for manipulating table (DataFrame) - create, insert row, display, write to file

Version 0.1.5

New Features

  • add cmd module
  • new package structure

Version 0.1.4

New Features

  • add support to create Bitbucket Project from template

Version 0.1.2

New Features

  • add support to upload local to google drive.

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

halib-0.1.59.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

halib-0.1.59-py3-none-any.whl (67.2 kB view details)

Uploaded Python 3

File details

Details for the file halib-0.1.59.tar.gz.

File metadata

  • Download URL: halib-0.1.59.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.16

File hashes

Hashes for halib-0.1.59.tar.gz
Algorithm Hash digest
SHA256 f59c31ccdfe7596795299e7e7801815b1d04121bcf288e197b122fb0e69ecbaf
MD5 73000db94f9bb1ec6464e8dc0727208e
BLAKE2b-256 55160de3706fe0d7a85ce2558cdeae514205485e91b20991abbbc418bf3c1b76

See more details on using hashes here.

File details

Details for the file halib-0.1.59-py3-none-any.whl.

File metadata

  • Download URL: halib-0.1.59-py3-none-any.whl
  • Upload date:
  • Size: 67.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.16

File hashes

Hashes for halib-0.1.59-py3-none-any.whl
Algorithm Hash digest
SHA256 e148f101bb1cce811d6989916bfd3360540949dcf90060a9a7d03bad8bdddf2c
MD5 77ff5dfe36ee9546ee38b2fc9e185e67
BLAKE2b-256 defa6408874e709aeecbdbe8efac77011800faf5c5837644b0cc2a45422081da

See more details on using hashes here.

Supported by

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