Skip to main content

ml3macro common utils - immutable data structures, enhanced enums, decorators, and utilities

Project description

ml3macro utils

PyPI Python Version

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ml3macro_utils-0.0.3-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file ml3macro_utils-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: ml3macro_utils-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for ml3macro_utils-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 426f0e915b3fe6216d0f534c0123ac3e20d277a758d1c3f9b80fbbef3ebd29b8
MD5 33092a55df68c19c1527e098ac8d0926
BLAKE2b-256 7570a54910e34f8e313df6233e1382d6e34ad34a85ae240be90e581bf398aac2

See more details on using hashes here.

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