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.
Release files for data-refinery 0.1.63
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| data-refinery-0.1.63.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| data_refinery-0.1.63-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.8 kB
Release files / data-refinery-0.1.63.tar.gz
| Download URL | data-refinery-0.1.63.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e06f4a245b7f6aae17a1ab547dc868f049a3ad166b6ec5104cfe85f1e7f935c0
|
|
BLAKE2b-256 checksum How to use checksums |
44bd2ae48178394f1af4199c5e455d39b014980b9b50c72b7d01ae4136a35e31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / data_refinery-0.1.63-py3-none-any.whl
| Download URL | data_refinery-0.1.63-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a09d48d0c1f97ffa3dd45d2f0401fab4110d4026db23ce1d3b1c920b39ce74cc
|
|
BLAKE2b-256 checksum How to use checksums |
c9a892f840255908c67e594ffcf1bd3412fc5c6a812e8513d2b6bf8eaa5ea300
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |