LangGate Transform
Parameter transformation utilities for LangGate AI Gateway.
This package provides the core parameter transformation logic used by both:
- Local registry clients to transform parameters for direct model calls
- The Envoy external processor to transform parameters in the proxy
It implements a declarative approach to parameter transformation that can be:
- Used directly in Python applications
- Potentially reimplemented in other languages (like Go) for external processors
- Extended with custom transformation rules
Parameter Transformation Precedence
The transformation module follows a specific precedence order when applying parameter transformations:
Defaults (applied only if key doesn't exist yet):
- Model-specific defaults (highest precedence for defaults)
- Pattern defaults (matching patterns applied in config order)
- Service provider defaults
- Global defaults (lowest precedence for defaults)
Overrides/Removals/Renames (applied in order, later steps overwrite/modify earlier ones):
- Input parameters (initial state)
- Service-level API keys and base URLs
- Service-level overrides, removals, renames
- Pattern-level overrides, removals, renames (matching patterns applied in config order)
- Model-specific overrides, removals, renames (highest precedence)
- Model ID (always overwritten with service_model_id)
- Environment variable substitution (applied last to all string values)
Metadata
Release files for langgate-transform 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| langgate_transform-0.4.1.tar.gz | 5.4 kB | Without provenance | Details for langgate_transform-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langgate_transform-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for langgate_transform-0.4.1-py3-none-any.whl |
Total release size: 12.5 kB
Release files / langgate_transform-0.4.1.tar.gz
| Download URL | langgate_transform-0.4.1.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d4d89f695a8cb6f8703b6c4c3aac95c0f8c12094dc648105d53492eed1a1833
|
|
BLAKE2b-256 checksum How to use checksums |
13e71a073f7830dbea1ff48c82e2243a015c38034bd0cd747f7ee3c6d5a4c377
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.6.9
|
Release files / langgate_transform-0.4.1-py3-none-any.whl
| Download URL | langgate_transform-0.4.1-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9227f8c6a928b2557d7510b091701e49563d418a806ead0cee171176bd6d6ee2
|
|
BLAKE2b-256 checksum How to use checksums |
ea8c3d181f7f0098b9936fb0531cb4701ba452095fc43ad10f92d8e2eb805b5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.6.9
|
Security for langgate-transform 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.