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 secuential

x2 = wrap(lambda x: x*2)

operation = secuential(keep(["name"]), substitution(["value"], x2))
(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.2.2.tar.gz (9.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.2.2-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: data-refinery-0.2.2.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for data-refinery-0.2.2.tar.gz
Algorithm Hash digest
SHA256 7c9156abf26f2841feef3ba6b25052f4c61d6026192e020d1fbc8ebdd6f15458
MD5 dd373d53aa0906383e13665fd8f751fe
BLAKE2b-256 99e3b96873c7216c88bed3a7a38d3dc8aca7c62eb72787716101817c008b7ed2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for data_refinery-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 de5b4679334711c043f1fb48d70ba77fbf3f30e2f5bbb5e3004f887f24d159d6
MD5 a4623880b4e460f6836c1dfbe336cc2d
BLAKE2b-256 a20725232f23314426b415b31e720f70b62671256754ea55d086a93848b46b21

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