Skip to main content

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)

Source distribution for zeta-mlx-core 0.3.2
File Size Uploaded
zeta_mlx_core-0.3.2.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zeta-mlx-core 0.3.2
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page