Collection of various useful tools.
Project description
License
Microlib is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or any later version. See LICENSE file.
Microlib also includes third party open source software components: the Deprecated class. It has its own license. Please see ./microlib/deprecation.py
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() and terminal.ask_user_choice() to ask questions 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.
database offers a ContextManager for sqlite3 database, an Operator and a Ts_Operator classes to provide shortcuts for common sqlite3 commands.
a Deprecated class, that provides a decorator to deprecate functions (emit a warning when it is called).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file microlib-1.10.4-py3-none-any.whl.
File metadata
- Download URL: microlib-1.10.4-py3-none-any.whl
- Upload date:
- Size: 29.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3037d4c14f3685ebb418e17c10774ce3a3a53b7984be2dbcd26fd65c0f9ca014
|
|
| MD5 |
8ae70e0214255908bb057100eb22b852
|
|
| BLAKE2b-256 |
99232984044829fdd3ff1f985a57fe9af545aa7593edcfe04fa6f3422cd3040d
|