Navigation Menu

Skip to content

juanmcristobal/ragnar

Repository files navigation

Ragnar

image

image

image

Documentation Status

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published