Metadata-Version: 2.1
Name: microlib
Version: 1.4.0
Summary: 
Author: Nicolas Hainaux
Author-email: nh.techn@gmail.com
Requires-Python: >=3.6,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: blessed (>=1.18.1,<2.0.0)
Requires-Dist: click (>=8.0.1,<9.0.0)
Requires-Dist: importlib-metadata (>=3.1,<4.0); python_version >= "3.6.0" and python_version < "3.8.0"
Requires-Dist: intspan (>=1.6.1,<2.0.0)
Requires-Dist: toml (>=0.10.2,<0.11.0)
Description-Content-Type: text/x-rst

|coveralls|

Overview
========

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 <https://gitlab.com/nicolas.hainaux/microlib>`__

.. |coveralls| image:: https://coveralls.io/repos/gitlab/nicolas.hainaux/microlib/badge.svg?branch=master
  :target: https://coveralls.io/gitlab/nicolas.hainaux/microlib?branch=master

