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

Uploaded Python 3

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

Hashes for ml3macro_utils-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 747ab31467ed5d9b22f17af1a54f2fe8da3a34c925d2e35afded2e9748a010d1
MD5 f43c66b94f4ec1b4548bb6c2f467537b
BLAKE2b-256 882a495ed9ca83ce30ca7e95a8c8a96c5fdbb3ef17685789e2e55ebfe52869cc

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