chore: Issue closure 125 cleanup
This commit is contained in:
50
capabilities/markitect-utils/src/markitect_utils/__init__.py
Normal file
50
capabilities/markitect-utils/src/markitect_utils/__init__.py
Normal file
@@ -0,0 +1,50 @@
|
||||
"""
|
||||
MarkiTect Utils - A collection of utility functions for the MarkiTect ecosystem.
|
||||
|
||||
This capability provides commonly used utility functions that can be shared
|
||||
across different MarkiTect capabilities and projects.
|
||||
"""
|
||||
|
||||
from .string_utils import (
|
||||
slugify,
|
||||
truncate,
|
||||
camel_to_snake,
|
||||
snake_to_camel,
|
||||
strip_ansi_codes,
|
||||
)
|
||||
|
||||
from .file_utils import (
|
||||
safe_filename,
|
||||
ensure_extension,
|
||||
get_file_size,
|
||||
is_text_file,
|
||||
normalize_path,
|
||||
)
|
||||
|
||||
from .validation_utils import (
|
||||
is_valid_email,
|
||||
is_valid_url,
|
||||
is_valid_semver,
|
||||
validate_required_fields,
|
||||
)
|
||||
|
||||
__version__ = "0.1.0-dev"
|
||||
__all__ = [
|
||||
# String utilities
|
||||
"slugify",
|
||||
"truncate",
|
||||
"camel_to_snake",
|
||||
"snake_to_camel",
|
||||
"strip_ansi_codes",
|
||||
# File utilities
|
||||
"safe_filename",
|
||||
"ensure_extension",
|
||||
"get_file_size",
|
||||
"is_text_file",
|
||||
"normalize_path",
|
||||
# Validation utilities
|
||||
"is_valid_email",
|
||||
"is_valid_url",
|
||||
"is_valid_semver",
|
||||
"validate_required_fields",
|
||||
]
|
||||
Reference in New Issue
Block a user