Skip to main content

Functions common to several of Brian's Python projects.

Project description

ruf-common

PyPI version Python 3.9+ License: MIT

Overview

A collection of Python utility modules for common tasks including file operations, data format conversions, database interactions, 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.

Installation

pip install ruf-common

Usage

# Import the entire library
from ruf_common import *

# Or import specific modules
from ruf_common import data, helper, lfs

Modules

The following modules are available:

  • country_code_converter: Functions for converting between country code formats
  • data: Functions for managing and manipulating XML, JSON and YAML content
  • database: Functions for interacting with a database. These functions operate the same for all supported databases
  • helper: Various helper functions
  • html_to_markdown: Functions for converting HTML content to Markdown
  • lfs: Functions for interacting with the local file system (LFS)
  • logging: Logging configuration and utilities
  • network: Functions for network operations
  • stats: Statistical helper functions
  • timezone_lookup: Functions for timezone lookups based on location
  • xml_formatter: Functions for formatting XML content

License

MIT

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

ruf_common-2.0.1.tar.gz (38.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ruf_common-2.0.1-py3-none-any.whl (40.6 kB view details)

Uploaded Python 3

File details

Details for the file ruf_common-2.0.1.tar.gz.

File metadata

  • Download URL: ruf_common-2.0.1.tar.gz
  • Upload date:
  • Size: 38.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ruf_common-2.0.1.tar.gz
Algorithm Hash digest
SHA256 5047fa1ce9000db16354d2b97d0a7617cde5819db86b4e1ac6ecadd6e37d8eb5
MD5 5dcefb07900e478fb99424eba5c1a470
BLAKE2b-256 be3f25bee0619e9e7bc1c73f73d09d723e12a11432b8ed7756cbd4e4db5cdb42

See more details on using hashes here.

Provenance

The following attestation bundles were made for ruf_common-2.0.1.tar.gz:

Publisher: publish.yml on brian-ruf/ruf-common-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ruf_common-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: ruf_common-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 40.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ruf_common-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 225431e4354cf06b87784556dd7e829c9cbb28abe607454f476915c364747fe9
MD5 cd27e4bfc2fcc3c0dc050cd3f68f02b8
BLAKE2b-256 1f66e0e6ce64081f5a40a48931d397357d7eff2630593897a4904b104ab04d86

See more details on using hashes here.

Provenance

The following attestation bundles were made for ruf_common-2.0.1-py3-none-any.whl:

Publisher: publish.yml on brian-ruf/ruf-common-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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