Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

data-refinery

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-refinery

Data Refinery: transformating data

  • 0.2.13
  • PyPI
  • Socket score

Maintainers
1

|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

.. code-block:: python

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 <https://data-refinery.readthedocs.io>_.

Compatibility

Python: 3.5, 3.6

Contribute

Follow the steps on the how to contribute <https://github.com/BBVA/data-refinery/blob/master/CONTRIBUTING.md>_ document.

.. |Build Status| image:: https://travis-ci.org/BBVA/data-refinery.svg :target: https://travis-ci.org/BBVA/data-refinery .. |Coverage| image:: https://codecov.io/gh/BBVA/data-refinery/branch/master/graph/badge.svg :target: https://codecov.io/gh/BBVA/data-refinery .. |Docs| image:: https://readthedocs.org/projects/data-refinery/badge/?version=latest :target: http://data-refinery.readthedocs.io/?badge=latest .. |Version| image:: https://img.shields.io/pypi/v/data-refinery.svg :target: https://pypi.org/project/data-refinery .. |PyVersions| image:: https://img.shields.io/pypi/pyversions/data-refinery.svg :target: https://pypi.org/project/data-refinery .. |License| image:: https://img.shields.io/badge/License-Apache%202.0-blue.svg :target: https://opensource.org/licenses/Apache-2.0

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc