mukulcore 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mukulcore/__init__.py +7 -0
- mukulcore/agents/__init__.py +1 -0
- mukulcore/agents/base_agent.py +14 -0
- mukulcore/agents/critic.py +10 -0
- mukulcore/agents/planner.py +10 -0
- mukulcore/agents/researcher.py +10 -0
- mukulcore/agents/writer.py +10 -0
- mukulcore/ai/__init__.py +1 -0
- mukulcore/ai/embeddings.py +8 -0
- mukulcore/ai/llm.py +11 -0
- mukulcore/ai/markdown.py +6 -0
- mukulcore/ai/memory.py +16 -0
- mukulcore/ai/parser.py +10 -0
- mukulcore/ai/prompts.py +8 -0
- mukulcore/ai/templates.py +6 -0
- mukulcore/ai/tokenizer.py +6 -0
- mukulcore/api/__init__.py +1 -0
- mukulcore/api/auth.py +6 -0
- mukulcore/api/client.py +8 -0
- mukulcore/api/requests.py +11 -0
- mukulcore/api/responses.py +11 -0
- mukulcore/cli/__init__.py +1 -0
- mukulcore/cli/doctor.py +6 -0
- mukulcore/cli/init.py +6 -0
- mukulcore/cli/main.py +6 -0
- mukulcore/config/__init__.py +1 -0
- mukulcore/config/constants.py +4 -0
- mukulcore/config/env.py +8 -0
- mukulcore/config/settings.py +17 -0
- mukulcore/database/__init__.py +1 -0
- mukulcore/database/mongodb.py +6 -0
- mukulcore/database/postgres.py +6 -0
- mukulcore/database/sqlite.py +9 -0
- mukulcore/database/vectorstore.py +8 -0
- mukulcore/decorators/__init__.py +1 -0
- mukulcore/decorators/cache.py +20 -0
- mukulcore/decorators/retry.py +29 -0
- mukulcore/decorators/singleton.py +19 -0
- mukulcore/decorators/timer.py +22 -0
- mukulcore/decorators/validate.py +16 -0
- mukulcore/exceptions/__init__.py +8 -0
- mukulcore/exceptions/ai.py +5 -0
- mukulcore/exceptions/api.py +5 -0
- mukulcore/exceptions/graph.py +5 -0
- mukulcore/exceptions/validation.py +5 -0
- mukulcore/graph/__init__.py +1 -0
- mukulcore/graph/checkpoint.py +8 -0
- mukulcore/graph/edges.py +6 -0
- mukulcore/graph/nodes.py +8 -0
- mukulcore/graph/state.py +11 -0
- mukulcore/graph/workflow.py +8 -0
- mukulcore/logging/__init__.py +5 -0
- mukulcore/logging/file_logger.py +15 -0
- mukulcore/logging/formatter.py +10 -0
- mukulcore/logging/logger.py +15 -0
- mukulcore/models/__init__.py +1 -0
- mukulcore/models/base.py +10 -0
- mukulcore/models/requests.py +10 -0
- mukulcore/models/responses.py +10 -0
- mukulcore/tools/__init__.py +1 -0
- mukulcore/tools/calculator.py +6 -0
- mukulcore/tools/csv_tool.py +10 -0
- mukulcore/tools/filesystem.py +8 -0
- mukulcore/tools/github.py +6 -0
- mukulcore/tools/pdf.py +6 -0
- mukulcore/tools/search.py +6 -0
- mukulcore/tools/web.py +6 -0
- mukulcore/utils/__init__.py +5 -0
- mukulcore/utils/file_utils.py +10 -0
- mukulcore/utils/json_utils.py +17 -0
- mukulcore/version.py +3 -0
- mukulcore-0.1.0.dist-info/METADATA +13 -0
- mukulcore-0.1.0.dist-info/RECORD +76 -0
- mukulcore-0.1.0.dist-info/WHEEL +5 -0
- mukulcore-0.1.0.dist-info/licenses/LICENSE +20 -0
- mukulcore-0.1.0.dist-info/top_level.txt +1 -0
mukulcore/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Agents package."""
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"""Base agent abstraction."""
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class BaseAgent:
|
|
7
|
+
"""Simple base class for agents."""
|
|
8
|
+
|
|
9
|
+
def __init__(self, name: str) -> None:
|
|
10
|
+
self.name = name
|
|
11
|
+
|
|
12
|
+
def run(self, task: str, **kwargs: Any) -> str:
|
|
13
|
+
"""Execute a task and return a string result."""
|
|
14
|
+
return f"{self.name}: {task}"
|
mukulcore/ai/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""AI package."""
|
mukulcore/ai/llm.py
ADDED
mukulcore/ai/markdown.py
ADDED
mukulcore/ai/memory.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""Simple memory store."""
|
|
2
|
+
|
|
3
|
+
from typing import Any, Dict
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class MemoryStore:
|
|
7
|
+
"""Store key/value pairs in memory."""
|
|
8
|
+
|
|
9
|
+
def __init__(self) -> None:
|
|
10
|
+
self._store: Dict[str, Any] = {}
|
|
11
|
+
|
|
12
|
+
def set(self, key: str, value: Any) -> None:
|
|
13
|
+
self._store[key] = value
|
|
14
|
+
|
|
15
|
+
def get(self, key: str, default: Any = None) -> Any:
|
|
16
|
+
return self._store.get(key, default)
|
mukulcore/ai/parser.py
ADDED
mukulcore/ai/prompts.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""API package."""
|
mukulcore/api/auth.py
ADDED
mukulcore/api/client.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""CLI package."""
|
mukulcore/cli/doctor.py
ADDED
mukulcore/cli/init.py
ADDED
mukulcore/cli/main.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Configuration package."""
|
mukulcore/config/env.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Pydantic-based settings helpers."""
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
|
|
5
|
+
try:
|
|
6
|
+
from pydantic import BaseModel
|
|
7
|
+
except ImportError: # pragma: no cover
|
|
8
|
+
class BaseModel: # type: ignore
|
|
9
|
+
pass
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class Settings(BaseModel):
|
|
13
|
+
"""Simple application settings container."""
|
|
14
|
+
|
|
15
|
+
app_name: str = "mukulcore"
|
|
16
|
+
debug: bool = False
|
|
17
|
+
api_key: Optional[str] = None
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Database package."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Decorators package."""
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""Caching decorator."""
|
|
2
|
+
|
|
3
|
+
from functools import wraps
|
|
4
|
+
from typing import Any, Callable, Dict, TypeVar
|
|
5
|
+
|
|
6
|
+
T = TypeVar("T")
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def cache(func: Callable[..., T]) -> Callable[..., T]:
|
|
10
|
+
"""Cache the result of a function for repeated calls."""
|
|
11
|
+
cache_store: Dict[tuple, Any] = {}
|
|
12
|
+
|
|
13
|
+
@wraps(func)
|
|
14
|
+
def wrapper(*args, **kwargs) -> T:
|
|
15
|
+
key = (args, tuple(sorted(kwargs.items())))
|
|
16
|
+
if key not in cache_store:
|
|
17
|
+
cache_store[key] = func(*args, **kwargs)
|
|
18
|
+
return cache_store[key]
|
|
19
|
+
|
|
20
|
+
return wrapper
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""Retry helpers."""
|
|
2
|
+
|
|
3
|
+
import time
|
|
4
|
+
from functools import wraps
|
|
5
|
+
from typing import Callable, TypeVar
|
|
6
|
+
|
|
7
|
+
T = TypeVar("T")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def retry(max_attempts: int = 3, delay: float = 0.1):
|
|
11
|
+
"""Retry a function a few times on failure."""
|
|
12
|
+
|
|
13
|
+
def decorator(func: Callable[..., T]) -> Callable[..., T]:
|
|
14
|
+
@wraps(func)
|
|
15
|
+
def wrapper(*args, **kwargs) -> T:
|
|
16
|
+
last_error = None
|
|
17
|
+
for attempt in range(1, max_attempts + 1):
|
|
18
|
+
try:
|
|
19
|
+
return func(*args, **kwargs)
|
|
20
|
+
except Exception as exc: # pragma: no cover - simple helper
|
|
21
|
+
last_error = exc
|
|
22
|
+
if attempt == max_attempts:
|
|
23
|
+
raise
|
|
24
|
+
time.sleep(delay)
|
|
25
|
+
raise last_error
|
|
26
|
+
|
|
27
|
+
return wrapper
|
|
28
|
+
|
|
29
|
+
return decorator
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Singleton decorator."""
|
|
2
|
+
|
|
3
|
+
from functools import wraps
|
|
4
|
+
from typing import Callable, TypeVar
|
|
5
|
+
|
|
6
|
+
T = TypeVar("T")
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def singleton(cls: type[T]) -> type[T]:
|
|
10
|
+
"""Ensure a class only has one instance."""
|
|
11
|
+
instances = {}
|
|
12
|
+
|
|
13
|
+
@wraps(cls)
|
|
14
|
+
def wrapper(*args, **kwargs) -> T:
|
|
15
|
+
if cls not in instances:
|
|
16
|
+
instances[cls] = cls(*args, **kwargs)
|
|
17
|
+
return instances[cls]
|
|
18
|
+
|
|
19
|
+
return wrapper
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"""Timer decorator."""
|
|
2
|
+
|
|
3
|
+
import time
|
|
4
|
+
from functools import wraps
|
|
5
|
+
from typing import Callable, TypeVar
|
|
6
|
+
|
|
7
|
+
T = TypeVar("T")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def timer(func: Callable[..., T]) -> Callable[..., T]:
|
|
11
|
+
"""Measure the execution time of a function."""
|
|
12
|
+
|
|
13
|
+
@wraps(func)
|
|
14
|
+
def wrapper(*args, **kwargs) -> T:
|
|
15
|
+
start = time.perf_counter()
|
|
16
|
+
try:
|
|
17
|
+
return func(*args, **kwargs)
|
|
18
|
+
finally:
|
|
19
|
+
elapsed = time.perf_counter() - start
|
|
20
|
+
print(f"{func.__name__} took {elapsed:.4f}s")
|
|
21
|
+
|
|
22
|
+
return wrapper
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""Validation decorator."""
|
|
2
|
+
|
|
3
|
+
from functools import wraps
|
|
4
|
+
from typing import Callable, TypeVar
|
|
5
|
+
|
|
6
|
+
T = TypeVar("T")
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def validate(func: Callable[..., T]) -> Callable[..., T]:
|
|
10
|
+
"""Placeholder validator decorator."""
|
|
11
|
+
|
|
12
|
+
@wraps(func)
|
|
13
|
+
def wrapper(*args, **kwargs) -> T:
|
|
14
|
+
return func(*args, **kwargs)
|
|
15
|
+
|
|
16
|
+
return wrapper
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Graph package."""
|
mukulcore/graph/edges.py
ADDED
mukulcore/graph/nodes.py
ADDED
mukulcore/graph/state.py
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""File-based logging helper."""
|
|
2
|
+
|
|
3
|
+
import logging
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def create_file_logger(name: str, path: str | Path) -> logging.Logger:
|
|
8
|
+
"""Create a logger that writes to a file."""
|
|
9
|
+
logger = logging.getLogger(name)
|
|
10
|
+
logger.setLevel(logging.INFO)
|
|
11
|
+
handler = logging.FileHandler(path)
|
|
12
|
+
handler.setFormatter(logging.Formatter("%(asctime)s - %(levelname)s - %(message)s"))
|
|
13
|
+
logger.addHandler(handler)
|
|
14
|
+
logger.propagate = False
|
|
15
|
+
return logger
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""Custom formatter helpers."""
|
|
2
|
+
|
|
3
|
+
import logging
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class JsonFormatter(logging.Formatter):
|
|
7
|
+
"""Minimal JSON-like formatter for log records."""
|
|
8
|
+
|
|
9
|
+
def format(self, record: logging.LogRecord) -> str:
|
|
10
|
+
return f'{{"level": "{record.levelname}", "message": "{record.getMessage()}"}}'
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Logging helpers."""
|
|
2
|
+
|
|
3
|
+
import logging
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def get_logger(name: str = "mukulcore") -> logging.Logger:
|
|
7
|
+
"""Create or retrieve a logger instance."""
|
|
8
|
+
logger = logging.getLogger(name)
|
|
9
|
+
if not logger.handlers:
|
|
10
|
+
handler = logging.StreamHandler()
|
|
11
|
+
handler.setFormatter(logging.Formatter("%(levelname)s:%(name)s:%(message)s"))
|
|
12
|
+
logger.addHandler(handler)
|
|
13
|
+
logger.setLevel(logging.INFO)
|
|
14
|
+
logger.propagate = False
|
|
15
|
+
return logger
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Data models package."""
|
mukulcore/models/base.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Tools package."""
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""CSV helper placeholder."""
|
|
2
|
+
|
|
3
|
+
import csv
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def read_csv(path: str | Path) -> list[dict[str, str]]:
|
|
8
|
+
"""Read a CSV file into a list of rows."""
|
|
9
|
+
with Path(path).open(newline="", encoding="utf-8") as handle:
|
|
10
|
+
return list(csv.DictReader(handle))
|
mukulcore/tools/pdf.py
ADDED
mukulcore/tools/web.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""File system utility helpers."""
|
|
2
|
+
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def ensure_parent_dir(path: str | Path) -> Path:
|
|
7
|
+
"""Create the parent directory for a file path if needed."""
|
|
8
|
+
path = Path(path)
|
|
9
|
+
path.parent.mkdir(parents=True, exist_ok=True)
|
|
10
|
+
return path
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""JSON utility helpers."""
|
|
2
|
+
|
|
3
|
+
import json
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
from typing import Any
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def load_json(path: str | Path) -> Any:
|
|
9
|
+
"""Load JSON data from a file."""
|
|
10
|
+
with Path(path).open("r", encoding="utf-8") as handle:
|
|
11
|
+
return json.load(handle)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def dump_json(path: str | Path, data: Any) -> None:
|
|
15
|
+
"""Write JSON data to a file."""
|
|
16
|
+
with Path(path).open("w", encoding="utf-8") as handle:
|
|
17
|
+
json.dump(data, handle, indent=2)
|
mukulcore/version.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mukulcore
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A small utility package
|
|
5
|
+
Author: mukulcore
|
|
6
|
+
Requires-Python: >=3.9
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Dynamic: license-file
|
|
10
|
+
|
|
11
|
+
# mukulcore
|
|
12
|
+
|
|
13
|
+
A small utility package with logging, retry, JSON, file, and config helpers.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
mukulcore/__init__.py,sha256=ZO7VOvcJRHRJ7FgKDBs5wbkRcjxP9O7H5q3s_nyM2qk,93
|
|
2
|
+
mukulcore/version.py,sha256=ggWnNH4drSISjW0lG3dBsso9PUVKSCfD-cCG1RB7gpo,61
|
|
3
|
+
mukulcore/agents/__init__.py,sha256=kpaDIdyC6gbwB1NgouGTCpFOlN6wpGZfEuzZCFKoTwY,23
|
|
4
|
+
mukulcore/agents/base_agent.py,sha256=tGHscl76zCP1l6yrHkrgu5RG7uiDsjnRjaVWQ8D4cKE,344
|
|
5
|
+
mukulcore/agents/critic.py,sha256=w0hpQutxqlG05Hvt3xaBf7rw4O5uZCGvufap6uHn10A,201
|
|
6
|
+
mukulcore/agents/planner.py,sha256=xk490dEcUcDQ6LHYC5ju3GYqBhlUJTt9l1U_KCCquJ4,204
|
|
7
|
+
mukulcore/agents/researcher.py,sha256=upHLm__9IHzaAQ5JYlCHb4A70U0OwC46J3OF77_dZ3Q,213
|
|
8
|
+
mukulcore/agents/writer.py,sha256=lhHDdGga_j6VP-koMX2Yc8i4jM56HAi8Igcf4zgeXrc,200
|
|
9
|
+
mukulcore/ai/__init__.py,sha256=JMabe1fVHBvAAsrXbQqSPat2uJCF5Y-IUi-jqw4SDNs,19
|
|
10
|
+
mukulcore/ai/embeddings.py,sha256=-o7sTdOG959tm_1vMYKpucGIrlz38garDv6gT_ysQ58,223
|
|
11
|
+
mukulcore/ai/llm.py,sha256=SbJHdIUABDaNAMwRpnQkOl_VGxiEQeVcoWAygk4CKFQ,266
|
|
12
|
+
mukulcore/ai/markdown.py,sha256=Srxbs6h0sXE71ybqHZUsYZMntfoT_4LTtHqwgTBY0V4,135
|
|
13
|
+
mukulcore/ai/memory.py,sha256=X7uFvgv8puJRnIydHSj6nXADy8fJ5_FCK5A17Smyn5w,397
|
|
14
|
+
mukulcore/ai/parser.py,sha256=K7d4LpkeqTUHLXbuMirZG3o3Z4WZZyRvVLODv3RyIXY,181
|
|
15
|
+
mukulcore/ai/prompts.py,sha256=atZi_SeVNsxuvUiP6FBy021jYHgg-ZJut-RZ6kulqrA,198
|
|
16
|
+
mukulcore/ai/templates.py,sha256=jeWskcb9XyjXaxLwyB0Tmn1-8MpBf9sKqwSnxP-KDIQ,160
|
|
17
|
+
mukulcore/ai/tokenizer.py,sha256=YJy-_3rN7zKHdRrgMBHY50RjtRLmj1ZiNWcIHG5M190,132
|
|
18
|
+
mukulcore/api/__init__.py,sha256=W5bQNZGz2YLMXx1hC9e_eKhbf_GNFVYy3MC3D7gugUc,20
|
|
19
|
+
mukulcore/api/auth.py,sha256=vx0CO3ieoD2LK7npZjoFHUvU9j0evjzUv_aZJvnZ0lA,177
|
|
20
|
+
mukulcore/api/client.py,sha256=p1qyyPiLEWyCgC61cmh23a5YCo6wBCr1R_qUd-ehZEw,178
|
|
21
|
+
mukulcore/api/requests.py,sha256=pTtISUSWHRtNy3cmsnzisxs2Rb4a28-sFs6Ib0U3a8g,180
|
|
22
|
+
mukulcore/api/responses.py,sha256=MjssCsjhCwARBqwpLtGDJShpk6nzc7ceJQsJ73gO998,187
|
|
23
|
+
mukulcore/cli/__init__.py,sha256=EVBgqtvjACyYOpTqfUrgYlLGsgMp1bJlbxQyDxzLypo,20
|
|
24
|
+
mukulcore/cli/doctor.py,sha256=tmU9Z3wLw9sleGk1y4gn8ATiQ7X04GzV1ahuKG23hTM,134
|
|
25
|
+
mukulcore/cli/init.py,sha256=OKjVC-qIwgN0S8MQz_cewUjhZxgaIQxx_9uLZMoKLZU,145
|
|
26
|
+
mukulcore/cli/main.py,sha256=DZRFjYzSKUI8ineQAzF0ntHwW2kGmJ80tXkYQA6O7ag,113
|
|
27
|
+
mukulcore/config/__init__.py,sha256=sE-HksctgL1Ut6O6fuuAiREUHlU60tvKf-5SpZMVRAw,30
|
|
28
|
+
mukulcore/config/constants.py,sha256=yFNbXibPsyJIlg3IpOLWK5Eg9DvSjALj_batQXwOe00,70
|
|
29
|
+
mukulcore/config/env.py,sha256=m-qR5k18xXuGJfVVmsWEiisUBibVzQ_w1tLiPgKaL1w,198
|
|
30
|
+
mukulcore/config/settings.py,sha256=_qiH5cLR2Fzqa86qurRDKkHD4K6l3b0BlRQh08x58Ik,385
|
|
31
|
+
mukulcore/database/__init__.py,sha256=Eo4qZjFu7mJWJ0ZMB1F6p7eXswpVZDxdgA0shdLdn8o,25
|
|
32
|
+
mukulcore/database/mongodb.py,sha256=B7FbojyVfUg1PzZJ_it2ALKdqmP9AAvCN1mR5P-3YC8,174
|
|
33
|
+
mukulcore/database/postgres.py,sha256=gpQfBd0iqhHDq-02I92gQXQQ0kvuAj7obGYobBaatgU,227
|
|
34
|
+
mukulcore/database/sqlite.py,sha256=3UwdRNqIW4SAWpkC9hNacYFwSrd0to1_1oiZd9YDVP0,205
|
|
35
|
+
mukulcore/database/vectorstore.py,sha256=SP_OhYaXF1ehUtjzhzy5JKy_MguRtP239K-bT05o7ow,231
|
|
36
|
+
mukulcore/decorators/__init__.py,sha256=ejFTCZG59rcr_-oO2Vgx5xkSX87jHcmZilFGfQZS7dA,27
|
|
37
|
+
mukulcore/decorators/cache.py,sha256=GXMyks_0Ml1MtcesGvoztsPYEJAKMyabkPMEXThBbc4,546
|
|
38
|
+
mukulcore/decorators/retry.py,sha256=QXKt5PKio9U2HCJ6RUbnQTgGCKCyNhRSiZU1PWENXJE,841
|
|
39
|
+
mukulcore/decorators/singleton.py,sha256=EN4ZriwKEF7rCTpB_IUYNRG8BedgQh2-BdxZ2kLkVXQ,428
|
|
40
|
+
mukulcore/decorators/timer.py,sha256=gD2Agb9Me8Jd-Iw6hITby-zx2jXsUaTFxL4moYWMyTs,542
|
|
41
|
+
mukulcore/decorators/validate.py,sha256=z_xRAh8g1st5vpAecldNwn2kBqF6VH5XtjcFiq-ZVsE,345
|
|
42
|
+
mukulcore/exceptions/__init__.py,sha256=0RCftIVNnbKCU0tqgbh06MfW1nQ6Dql0XOK34Ua5OzU,223
|
|
43
|
+
mukulcore/exceptions/ai.py,sha256=e1F0xn9KqGQ3MnB1PR2oHQAFPPsi0TuYCHtHHWkn-Dw,104
|
|
44
|
+
mukulcore/exceptions/api.py,sha256=9CHxMeswA9h_HV1SvAXsA7Cei2cqh2mjzkZSHFd22EA,107
|
|
45
|
+
mukulcore/exceptions/graph.py,sha256=oyE4mSJJD6DFHt6zUCEW2ejPHIEyxnvQFVhFiM9uhqA,114
|
|
46
|
+
mukulcore/exceptions/validation.py,sha256=OwAiiv3S6aOjxLbIhhDWblXGeKR1-4VWQybsjmdVWIY,120
|
|
47
|
+
mukulcore/graph/__init__.py,sha256=posiNcxsrJe8xfda8j1b1B5RtRU7b-HrHq7USN67tKQ,22
|
|
48
|
+
mukulcore/graph/checkpoint.py,sha256=voCoIpYWKHLKtwhFVgJyrLd1pfpQp_Gqbc3_Rsbi_Bk,214
|
|
49
|
+
mukulcore/graph/edges.py,sha256=H7G1RwXFYZwTro3HpjSaMsii3y6YEGpLzvfI_VV7GhE,86
|
|
50
|
+
mukulcore/graph/nodes.py,sha256=F9d9ucNHFZfBwRejAoVFDepBgihc2vvknLemWb3TkKc,165
|
|
51
|
+
mukulcore/graph/state.py,sha256=10j6vfOX-YdtwQBHEnU9A_HL1zzyU489MOyptpCfnVY,257
|
|
52
|
+
mukulcore/graph/workflow.py,sha256=AKSib3p_esMmF1PMszT3QQQbVaU_Toz-U0-LO2O0PJY,196
|
|
53
|
+
mukulcore/logging/__init__.py,sha256=4iDT5RqNr-0_NSdTzvMIR_jzBKK4DZApnUhAwaqgGfI,86
|
|
54
|
+
mukulcore/logging/file_logger.py,sha256=tLqYUogdEwms8fRLAFHAnwBNta8fHx7HopApEDu8cnM,489
|
|
55
|
+
mukulcore/logging/formatter.py,sha256=1wwLvih-DClf9BvGuFCympLjN11YSSJ7-6MzV2939c8,300
|
|
56
|
+
mukulcore/logging/logger.py,sha256=xbrD0vAumnEWOuxvXH7yL9hYeQOtIzKa0OKv5JLoeGY,472
|
|
57
|
+
mukulcore/models/__init__.py,sha256=_eTOtQfUCRHGAxJKyJzgMxem2DTUcVyNOYtvBsvMhsA,28
|
|
58
|
+
mukulcore/models/base.py,sha256=FUifj7da3Hi8XVpdQGuTj4CJwHflzLDIiOmhmYFSJvU,162
|
|
59
|
+
mukulcore/models/requests.py,sha256=lio4VQg0C5HPhymtlZaiJrIIJ7D6192VX_BkWlk4P6M,169
|
|
60
|
+
mukulcore/models/responses.py,sha256=SZ-pHyTpTuciQFUvl0eNTCS3Q8r63CyhxpykogncYko,172
|
|
61
|
+
mukulcore/tools/__init__.py,sha256=Dq8aBI6e9uBx9S1EX6jqfN-xCZmlk7bmFXsVAd7oT_0,22
|
|
62
|
+
mukulcore/tools/calculator.py,sha256=LZhSWHC8xQOKnv63Wl7h2MuGzEpkEPfwRQlrzXIroks,125
|
|
63
|
+
mukulcore/tools/csv_tool.py,sha256=IKBC4wLJXXCGdL-Ifz_TwBOqhueC8wZAlgNkvctcPtA,292
|
|
64
|
+
mukulcore/tools/filesystem.py,sha256=7xrTwdd-HLPZNlw2WofYQA6ur4k05JJPU6pr2bQmiFk,194
|
|
65
|
+
mukulcore/tools/github.py,sha256=u_U0kjrppK7aGCH9syQl1NYKVYHw1F53YQ02_qdKf0I,187
|
|
66
|
+
mukulcore/tools/pdf.py,sha256=ognA4A4t3qNCtz7Q68rHM-8sepIuUDzuUlZ3fHhys0c,149
|
|
67
|
+
mukulcore/tools/search.py,sha256=2xwO832cibL83F8H2yi3yKk19E8ktstywjAjhr42b3s,141
|
|
68
|
+
mukulcore/tools/web.py,sha256=7p-Sytcf2peWhucIpHALKh7ylcF7r_Z1Vxdi29Mf5n4,143
|
|
69
|
+
mukulcore/utils/__init__.py,sha256=0j3GpnAdACrp53stkZuPGJ47MUqXKZQoK5fugCoGFOc,106
|
|
70
|
+
mukulcore/utils/file_utils.py,sha256=UBuuL12v1g-oB-OH0sOvSpYOjnNM5i9H_OkNZxEMzuQ,276
|
|
71
|
+
mukulcore/utils/json_utils.py,sha256=3aLesOE9uip4wU37pho665W2-ODTsEF-kcXDMcgojps,470
|
|
72
|
+
mukulcore-0.1.0.dist-info/licenses/LICENSE,sha256=_k8t1PUPknBh0X4l14HKy0zsInEZiZJJ4vDbnbnMN_M,1021
|
|
73
|
+
mukulcore-0.1.0.dist-info/METADATA,sha256=VyPJXR7ic-7Zm65PgtMFkwa2TVARxhrycj_mIv1i-Ss,315
|
|
74
|
+
mukulcore-0.1.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
75
|
+
mukulcore-0.1.0.dist-info/top_level.txt,sha256=L2DOr9azvU7DvLx8GtEpUZvYh4Dg0n_MzOj9WvV9tdE,10
|
|
76
|
+
mukulcore-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 mukulcore
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TO USE, THE SOFTWARE OR OTHER
|
|
20
|
+
DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
mukulcore
|