Functions common to several of Brian's Python projects.
Project description
ruf-common
Overview
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.
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:
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
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
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 ruf_common-2.0.0.tar.gz.
File metadata
- Download URL: ruf_common-2.0.0.tar.gz
- Upload date:
- Size: 37.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d9c47aa7a88f7d873652b26ef2f0ea293bcd729c7e1b11bf8825ab996d30fb5
|
|
| MD5 |
1c66f4c0baed86ef5a5d3c69999e4d2e
|
|
| BLAKE2b-256 |
cbe2455777b69cf90231518d33939f67df7f2d35a5429e8ec7a2b405a4b70fad
|
Provenance
The following attestation bundles were made for ruf_common-2.0.0.tar.gz:
Publisher:
publish.yml on brian-ruf/ruf-common-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ruf_common-2.0.0.tar.gz -
Subject digest:
3d9c47aa7a88f7d873652b26ef2f0ea293bcd729c7e1b11bf8825ab996d30fb5 - Sigstore transparency entry: 1276102293
- Sigstore integration time:
-
Permalink:
brian-ruf/ruf-common-python@12d35ec0b0a4e7e19122838133519f8e106a83f0 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/brian-ruf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@12d35ec0b0a4e7e19122838133519f8e106a83f0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ruf_common-2.0.0-py3-none-any.whl.
File metadata
- Download URL: ruf_common-2.0.0-py3-none-any.whl
- Upload date:
- Size: 40.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d451291b282a25fd7e73b504b80934d04eb86cbd9ae3534f84232b694248624
|
|
| MD5 |
27aac9b253e10eee31ed98466fa23673
|
|
| BLAKE2b-256 |
0e5f486ad6378c4f2cdf32d65cb76380ad803a724c6d406836a25c1df35b7e98
|
Provenance
The following attestation bundles were made for ruf_common-2.0.0-py3-none-any.whl:
Publisher:
publish.yml on brian-ruf/ruf-common-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ruf_common-2.0.0-py3-none-any.whl -
Subject digest:
2d451291b282a25fd7e73b504b80934d04eb86cbd9ae3534f84232b694248624 - Sigstore transparency entry: 1276102346
- Sigstore integration time:
-
Permalink:
brian-ruf/ruf-common-python@12d35ec0b0a4e7e19122838133519f8e106a83f0 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/brian-ruf
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@12d35ec0b0a4e7e19122838133519f8e106a83f0 -
Trigger Event:
release
-
Statement type: