zeta-mlx-core
Core types and pure functions for Zeta MLX platform.
Installation
pip install zeta-mlx-core
Features
- Pure Domain Types: Message, GenerationParams, ToolDefinition
- Result Monad: Railway-oriented programming with
Result[T, E] - Validation: Pure validation functions
- Configuration: YAML-based config management
Usage
from zeta_mlx.core import (
Message, GenerationParams, Result, Success, Failure,
Temperature, TopP, MaxTokens,
)
# Create a message
msg = Message(role="user", content="Hello!")
# Create generation parameters
params = GenerationParams(
max_tokens=MaxTokens(1024),
temperature=Temperature(0.7),
top_p=TopP(0.9),
)
# Use Result for error handling
result: Result[str, str] = Success("Hello!")
Links
Metadata
Release files for zeta-mlx-core 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zeta_mlx_core-0.3.2.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| zeta_mlx_core-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.2 kB
Release files / zeta_mlx_core-0.3.2.tar.gz
| Download URL | zeta_mlx_core-0.3.2.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c675e907554fb9ded461aa398fff47bb9f67993b1b13abcafc62d27b69d37ce
|
|
BLAKE2b-256 checksum How to use checksums |
39f28d69b460833429c46ae144156081e50e74460b523db8398cdb4e56820a2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.14.0 Darwin/25.1.0
|
Release files / zeta_mlx_core-0.3.2-py3-none-any.whl
| Download URL | zeta_mlx_core-0.3.2-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06b90ca35ab31c6a01e96f8710a22e85db22b599b3f6f10985e96c0c65786562
|
|
BLAKE2b-256 checksum How to use checksums |
7321b641b8e7c453a6bbc2b7680a53f4ae9eacad0ed4493708dcb435550842cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.14.0 Darwin/25.1.0
|