Gretel Logo

Gretel Python Client

Gobs the Gretel.ai cat An open source data transformation library and bindings to Gretel APIs

Run Test Suite Documentation Status GitHub PyPI Python Downloads GitHub stars

**Documentation**

https://img.shields.io/badge/api-reference-blue.svg:target:https://gretel-client.readthedocs.io/en/stable/api_bindings/api_ref.html:alt:DocumentationCloudAPI https://img.shields.io/badge/api-reference-blue.svg:target:https://gretel-client.readthedocs.io/en/stable/transformers/api_ref.html:alt:DocumentationTransformersSDK

Try it out now!

If you want to quickly discover the Gretel client and Transformer libraries, simply click the buttons below and follow the tutorials!

  • https://colab.research.google.com/assets/colab-badge.svg:target:https://colab.research.google.com/github/gretelai/gretel-python-client/blob/master/notebooks/simple_pub_sub.ipynb:alt:OpeninColabBlueprintexampletodemonstrateNLPlabelingandpublish/subscribeviatheGretelcloud.
  • https://colab.research.google.com/assets/colab-badge.svg:target:https://colab.research.google.com/github/gretelai/gretel-python-client/blob/master/notebooks/simple_constant_fakes.ipynb:alt:OpeninColabBlueprintexampletodemonstratedeterministicallyreplacingfieldvalueswithfakeentities.

Overview

The Gretel Python Client provides bindings to the Gretel REST API and a transformation sub-package that provides interfaces to manipulate data based on a variety of use cases.

The REST API bindings and transformer interfaces can be used separately or together to solve a variety of data analysis, anonymization, and other ETL use cases.

The Gretel REST API provides automated data labeling that generates a metadata record for every JSON record it receives. This combined record + metadata tuple can be fed directly into the transformer interfaces to help automate the transformation of data without needing to know what field certain data elements are in.

The transformer interfaces may be used with un-labeled data as well and operate directly on Python dictionaries if desired.

Please check out client.md or transformers.md for a quick start on these packages or check them out in our documentation.)

Client API Bindings

Gretel Transformers

CLI Tool

Indices and tables