Metadata-Version: 2.1
Name: mbp
Version: 1.0.0
Summary: Make Python more beautiful :) This package includes syntax sugar & tools that you wish were in the standard library.
Home-page: https://github.com/sudongqi/MoreBeautifulPython.git
Author: Dongqi Su
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

## More Beautiful Python

Make Python more beautiful :) This package includes syntax sugar & tools that you wish were in the standard library.

### Setup

    python -m pip install mbp

### Quick Test

    from mbp import *
    print_iter(work(f=test_f, tasks=iter({'x': i} for i in range(32))))

### [examples.py](https://github.com/sudongqi/MoreBeautifulPython/blob/main/examples.py)

* multi processes
    * work, Worker, Workers
* logging
    * log, log2, logger, Logger, set_global_logger
* paths
    * dir_of, path_join, make_dir, this_dir, exec_dir, lib_dir
* files
    * iterate, load_jsonl, load_json, load_csv, load_tsv, load_txt, save_json, save_jsonl, open_file
* summarization
    * print2, print_table, print_iter, error_msg, build_table, enclose, timer_enclose, sep, na
* statistics
    * timer, curr_time, min_max_avg, n_min_max_avg 
  






