Singer-compatible inline map transformer, built with the Meltano SDK for Singer Taps.
Project description
meltano-map-transformer
A map transformer to duplicate, filter, hash, mask and do many more small transformations in your extract & load pipelines. Implements the Stream Maps capability.
This mapper plugin is fully compliant with the Singer Spec and can be placed in between any Singer tap and target.
Requirements
- Python 3.10+
meltano-map-transformer in action
For a collection of examples, take a look at examples/README.md.
Settings
| Setting | Required | Default | Description |
|---|---|---|---|
| stream_maps | True | None | Stream maps |
| flattening_enabled | False | None | 'True' to enable schema flattening and automatically expand nested properties. |
| flattening_max_depth | False | None | The max depth to flatten schemas. |
| stream_map_config | False | None | User-defined config values to be used within map expressions. |
A full list of supported settings and capabilities is available by running: meltano-map-transformer --about
Installation
We recommend using GitHub release tags when installing with pip. We also recommend using pipx or meltano instead of installing with pip directly.
You can see a full list of published releases here.
For example:
# Use `uv` so that virtual environments are managed automatically:
uv tool install meltano-map-transform==0.10.0
# Alternatively, use `pipx`:
pipx install meltano-map-transform==0.10.0
Meltano installation instructions
-
Add this plugin to your Meltano project
meltano add mapper meltano-map-transformer -
Install the plugin
meltano install -
Configure the plugin
# meltano.yml plugins: mappers: - name: meltano-map-transformer pip_url: meltano-map-transform executable: meltano-map-transform mappings: - name: hash_email config: stream_maps: customers: email: null # drop the PII field from RECORD and SCHEMA messages email_domain: email.split('@')[-1] email_hash: md5(config['hash_seed'] + email) __else__: null # drop all other fields stream_map_config: hash_seed: 01AWZh7A6DzGm6iJZZ2T
-
Use the plugin in your pipelines
meltano run tap-csv hash_email target-sqlite
Capabilities
stream-maps
Settings
| Setting | Required | Default | Description |
|---|---|---|---|
| stream_maps | True | None | Stream maps |
A full list of supported settings and capabilities is available by running: meltano-map-transformer --about
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file meltano_map_transform-0.11.1.tar.gz.
File metadata
- Download URL: meltano_map_transform-0.11.1.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e774d8b48de953923c3b42a91fed666d6f63b1fa2993f3ef2d372836094ef82
|
|
| MD5 |
180e37c7421f4ad93c6683fbe5b32ec5
|
|
| BLAKE2b-256 |
2a0a5c2973ae98dc3022e34346ae1c076cdeafc7fd49f0ac7ea837bb1d8151c3
|
Provenance
The following attestation bundles were made for meltano_map_transform-0.11.1.tar.gz:
Publisher:
build.yaml on MeltanoLabs/meltano-map-transform
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
meltano_map_transform-0.11.1.tar.gz -
Subject digest:
6e774d8b48de953923c3b42a91fed666d6f63b1fa2993f3ef2d372836094ef82 - Sigstore transparency entry: 623411517
- Sigstore integration time:
-
Permalink:
MeltanoLabs/meltano-map-transform@713630713b2bf5ebb42a902eb1ee0d6adba398dc -
Branch / Tag:
refs/tags/v0.11.1 - Owner: https://github.com/MeltanoLabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yaml@713630713b2bf5ebb42a902eb1ee0d6adba398dc -
Trigger Event:
push
-
Statement type:
File details
Details for the file meltano_map_transform-0.11.1-py3-none-any.whl.
File metadata
- Download URL: meltano_map_transform-0.11.1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24ce2350de800f6bd2e3c6743fbcf840cd6df3dc1e662628313465ef4ccfca59
|
|
| MD5 |
4882befea56232547a829b1ad5ba4616
|
|
| BLAKE2b-256 |
98137672ccdb07e92145693b7b6879f0a2568dfe34f853ae25e4efee0c91187f
|
Provenance
The following attestation bundles were made for meltano_map_transform-0.11.1-py3-none-any.whl:
Publisher:
build.yaml on MeltanoLabs/meltano-map-transform
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
meltano_map_transform-0.11.1-py3-none-any.whl -
Subject digest:
24ce2350de800f6bd2e3c6743fbcf840cd6df3dc1e662628313465ef4ccfca59 - Sigstore transparency entry: 623411523
- Sigstore integration time:
-
Permalink:
MeltanoLabs/meltano-map-transform@713630713b2bf5ebb42a902eb1ee0d6adba398dc -
Branch / Tag:
refs/tags/v0.11.1 - Owner: https://github.com/MeltanoLabs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yaml@713630713b2bf5ebb42a902eb1ee0d6adba398dc -
Trigger Event:
push
-
Statement type: