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.tuple.TupleOperations import wrap, keep, substitution
from datarefinery.Tr import Tr

x2 = wrap(lambda x: x*2)

tr = Tr(keep(["name"])).then(substitution(["value"], x2))
operation = tr.apply()
(inp, res, err) = operation({"name": "John", "value": 10})
print(res) # {"name": "John", "value": 20}

Documentation

Visit complete documentation at github pages branch or 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.1.65.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

data_refinery-0.1.65-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for data-refinery-0.1.65.tar.gz
Algorithm Hash digest
SHA256 b30c0395675a1a140ca75fb48c7698a5c69c6697ac64ff147e4356da3a5dc0ac
MD5 1015579d4cac539dd3059922d85cdbca
BLAKE2b-256 f2fba30f62cf5c2021c3b0a7dec255077bf6137ef183a0d53625aeee515757a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for data_refinery-0.1.65-py3-none-any.whl
Algorithm Hash digest
SHA256 e6dfc017ff337da6f85a6c424d6964f03dc9be4eb9f35890f877e278a993e722
MD5 d973187abbc983aceb6e17194a8c2e2e
BLAKE2b-256 857ed7e5b24747d69357ea09e25a71e2ef909796558071cdc5d636a8a9691ff2

See more details on using hashes here.

Supported by

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