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.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ml3macro_utils-0.0.1-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

Hashes for ml3macro_utils-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a0b866e70615f15f288b61a2a3756637da12c3f280a9f38815260fe9421c5e0
MD5 607815238845a948e118c444a0d10ff4
BLAKE2b-256 97919b852d8340d4b07dd7a49df7c3d2aa5e96bb035f182d70e0fcb9819f87ae

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