Skip to main content

Data Refinery: transformating data

Project description

Build Status Coverage Docs Version PyVersions License

Data Refinery

The main goal of the library is perform a Transformation over a data event. Supports a variety of functions typically used on machine learning and AI.

Development is oriented into a functional style avoiding side effects on transformations.


In console pip install data-refinery or python install from sources.

Usage example

from datarefinery.TupleOperations import wrap, keep, substitution
from datarefinery.CombineOperations import sequential

x2 = wrap(lambda x: x*2)

operation = sequential(keep(["name"]), substitution(["value"], x2))
(res, err) = operation({"name": "John", "value": 10})
print(res) # {"name": "John", "value": 20}


Visit complete documentation at


Python: 3.5, 3.6


Follow the steps on the how to contribute document.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for data-refinery, version 0.2.13
Filename, size File type Python version Upload date Hashes
Filename, size data_refinery-0.2.13-py3-none-any.whl (16.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size data-refinery-0.2.13.tar.gz (10.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page