datahelperΒΆ

Release v0.0.4-alpha

https://img.shields.io/pypi/l/datahelper.svghttps://img.shields.io/pypi/wheel/datahelper.svghttps://img.shields.io/pypi/pyversions/datahelper.svghttps://img.shields.io/github/last-commit/DoonDoony/datahelper.svg


πŸ‘©β€πŸ« IntroductionΒΆ

datahelper is a utility package for handling Python collections like JavaScript lodash

Most functions are inspired by lodash library

Links

Each module can be imported individually or with a namespace datahelper.

# direct import
>>> from datahelper import pick

# OR with a namespace
>>> import datahelper

# Test Data
>>> data = {'a': 1, {'b': 'c': 2}}
>>> pick(data, 'b.c')
2
>>> datahelper.head([1,2,3])
1

See also

For more details, see API Reference.


πŸ—οΈ InstallationΒΆ

You can download it directly from PyPi, or install it via the pip install command


πŸ₯… ObjectiveΒΆ

The main goal of datahelper is to migrate most of the functions in lodash

datahelper is currently in alpha stage but has a plan to continue updating