Skip to main content

No project description provided

Project description

Microlib contains some useful functions or classes:

  • XDict is a dict with recursive_update() and flat() methods,

  • StandardConfigFile helps to manage user config files,

  • terminal.ask_yes_no() to ask a [y/N] question to the user for cli tools,

  • terminal.tabulate() is a very simple function to display tabulated data in the terminal,

  • terminal.echo_info() echo_warning() and echo_error() display info, warning and error messages with some color.

  • rotate() and grouper() help to handle iterators.

  • read_text() reads text files and concatenates their contents.

  • database offers a ContextManager for sqlite3 database, an Operator and a Ts_Operator classes to provide shortcuts for common sqlite3 commands.

Source code

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

microlib-1.3.0.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

microlib-1.3.0-py3-none-any.whl (14.6 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