A collection of Python utility modules for common tasks including file operations, data format conversions, database interactions, AWS services, and more.
Feedback welcome via GitHub issues. While I will try to address issues in a timely manner, I only intend to invest in feature requests that align with my project work. Feel free to contribute backward compatible enhancements.
pip install ruf-common# Import the entire library
from ruf_common import *
# Or import specific modules
from ruf_common import data, helper, lfsThe following modules are available:
aws: Functions for interacting with AWS servicescountry_code_converter: Functions for converting between country code formatsdata: Functions for managing and manipulating XML, JSON and YAML contentdatabase: Functions for interacting with a database. These functions operate the same for all supported databaseshelper: Various helper functionshtml_to_markdown: Functions for converting HTML content to Markdownlfs: Functions for interacting with the local file system (LFS)logging: Logging configuration and utilitiesnetwork: Functions for network operationsstats: Statistical helper functionstimezone_lookup: Functions for timezone lookups based on locationxml_formatter: Functions for formatting XML content
MIT