Skip to main content

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

Project description

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
python -m mbp

Examples

  • Alternative for multiprocessing
    • Workers, Worker, work, test_f
  • Alternative for logging
    • log, log2, logger, Logger, set_global_logger
  • Syntax sugar for pathlib
    • dir_of, path_join, make_dir, this_dir, exec_dir, lib_dir
  • Tools for file loading
    • iterate, load_jsonl, load_json, load_csv, load_tsv, load_txt, save_json, save_jsonl, open_file
  • Tools for summarization
    • print2, enclose, enclose_timer, print_table, build_table, print_iter, error_msg, sep, na
  • Tools for simple statistics
    • timer, curr_time, avg, min_max_avg, n_min_max_avg, CPU_COUNT

Project details


Release history Release notifications | RSS feed

This version

1.0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mbp-1.0.2.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

mbp-1.0.2-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

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