Skip to main content

lightweight Extract-Transform-Load (ETL) framework for Python 3+

Project description

Ragnar

https://img.shields.io/pypi/v/ragnar.svg https://img.shields.io/travis/juanmcristobal/ragnar.svg Documentation Status https://coveralls.io/repos/github/juanmcristobal/ragnar/badge.svg?branch=master

Ragnar is a lightweight Extract-Transform-Load (ETL) framework for Python 3.5+.

Features

  • Keeps a functional programming philosophy.
  • Code reuse instead of “re-inventing the wheel” in each script.
  • Customizable for your organization’s particular tasks.

Example

A pipeline that applies capital letters to the list and then filters through the one starting with “B”:

>>> from ragnar.stream import Stream
>>> st = Stream(["apple", "banana", "cherry"])
>>> st.do(lambda x: x.upper())
<ragnar.stream.Stream object at 0x7fbe8e3509d0>
>>> st.filter(lambda x:x.startswith("B"))
<ragnar.stream.Stream object at 0x7fbe8e3509d0>
>>> for row in st:
...     print(row)
BANANA

History

0.1.0 (2019-04-11)

  • First release on PyPI.

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

ragnar-0.3.2.tar.gz (12.5 kB view hashes)

Uploaded source

Built Distribution

ragnar-0.3.2-py2.py3-none-any.whl (4.7 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page