Data Refinery: transformating data
Project description
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
Release history Release notifications | RSS feed
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)
Built Distribution
File details
Details for the file data-refinery-0.2.13.tar.gz
.
File metadata
- Download URL: data-refinery-0.2.13.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
fa2344f7038a08ebb87fa57fed84fa9ab9610e3de4e920b3ff325f22cf67a4e5
|
|
MD5 |
02aa1495838d23cc15a136b5cf2b8940
|
|
BLAKE2b-256 |
3bbd5d2b5fcb60a6a1e3f2789ef32132cb2f47b0da3fe38a98bb07b8aa5f1dba
|
File details
Details for the file data_refinery-0.2.13-py3-none-any.whl
.
File metadata
- Download URL: data_refinery-0.2.13-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
260572164cf143b50dfaea76e6f80fd7d641050b35ad5c396e9c8e269a96e75e
|
|
MD5 |
8da0da4f2a11a7ebd612c0e701180879
|
|
BLAKE2b-256 |
753a4114f93fc5fabadd553314a32182833c3d56acc06b6232f5a7333c4ae314
|