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.

Installation

In console pip install data-refinery or python setup.py 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}

Documentation

Visit complete documentation at readthedocs.io.

Compatibility

Python: 3.5, 3.6

Contribute

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.

Source Distribution

data-refinery-0.2.13.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

data_refinery-0.2.13-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file data-refinery-0.2.13.tar.gz.

File metadata

File hashes

Hashes for data-refinery-0.2.13.tar.gz
Algorithm Hash digest
SHA256 fa2344f7038a08ebb87fa57fed84fa9ab9610e3de4e920b3ff325f22cf67a4e5
MD5 02aa1495838d23cc15a136b5cf2b8940
BLAKE2b-256 3bbd5d2b5fcb60a6a1e3f2789ef32132cb2f47b0da3fe38a98bb07b8aa5f1dba

See more details on using hashes here.

File details

Details for the file data_refinery-0.2.13-py3-none-any.whl.

File metadata

File hashes

Hashes for data_refinery-0.2.13-py3-none-any.whl
Algorithm Hash digest
SHA256 260572164cf143b50dfaea76e6f80fd7d641050b35ad5c396e9c8e269a96e75e
MD5 8da0da4f2a11a7ebd612c0e701180879
BLAKE2b-256 753a4114f93fc5fabadd553314a32182833c3d56acc06b6232f5a7333c4ae314

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page