datahelperΒΆ
Release v0.0.4-alpha
Table Of ContentsΒΆ
π©βπ« IntroductionΒΆ
datahelper is a utility package for handling Python collections like JavaScript lodash
Most functions are inspired by lodash library
Links
- Project: https://github.com/doondoony/datahelper
- Documentation: https://datahelper.readthedocs.io
- PyPi: https://pypi.python.org/pypi/datahelper
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