Framework to develop datapipelines from files on disk to full dissemenation API
Actively maintained. Last release 5 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
pip install maggmaWhat is Maggma
Maggma is a framework to build scientific data processing pipelines from data stored in
a variety of formats -- databases, Azure Blobs, files on disk, etc., all the way to a
REST API. The rest of this README contains a brief, high-level overview of what maggma can do.
For more, please refer to the documentation.
Installation from PyPI
Maggma is published on the Python Package Index. The preferred tool for installing packages from PyPi is pip. This tool is provided with all modern versions of Python.
Open your terminal and run the following command.
pip install --upgrade maggma
Basic Concepts
maggma's core classes -- Store and Builder -- provide building blocks for
modular data pipelines. Data resides in one or more Store and is processed by a
Builder. The results of the processing are saved in another Store, and so on:
flowchart LR
s1(Store 1) --Builder 1--> s2(Store 2) --Builder 2--> s3(Store 3)
s2 -- Builder 3-->s4(Store 4)
Store
A major challenge in building scalable data pipelines is dealing with all the different types of data sources out there. Maggma's Store class provides a consistent, unified interface for querying data from arbitrary data sources. It was originally built around MongoDB, so it's interface closely resembles syntax. However, Maggma makes it possible to use that same syntax to query other types of databases, such as Amazon S3, GridFS, or files on disk, . Stores implement methods to , , find values, fields, documents, and documents.