Skip to content

ron-damon/muttlib

This branch is 41 commits behind MuttData/muttlib:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0544520 ยท Apr 13, 2022
Oct 13, 2020
Mar 11, 2022
Feb 15, 2022
Apr 13, 2022
Apr 13, 2022
Apr 13, 2022
Jul 6, 2020
Apr 7, 2022
Apr 13, 2022
Apr 13, 2022
Mar 11, 2022
Mar 11, 2022
Mar 11, 2022
Feb 15, 2022
Apr 7, 2022
Apr 13, 2022
Nov 29, 2021
Apr 13, 2022

Repository files navigation

muttlib ๐Ÿถ๐Ÿ“š

pypi versionpipeline statuscoverage reportdocstring reportCode style: blackImports: isort

Description

Library with helper code to start a data-related project. By Mutt Data.

Current modules:

  • dbconn: Somewhat homogeneus lib to access multiple DBs.
  • file_processing: Helpers for concurrent file processing.
  • forecast: Provides FBProphet a common interface to Sklearn and general utilities for forecasting problems, allowing wider and easier grid search for hyperparameters.
  • utils: A single version of miscellaneous functions needed every now and then.
  • gsheetsconn: Module to make data interactions to/from Google Sheets <> Pandas.
  • gdrive: Module that provides a UNIX-ish interface to GDrive.

Table of Contents

Installing from PyPi

Note: since version 1.4.13, muttlib is packaged and developed using poetry.

Base lib:

poetry add muttlib

Check below for available extras.

Parquet and Feather support:

poetry add muttlib -E pyarrow

Forecast:

poetry add muttlib -E forecast

Misc DB support for dbconn:

poetry add muttlib -E oracle
poetry add muttlib -E hive
poetry add muttlib -E postgres
poetry add muttlib -E mysql
poetry add muttlib -E sqlserver
poetry add muttlib -E mongo
poetry add muttlib -E ibis

Note: the ibis extra requires installing binary packages. Check CONTRIBUTING.md for the full list.

Installing custom branches from the repos

From GitHub mirror:

poetry add -e git+https://github.com/MuttData/muttlib.git@AWESOME_FEATURE_BRANCH#egg=muttlib

From Gitlab main repo:

poetry add -e git+https://gitlab.com/mutt_data/muttlib.git@AWESOME_FEATURE_BRANCH#egg=muttlib

Usage

See the documentation to get started with muttlib.

Contributing

We appreciate for considering to help out maintaining this project. If you'd like to contribute please read our contributing guidelines.

License

muttlib is licensed under the Apache License 2.0.