ml3macro common utils - immutable data structures, enhanced enums, decorators, and utilities
Project description
ml3macro utils
Common utilities and shared code for ml3macro projects.
Status: In Development
This is a new package with general-purpose helper functions/classes/etc for use in my other projects.
Overview
This package contains reusable utilities and helpers used across ml3macro projects:
- Data Structures: Immutable/constrained collections like
AdditiveMapping - Enums: Enhanced enumeration base classes
- Decorators: Class structure enforcement decorators
- Identifiers: Unique ID generation utilities
- Functional Helpers: Iterables processing, optional value handling
- Reflection: Object introspection utilities
- Text Processing: String manipulation helpers
Installation
pip install ml3macro-utils
Usage
Import specific utilities as needed:
from ml3macro.utils.additive_mapping import AdditiveMapping
from ml3macro.utils.identifier import short_id
from ml3macro.utils.optional import get_or_else
Requirements
- Python 3.11+
- frozendict
- strenum
- overrides
- python-ulid
License
MIT License
Project details
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 ml3macro_utils-0.0.2-py3-none-any.whl.
File metadata
- Download URL: ml3macro_utils-0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
747ab31467ed5d9b22f17af1a54f2fe8da3a34c925d2e35afded2e9748a010d1
|
|
| MD5 |
f43c66b94f4ec1b4548bb6c2f467537b
|
|
| BLAKE2b-256 |
882a495ed9ca83ce30ca7e95a8c8a96c5fdbb3ef17685789e2e55ebfe52869cc
|