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 release tags when installing from GitHub. We also recommend using uv or 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
# Alternatively, use `pipx`:
pipx install meltano-map-transform
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
Metadata
Release files for meltano-map-transform 0.12.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| meltano_map_transform-0.12.3.tar.gz | 990.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| meltano_map_transform-0.12.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 999.7 kB
Release files / meltano_map_transform-0.12.3.tar.gz
| Download URL | meltano_map_transform-0.12.3.tar.gz |
|---|---|
| Size | 990.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddbee598e2a911670900271d5402730794a6e72b963a76594ae5479df204155d
|
|
BLAKE2b-256 checksum How to use checksums |
d93416eea1f93ee492202ec4bccb7f32a37c8939b1cae390603d7ea4479884cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency logRelease files / meltano_map_transform-0.12.3-py3-none-any.whl
| Download URL | meltano_map_transform-0.12.3-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55512c13edde744042974a265c04c93d78a0e671932d6ff5f1188a0c90d9c7aa
|
|
BLAKE2b-256 checksum How to use checksums |
d287bf0329eb0c5f57914e9f7dfb527256f6459288ebc309b5478a51fd8f1672
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.
Transparency log